* [LARTC] IMQ action
@ 2006-08-26 5:43 Nikolay Nikolaev
2006-08-29 12:54 ` Andy Furniss
0 siblings, 1 reply; 2+ messages in thread
From: Nikolay Nikolaev @ 2006-08-26 5:43 UTC (permalink / raw)
To: lartc
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.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] IMQ action
2006-08-26 5:43 [LARTC] IMQ action Nikolay Nikolaev
@ 2006-08-29 12:54 ` Andy Furniss
0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2006-08-29 12:54 UTC (permalink / raw)
To: lartc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-29 12:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-26 5:43 [LARTC] IMQ action Nikolay Nikolaev
2006-08-29 12:54 ` Andy Furniss
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.