netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nir Tzachar <nir.tzachar@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: Re: Fix ipt_REJECT problem with nf_bridge
Date: Thu, 12 Mar 2009 14:17:36 +0200	[thread overview]
Message-ID: <9b2db90b0903120517q665d20evc3795989b2f05c7b@mail.gmail.com> (raw)
In-Reply-To: <9b2db90b0903120516n1f9e67ck8994c9b92bb6aa0a@mail.gmail.com>

> So what about the OP's observation that nskb->nf_bridge == NULL?>
> Just because the incoming packet came in over a bridge does
> not mean the RST is going over one too, and that being the
> deciding factor for RTN_LOCAL or not, is it?

Well, in my case the RST goes over the bridge also. But the main
factor is the following comment made by Philip:
>
> >We can't specify addr_type != RTN_LOCAL for the pure bridging case,
> >because that tries to route the RST as though we received it
> >from the network, which will fail if ip forwarding is disabled.
> >
>

In my settings, I have a transparent bridge which does not allow ip
forwarding. According to the comment above, this would prevent the RST
from being sent.

In any way, I will happily test any suggestions/patches after the weekend.
Cheers.

  parent reply	other threads:[~2009-03-12 12:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26  8:48 [PATCH]: Fix ipt_REJECT problem with nf_bridge Nir Tzachar
2009-03-10  5:29 ` Nir Tzachar
2009-03-10  5:43   ` Philip Craig
2009-03-11  9:29     ` Nir Tzachar
2009-03-11 11:44       ` Nir Tzachar
2009-03-12  1:04         ` Philip Craig
2009-03-12  3:25           ` Jan Engelhardt
2009-03-12  6:04             ` Philip Craig
2009-03-12 10:35               ` Jan Engelhardt
     [not found]                 ` <9b2db90b0903120516n1f9e67ck8994c9b92bb6aa0a@mail.gmail.com>
2009-03-12 12:17                   ` Nir Tzachar [this message]
2009-03-13  0:50                 ` Philip Craig
2009-03-16 15:11             ` Patrick McHardy

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=9b2db90b0903120517q665d20evc3795989b2f05c7b@mail.gmail.com \
    --to=nir.tzachar@gmail.com \
    --cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).