Mailinglist Archive: opensuse-security (685 mails)

< Previous Next >
Re: [suse-security] Drop of Broadcasts
  • From: Harald Nikolisin <harald.nikolisin@xxxxxxxxxxx>
  • Date: Fri, 22 Feb 2002 12:09:02 +0100
  • Message-id: <20020222110649.3D71AE641B@xxxxxxxxxxxx>
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

< Previous Next >
Follow Ups
References