Tuesday, May 20, 2008

String Match using IPTables

To block the yahoo, simply add the following iptable rule.

iptables -A INPUT -j DROP -m string --string 'yahoo' --algo bm

No comments: