Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: Srinivas Murthy <codevana@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Use mangle to DROP/ACCEPT
Date: Sat, 03 Nov 2007 00:13:23 +0100	[thread overview]
Message-ID: <472BAF13.4030702@rtij.nl> (raw)
In-Reply-To: <df1bdeb10711021154hf8db4baya3fa2861ef027e84@mail.gmail.com>

Srinivas Murthy wrote:
> Hi,
>  Is it ok to use the "mangle" table to insert rules that can
> DROP/ACCEPT pkts in the PREROUTE chain?
>
>  I cannot use "filter" since that is registered in the INPUT chain and
> I want these rules in the PREROUTE chain.
>   

There was a recent thread about this on the netfilter-devel list. Yes 
it's OK to drop in mangle, but not all matches work in mangle.

HTH,
M4


      parent reply	other threads:[~2007-11-02 23:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 18:54 Use mangle to DROP/ACCEPT Srinivas Murthy
2007-11-02 19:04 ` Matt Zagrabelny
2007-11-02 23:13 ` Martijn Lievaart [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=472BAF13.4030702@rtij.nl \
    --to=m@rtij.nl \
    --cc=codevana@gmail.com \
    --cc=netfilter@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