Mailinglist Archive: opensuse-security (685 mails)

< Previous Next >
Re: [suse-security] Drop of Broadcasts
>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

icmp broadcasts are named there 2

My 60 seconds

Michael Appeldorn







< Previous Next >
Follow Ups
References