All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven M Campbell <Netfilter@SCampbell.net>
To: clist@uah.es
Cc: netfilter@lists.netfilter.org
Subject: Re: avoid conntrack
Date: Fri, 03 Mar 2006 09:48:44 -0500	[thread overview]
Message-ID: <4408574C.4070003@SCampbell.net> (raw)
In-Reply-To: <200602201430.35996.clist@uah.es>

Clist wrote:
> Hi list,
>
> It is needed to do '-j NOTRACK'  in order to avoid conntracking for some 
> packets, or i can simply DROP packets on the raw table so they do not reach 
> other netfilter tables and so it is not conntracking for those packets..?
>
>
> Now and simply do
> *raw 
> -A PREROUTING <some criteria> -j DROP
>
> do i need to do
> -A PREROUTING <some criteria> -j NOTRACK
> -A PREROUTING <some criteria> -j DROP
>
> Thanks...
>   
conntrack only keeps track of  connections, it does absolutely nothing 
to your firewall rules,  it's up to you to decide what to do with the 
connection states in your rules.   At some point you have a rule that is 
similar to  --state established,related  -j ACCEPT, that's where you are 
allowing packets through because they are in conntrack, if you want to 
eliminate some packets regardless of state then just do so before you 
hit the rule.



      parent reply	other threads:[~2006-03-03 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 13:30 avoid conntrack Clist
2006-02-23  0:21 ` Philip Craig
2006-03-03 14:48 ` Steven M Campbell [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=4408574C.4070003@SCampbell.net \
    --to=netfilter@scampbell.net \
    --cc=clist@uah.es \
    --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 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.