<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:mirq-boogs@rere.qmqm.pl" title="Michał Mirosław <mirq-boogs@rere.qmqm.pl>"> <span class="fn">Michał Mirosław</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - syntax issue with tproxy"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1310">bug 1310</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>mirq-boogs@rere.qmqm.pl
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - syntax issue with tproxy"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1310#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - syntax issue with tproxy"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1310">bug 1310</a>
from <span class="vcard"><a class="email" href="mailto:mirq-boogs@rere.qmqm.pl" title="Michał Mirosław <mirq-boogs@rere.qmqm.pl>"> <span class="fn">Michał Mirosław</span></a>
</span></b>
<pre>Debian's version is v0.9.0 and doesn't support tproxy yet.
I tried current git master, but there seem to be some bugs left:
# /usr/local/sbin/nft list ruleset
table inet filter {
chain divert {
type filter hook prerouting priority mangle; policy accept;
}
}
# /usr/local/sbin/nft add rule inet filter divert ip daddr 0.0.0.0/0 meta
l4proto tcp tproxy to :2000
Error: Conflicting network layer protocols.
add rule inet filter divert ip daddr 0.0.0.0/0 meta l4proto tcp tproxy to :2000
^^^^^^^^^^^^^^^
# /usr/local/sbin/nft add rule inet filter divert ip daddr 0.0.0.0/0 meta
l4proto tcp tproxy ip to :2000
Error: syntax error, unexpected colon
add rule inet filter divert ip daddr 0.0.0.0/0 meta l4proto tcp tproxy ip to
:2000
^
Adding rule without 'ip daddr 0.0.0.0/0' works with 'tproxy to :2000', but
fails the parse as above with 'tproxy ip to :2000'.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>