Skip to content

Tag Archives: firewall

Bookmarks for July 10, 2009

13-Jul-09

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.

Quickly Remove IP Addresses from spamdb

30-Dec-08

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

Reloading and Testing pf rulesets

30-Dec-08

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 [...]