To remove all whitelisted entries in – for example - 69.6.0.0/16 run: # spamdb | grep WHITE | egrep ‘\|69\.6\.’ | \ cut -f 2 -d ‘|’ | xargs -L 1 spamdb -d
-
« Home
-
RSS Feeds
To remove all whitelisted entries in – for example - 69.6.0.0/16 run: # spamdb | grep WHITE | egrep ‘\|69\.6\.’ | \ cut -f 2 -d ‘|’ | xargs -L 1 spamdb -d
To test the ruleset in /etc/pf.conf, do the following: sudo pfctl -n -f /etc/pf.conf sudo pfctl -n -v -f /etc/pf.conf The second pfctl command displays the rules you’ve created; however, it can be easy to miss a syntax error warning in the verbosity – the first command will make it easy to spot those. You can [...]
EnderUNIX has a large glossary of user-contributed sysctl definitions.
Use tcpdump and the pflog0 device to view packets in real time: # tcpdump -n -e -ttt -i pflog0 To examine the log file, do the following instead: # tcpdump -n -e -ttt -r /var/log/pflog See PF: Logging for more information.