<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 - nft does not handle IPv6 addresses with embedded IPv4 addresses"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1730">1730</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>nft does not handle IPv6 addresses with embedded IPv4 addresses
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>1.0.x
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>nft
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>antonio.ojea.garcia@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Originally reported by Lars Ekman in Kubernetes
<a href="https://github.com/kubernetes/kubernetes/issues/122611">https://github.com/kubernetes/kubernetes/issues/122611</a> , all credit to him
The rfc5952 seems to accept "embedded ipv4" addresses, and iptables accept
them, however, nft does not
This works
ip6tables -A INPUT -s fd00::10.0.0.1/128 -j DROP
This does not
nft -v
nftables v1.0.9 (Old Doc Yak #3)
nft add table ip6 test6
nft 'add chain ip6 test6 test6 { type filter hook prerouting priority 0; }'
nft insert rule ip6 test6 test6 ip6 saddr fd00::10.0.0.1 log
Error: syntax error, unexpected log
insert rule ip6 test6 test6 ip6 saddr fd00::10.0.0.1 log
Comment in
<a href="https://github.com/kubernetes/kubernetes/issues/122611#issuecomment-1879569171">https://github.com/kubernetes/kubernetes/issues/122611#issuecomment-1879569171</a>
seems to indicate the problem is in the flex/bison parsers</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>