22 Feb
2002
22 Feb
'02
11:09
Am Donnerstag, 7. Februar 2002 14:36 schrieben Sie:
Hi,
Very simple question: How does a rule have to look, when I like to drop Broadcasts? I can't find any documentation about this.
If you will ask google.com : drop broadcast iptables
the third answer is
http://www.linuxguruz.org/iptables/scripts/rc.firewall_010.txt
and there stands
BROADCAST="x.x.x.255" (where the x.x.x is to fill up with your network or with 0) iptables -A INPUT -i $IFACE -d $BROADCAST -j DROP
I think you should write iptables -A OUTPUT -o $IFACE -d $BROADCAST -j DROP
icmp broadcasts are named there 2
My 60 seconds
Michael Appeldorn