Filter out broadcast messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to filter out all broadcast messages. The packets could come from 255.255.255.255 or multiple other addresses of the form 10.*.*.255. What kind of syntax do I use to DROP these packets? The line below will filter out packets from 255.255.255.255 but I'm not sure what syntax to use to DROP the other adresses.

iptables -A INPUT -d 255.255.255.255 -p udp -j DROP

Regards,
GJ

_________________________________________________________________
Worried about inbox overload? Get MSN Extra Storage now! http://join.msn.com/?PAGE=features/es




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux