<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 - nft manpage makes confusing reference to logical operators"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1409">1409</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>nft manpage makes confusing reference to logical operators
          </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>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>cheetah-netfilter@fastcat.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The nft manpage / docs say:

<span class="quote">> Expressions can be combined using binary, logical, relational and other types of
> expressions to form complex or relational (match) expressions</span >

<a href="http://git.netfilter.org/nftables/tree/doc/nft.txt#n680">http://git.netfilter.org/nftables/tree/doc/nft.txt#n680</a>

However it's not clear if logical combinations are actually possible? 
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cannot match on both dport and sport in one nftables rule"
   href="show_bug.cgi?id=1202#c1">https://bugzilla.netfilter.org/show_bug.cgi?id=1202#c1</a> explicitly states that
disjunctions are definitely not supported, so logical OR, and XOR are right
out, and given that I'd say NAND almost certainly is too.  The only combining
operator for matches is AND.

Also, rummaging through the grammar file seems to confirm that there are only
_bitwise_ operators.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>