<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 - syntax issue with tproxy"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1310">1310</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>syntax issue with tproxy
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>nft
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>arturo@debian.org
</td>
</tr></table>
<p>
<div>
<pre>Not sure if really a syntax issue or a documentation issue.
Original Debian bug: <a href="https://bugs.debian.org/916863">https://bugs.debian.org/916863</a>
<span class="quote">>>
>> # nft add rule inet filter divert 'ip6 daddr ::/0 meta l4proto tcp tproxy to :2000 meta mark set 1 accept'
>> Error: syntax error, unexpected to
>> add rule inet filter divert ip6 daddr ::/0 meta l4proto tcp tproxy to :2000 meta mark set 1 accept
>> ^^
>>
>> RedHats have the same problem: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1651813">https://bugzilla.redhat.com/show_bug.cgi?id=1651813</a>
>></span >
>
<span class="quote">> This may be a bug in the documentation.</span >
>
<span class="quote">> Try something like:</span >
>
<span class="quote">> * tproxy ip to 192.0.2.1
> * tproxy ip6 to [2001:db8::1]:50080</span >
It accepts an address, but then barfs at anything further, even EOL.
# nft add rule inet filter divert 'ip6 daddr ::/0 meta l4proto tcp tproxy ip6
[::1]'
Error: syntax error, unexpected newline
add rule inet filter divert ip6 daddr ::/0 meta l4proto tcp tproxy ip6 [::1]
^</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>