iptables
I made a script based on http://pgl.yoyo.org/adservers/index.php for slackware 11.0. The problem is every line it seems like the address I want to block is connect to.
Take this line for example (INTERFACE="ethX") Code:
$IPTABLES -A OUTPUT -o INTERFACE -d 24pm-affiliation.com -j DROP Code:
iptables v1.3.5: host/network `24pm-affiliation.com' not found I have over 1000+ lines that look like the above which makes loading the rules and viewing the rules (iptables -L) extremely slow. |
iptables is looking for an IP address or network, not a hostname. I would recommend filtering at the DNS level or perhaps using Squid.
|
All times are GMT -5. The time now is 09:16 PM. |