<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 - Allow for multiple protocols to be specified in a rule"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1057">1057</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Allow for multiple protocols to be specified in a rule
</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>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>karol@babioch.de
</td>
</tr></table>
<p>
<div>
<pre>Since DNS is allowed over both UDP as well as TCP, I have to specify two rules
each time I want to allow DNS traffic. This looks something like this:
oif eth0 udp dport domain accept
oif eth0 tcp dport domain accept
In an example found online [1] someone showed the following example:
{udp, tcp} sport domain ip daddr 127.0.0.1 accept
Apparently this was never tested. At least it doesn't work for me. For the
example above it would look something like this:
oif eth0 {udp, tcp} dport domain accept
This would make rulesets easier to read, which is why I want to suggest this as
future enhancement.
[1]: <a href="https://home.regit.org/2014/01/why-you-will-love-nftables/">https://home.regit.org/2014/01/why-you-will-love-nftables/</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>