Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: netfilter@lists.netfilter.org
Subject: Re: how to stop broadcasts using iptables
Date: Tue, 27 Apr 2004 09:56:51 -0500	[thread overview]
Message-ID: <408E74B3.6000906@pbl.ca> (raw)
In-Reply-To: <20040427131900.JCWU23570.viefep19-int.chello.at@localhost>

sschlesi@chello.at wrote:
> my policies are set to -P FORWARD ACCEPT because its just an simple ethernet router, w/o nat and stuff.
> so i thought iptables'll also forward broadcasts from one net to the other.

No.  Netfilter is not going to forward them all-by-itself.  The packet 
will end up in FORWARD chain only if the kernel decides it needs to 
route it from one interface to another.  So, if your kernel is not 
routing broadcast packets (it shouldn't by default), you will not see 
them in FORWARD chain.

-- 
Aleksandar Milivojevic <amilivojevic@pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


  reply	other threads:[~2004-04-27 14:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-27 13:19 how to stop broadcasts using iptables sschlesi
2004-04-27 14:56 ` Aleksandar Milivojevic [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-27 12:35 sschlesi
2004-04-27 12:50 ` David Cannings
2004-04-28  0:11   ` Alexander Samad
2004-04-27 14:46 ` Aleksandar Milivojevic
2004-04-27 15:40   ` Angel j Alvarez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=408E74B3.6000906@pbl.ca \
    --to=amilivojevic@pbl.ca \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox