<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Consider eliding empty variables if expanded within an element list"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1456">bug 1456</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>NEW
</td>
<td>ASSIGNED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Consider eliding empty variables if expanded within an element list"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1456#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Consider eliding empty variables if expanded within an element list"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1456">bug 1456</a>
from <span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span></b>
<pre>(In reply to kfm from <a href="show_bug.cgi?id=1456#c0">comment #0</a>)
<span class="quote">> This concerns a minor usability issue that I noticed after evaluting some of
> the criticism in the GitHub issue referenced by <a class="bz_bug_link
bz_status_NEW "
title="NEW - Usability improvements, enabling creation of complex firewalls"
href="show_bug.cgi?id=1434">bug 1434</a>. In the GitHub
> issue, one critic complains that this sample ruleset does not work as
> expected:
>
> define BASE_ALLOWED_INCOMING_TCP_PORTS = {22, 80, 443}
> define EXTRA_ALLOWED_INCOMING_TCP_PORTS = {}
> table inet filter {
> chain input {
> type filter hook input priority 0; policy drop;
> tcp dport {$BASE_ALLOWED_INCOMING_TCP_PORTS,
> $EXTRA_ALLOWED_INCOMING_TCP_PORTS} ct state new counter accept
> }
> }</span >
I think I fixed this in git, please see:
commit 9297f5b5301b76bb24513b114f905e6fac0a90cd
Author: Pablo Neira Ayuso <<a href="mailto:pablo@netfilter.org">pablo@netfilter.org</a>>
Date: Fri Jul 3 13:24:59 2020 +0200
src: Allow for empty set variable definition
Next version will allow for this kind of empty definition.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>