Links for July 10, 2009:
Charles Curley – Software Engineer, Writer – NFS and Firewalls on Fedora Core – Notes on securing an NFS server behind an iptables firewall. Written for Fedora, likely applies to Red Hat Enterprise Linux and its clones.
Links for July 10, 2009:
Charles Curley – Software Engineer, Writer – NFS and Firewalls on Fedora Core – Notes on securing an NFS server behind an iptables firewall. Written for Fedora, likely applies to Red Hat Enterprise Linux and its clones.
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 test the ruleset by [...]