<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:phil@nwl.cc" title="Phil Sutter <phil@nwl.cc>"> <span class="fn">Phil Sutter</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Add element fails with Error: Could not process rule: Invalid argument"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1395">bug 1395</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;">Status</td>
<td>ASSIGNED
</td>
<td>NEW
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add element fails with Error: Could not process rule: Invalid argument"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1395#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Add element fails with Error: Could not process rule: Invalid argument"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1395">bug 1395</a>
from <span class="vcard"><a class="email" href="mailto:phil@nwl.cc" title="Phil Sutter <phil@nwl.cc>"> <span class="fn">Phil Sutter</span></a>
</span></b>
<pre>(In reply to Serguei Bezverkhi from <a href="show_bug.cgi?id=1395#c4">comment #4</a>)
<span class="quote">> I do not know what to say, the same set of commands does not work on my
> side. I tried on both 5.3.0 and 5.4.10 kernels.
> I get the same error from the netlink when I use API to talk directly to
> netlink.
>
> Any debug I could enable to see why it fails in my case?</span >
It also works for me on Gentoo's 5.4.3 kernel. Maybe compare netlink debug
output:
# nft --debug=netlink add element ipv4table no-endpoints-services '{ tcp .
192.168.80.104 . 8989 : goto do_reject }'
no-endpoints-services ipv4table 0
element 00000006 6850a8c0 00001d23 : 0 [end]
Did you try using a number instead of 'tcp'? Does it work with a more simple
key instead of the three concatenated types?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>