<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - iptables-nft raw notrack rules are wrong"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1422#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - iptables-nft raw notrack rules are wrong"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1422">bug 1422</a>
from <span class="vcard"><a class="email" href="mailto:champetier.etienne@gmail.com" title="Etienne Champetier <champetier.etienne@gmail.com>"> <span class="fn">Etienne Champetier</span></a>
</span></b>
<pre>Still not working for me :(
# nft flush table ip raw
# nft -s list ruleset
table ip raw {
chain PREROUTING {
type filter hook prerouting priority raw; policy accept;
}
chain OUTPUT {
type filter hook output priority raw; policy accept;
}
}
# ./iptables/xtables-nft-multi iptables-nft -t raw -I OUTPUT -p udp -d
169.254.25.10 --dport 53 -j NOTRACK
# nft -s list ruleset
table ip raw {
chain PREROUTING {
type filter hook prerouting priority raw; policy accept;
}
chain OUTPUT {
type filter hook output priority raw; policy accept;
meta l4proto udp ip daddr 169.254.25.10 udp dport 53 counter # NOTRACK
}
}
# nft flush table ip raw
# ./iptables/xtables-nft-multi iptables-nft -t raw -I OUTPUT -p udp -d
169.254.25.10 --dport 53 -j CT --notrack
# nft -s list ruleset
table ip raw {
chain PREROUTING {
type filter hook prerouting priority raw; policy accept;
}
chain OUTPUT {
type filter hook output priority raw; policy accept;
meta l4proto udp ip daddr 169.254.25.10 udp dport 53 counter # CT
notrack
}
}
# nft --version
nftables v0.9.4 (Jive at Five)
# ./iptables/xtables-nft-multi iptables-nft --version
iptables v1.8.4 (nf_tables)
# git log --oneline
8d8d2647 (HEAD -> master) extensions: libxt_CT: add translation for NOTRACK
74ef6f1c (origin/master, origin/HEAD) iptables: open eBPF programs in read only
mode</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>