All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Samir Bellabes <sbellabes@mandriva.com>
Cc: netfilter-devel@lists.netfilter.org,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [NETFILTER 2/8]: Add NetBIOS name service helper
Date: Wed, 07 Sep 2005 12:13:10 +0200	[thread overview]
Message-ID: <431EBD36.1040503@trash.net> (raw)
In-Reply-To: <m28xy98akl.fsf@cerbere.dyndns.info>

Samir Bellabes wrote:
> Patrick McHardy <kaber@trash.net> writes:
> 
>>Actually it was deliberate, I don't see a reason why the packet
>>should be dropped, its best effort.
> 
> All conntracks are dropping packets, in that way.
> netbios_ns should do the same, or other conntracks should be patched.

Dropping when NAT fails makes sense because the reply packet
must be handled and the state is required for this. Dropping
when setting up an expectation fails doesn't make any sense to
me, the reply could still make it because for example there
are no rules or it is accepted by the rulesset.

Connection tracking only does tracking, not filtering, and should
only drop packets if necessary for accurate tracking.

Look at the FTP helper for example. It also tracks passive mode
connections, which are in many cases allowed by the ruleset
anyway. By dropping the packet we break what might work otherwise.

So I think changing the other helpers to only drop when really
neccesary also makes sense.

      reply	other threads:[~2005-09-07 10:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 17:55 [NETFILTER 2/8]: Add NetBIOS name service helper Patrick McHardy
2005-09-06 18:10 ` Patrick McHardy
2005-09-07  2:50   ` Samir Bellabes
2005-09-07  2:56     ` David S. Miller
2005-09-07  3:01       ` Patrick McHardy
2005-09-07  3:02         ` David S. Miller
2005-09-07  9:57         ` Samir Bellabes
2005-09-07 10:13           ` Patrick McHardy [this message]

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=431EBD36.1040503@trash.net \
    --to=kaber@trash.net \
    --cc=davem@davemloft.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=sbellabes@mandriva.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.