[olug] AntiSpoof script Quest.

Charles Bird thebirdman at operamail.com
Wed Feb 22 05:24:22 UTC 2006


I saw this script on net for anti spoofing with local addresses.
###########################################
#!/bin/sh
SERVER_IP=”202.54.10.20”
# Add your IP range/IPs here,
SPOOF_IPS=”0.0.0.0/8 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 224.0.0.0/3”
iptables -A INPUT -s $SERVER_IP -j DROP
for ip in $SPOOF_IPS
do
iptables -A INPUT -s -j DROP
done
###########################################

OK, where it says <SERVER_IP="xxx.xx.xx.xx"> 
I am concerned because this is on cox home(dhcp) connection. How do I define dhcp? 
Thanks in advance

-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze



More information about the OLUG mailing list