Two pf questions
Ralf Mardorf
ralf.mardorf at rocketmail.com
Mon Mar 27 15:09:50 UTC 2017
On Mon, 27 Mar 2017 10:37:49 -0400, David Mehler wrote:
>pfctl -t bruteforce -T show >> /etc/pf/bruteforce
>
>the problem is that I'm getting duplic addresses. The table has
>fifteen addresses in memory but 75 in the table there's no unique
>sorting, any ideas on how? I only want unique IP's in the on disk
>table to avoid redundant addresses
cp /etc/pf/bruteforce /tmp/foobar.txt
pfctl -t bruteforce -T show >> /tmp/foobar.txt
sort -u /tmp/foobar.txt > /etc/pf/bruteforce
More information about the freebsd-questions
mailing list