From: Andy Furniss <lists@andyfurniss.entadsl.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] IMQ action
Date: Tue, 29 Aug 2006 12:54:58 +0000 [thread overview]
Message-ID: <44F43922.7070201@andyfurniss.entadsl.com> (raw)
In-Reply-To: <44EFDF65.3030709@vsu.by>
Nikolay Nikolaev wrote:
> Hi.
> -j IMQ is equal -j ACCEPT...? i mean it after -j IMQ packet don't return
> in parent chain??? cause -j ACCEPT action accept the packet in the child
> chain and don't return it to parent...
> example:
>
> ipt="iptables -t mangle"
>
> $ipt -N HTTP
> $ipt -A HTTP -j IMQ // after this packet packets go to -t nat tables?
> or // it return to parent chain (PREROUTING) in mangle?
>
> $ipt -N OTHER
> $ipt -A OTHER -j IMQ
>
> $ipt -A PREROUTING [expression] -j HTTP
> $ipt -A PREROUTING -j OTHER
>
> all this I do for ingress traffic.
> thx.
I don't think -j IMQ is terminating as an iptables rule.
Whether it sees packets before / after (de)nat in prerouting depends on
the kernel config options and gets logged for 2.6s. For 2.4s there is a
patch to make it hook after nat.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-08-29 12:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-26 5:43 [LARTC] IMQ action Nikolay Nikolaev
2006-08-29 12:54 ` Andy Furniss [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=44F43922.7070201@andyfurniss.entadsl.com \
--to=lists@andyfurniss.entadsl.com \
--cc=lartc@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 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.