<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span> changed
<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>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>fw@strlen.de
</td>
</tr></table>
<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#c1">Comment # 1</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:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span></b>
<pre>(In reply to keithwilliamsnp from <a href="show_bug.cgi?id=1305#c0">comment #0</a>)
<span class="quote">> Debian Stretch, nft version 0.9.0-1 kernel 4.9.0-8-amd64
>
> Am finding behaviour in added chains a bit different to that expected from
> reading all the documentation.
>
> I have chain
>
> input {type filter hook input priority 0; policy drop;}
>
> This carried most of the firewall rules. I then added another
> chain
>
> testpr {type filter hook input priority -1;}
>
> I cut and pasted the rule to accept ftp from the input chain (where it had
> been working) into the testpr chain.
> ftp was blocked. The packets should have traversed testpr first, been
> accepted before, if necessary entering input chain. This was obviously not
> happening.</span >
Yes, this is the same as e.g. accepting in iptables mangle table input chain --
the packet will continue to filter table input.
I'll leave this open for now, any suggestion on where to place this in the
documentation?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>