<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Rules in first chain same hook ignored if second chain has policy drop"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1305#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Rules in first chain same hook ignored if second chain has policy drop"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1305">bug 1305</a>
from <span class="vcard"><a class="email" href="mailto:fmyhr@fhmtech.com" title="Frank Myhr <fmyhr@fhmtech.com>"> <span class="fn">Frank Myhr</span></a>
</span></b>
<pre>@ Alexander.S: Thanks for that ref, it's a good read. I'm still unsure of
order/relationship between output and routing. Funny you should mention marking
packets/DNAT in output chain, I've never gotten that to work (admittedly tried
only with older kernels / iptables).
About the proposed quick-accept verdict: on further reflection, such a change
would seem to require a change to the way netfilter (not just nftables) works.
As Pablo writes in the login article that Alexander.S linked, conntrack
registers callbacks to the same netfilter hooks that nftables and iptables do.
(Maybe there are additional facilities that register yet more callbacks to
these hooks?) Netfilter's general hook-and-callback system means that even if
from the point of view of your nft ruleset that *firewall* operations are
finished for a given netfilter hook, and you'd like to quick-accept, there
might be conntrack or other callbacks registered to that hook that still need
to be performed. So netfilter's flexibility in allowing multiple systems to use
its hooks may come at the price of disallowing such quick-accept...? It seems
what would be needed is a filter-only quick-accept, while still running any
non-filter callbacks at that hook. Which sounds like it might be more trouble
than it's worth, when the same can be achieved with jumps within a single
filter callback.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>