Networking Forums

Networking Forums > Computer Networking > Linux Networking > block broadcast packets from routing

Reply
Thread Tools Display Modes

block broadcast packets from routing

 
 
Dave Lister
Guest
Posts: n/a

 
      09-16-2003, 04:41 PM
How do I configure the static route table to block all broadcast packets
from routing between the internal and external subnets?

Currently the route table only contains the two subnets.


 
Reply With Quote
 
 
 
 
Horst Knobloch
Guest
Posts: n/a

 
      09-16-2003, 08:01 PM
Dave Lister <(E-Mail Removed)> wrote:

> How do I configure the static route table to block all broadcast packets
> from routing between the internal and external subnets?
>
> Currently the route table only contains the two subnets.


Which kind of broadcast do you want to block? The limited
local broadcast 255.255.255.255 is blocked by the router
anyway. Whether 135.244.127.255 is a broadcast address
can't be determined easily and therefore it is hard to
determine whether to block or not.

If you know all external networks you can block each broadcast
address via iptables. Something like

iptables -A FORWARD -d 135.244.0.255 -j DROP

With this you block subnet directed broadcasts to the network
135.244.0.0/24. Of course this does not work if you mean with
"external subnets" the Internet. :-)

If you only want to block incoming broadcasts to your internal
net you should also use a similar iptables rule like above.

HTH

Ciao, Horst
--
»When pings go wrong (It hurts me too)« E.Clapton/E.James/P.Tscharn
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why sending packets to broadcast IP? news@celticbear.com Linux Networking 2 06-26-2008 04:18 PM
Do NAT-routers block UDP packets? Router Man Network Routers 10 09-04-2007 08:41 PM
Broadcast packets in C killua Linux Networking 4 06-06-2007 08:58 PM
How to block fragmented UDP packets tomek@e-fekt.net Linux Networking 1 01-24-2007 11:18 AM
block outgoing packets with iptables Peter Lowrie Linux Networking 2 05-05-2006 03:31 AM



1 2 3 4 5 6 7 8 9 10 11