<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - iptables-translate silently discards --ctstate DNAT"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1423">1423</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>iptables-translate silently discards --ctstate DNAT
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>Debian GNU/Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>iptables over nftable
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>oldium.pro@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Bug originally reported in the Debian tracker:
<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932899">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932899</a>
I am also affected by the bug. I found the Debian bug, but it looks like that
it was ignored, so I am forwarding it here.
Original message follows:
This appears to be wrong -- the DNAT is "eaten":
root@not-omega:~# iptables-translate -t filter -A INPUT -m conntrack
--ctstate DNAT -j ACCEPT
nft add rule ip filter INPUT ct state counter accept
root@not-omega:~# iptables-translate -t filter -A INPUT -m conntrack
--ctstate ESTABLISHED,RELATED,DNAT -j ACCEPT
nft add rule ip filter INPUT ct state related,established counter accept
I think the output should be
root@not-omega:~# iptables-translate -t filter -A INPUT -m conntrack
--ctstate DNAT -j ACCEPT
nft add rule ip filter INPUT ct status dnat counter accept
root@not-omega:~# iptables-translate -t filter -A INPUT -m conntrack
--ctstate ESTABLISHED,RELATED,DNAT -j ACCEPT
nft add rule ip filter INPUT ct state related,established counter accept
nft add rule ip filter INPUT ct status dnat counter accept
I am new to nftables, so I may have missed something obvious.
If so, sorry to bother you!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>