bugzilla-daemon at netfilter.org
2020-Feb-27 06:01 UTC
[Bug 1409] New: nft manpage makes confusing reference to logical operators
https://bugzilla.netfilter.org/show_bug.cgi?id=1409 Bug ID: 1409 Summary: nft manpage makes confusing reference to logical operators Product: nftables Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: nft Assignee: pablo at netfilter.org Reporter: cheetah-netfilter at fastcat.org The nft manpage / docs say:> Expressions can be combined using binary, logical, relational and other types of > expressions to form complex or relational (match) expressionshttp://git.netfilter.org/nftables/tree/doc/nft.txt#n680 However it's not clear if logical combinations are actually possible? https://bugzilla.netfilter.org/show_bug.cgi?id=1202#c1 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. -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200227/404c73a6/attachment.html>
bugzilla-daemon at netfilter.org
2020-Apr-15 21:25 UTC
[Bug 1409] nft manpage makes confusing reference to logical operators
https://bugzilla.netfilter.org/show_bug.cgi?id=1409 Pablo Neira Ayuso <pablo at netfilter.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> --- (In reply to Matthew "Cheetah" Gabeler-Lee from comment #0)> The nft manpage / docs say: > > > Expressions can be combined using binary, logical, relational and other types of > > expressions to form complex or relational (match) expressions > > http://git.netfilter.org/nftables/tree/doc/nft.txt#n680 > > However it's not clear if logical combinations are actually possible? > https://bugzilla.netfilter.org/show_bug.cgi?id=1202#c1 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.Please, post examples of what you would like to see in place. -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200415/824ab6b5/attachment-0001.html>
bugzilla-daemon at netfilter.org
2020-Apr-16 04:20 UTC
[Bug 1409] nft manpage makes confusing reference to logical operators
https://bugzilla.netfilter.org/show_bug.cgi?id=1409 --- Comment #2 from Matthew "Cheetah" Gabeler-Lee <cheetah-netfilter at fastcat.org> --- I think it should just say "binary and relational operators"? There aren't any logical operators supported as far as I can tell, unless you count the implicit "and" that happens when chaining expressions one after the other in a rule. Perhaps to be more precise in that case, something along the lines of: Expressions can be combined using binary, relational, and other numeric operators, and combined in a logical "and" by placing multiple expressions in sequence within a rule. I'm not sure that's ideal wording, but I think it's closer. -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200416/6e91956f/attachment.html>
Possibly Parallel Threads
- Problems with usbhid-ups and CyberPower CP1500 on 2.6.0
- DDoS attacks, what can be done?
- How winbindd is working on DC/member? It ignores rfc2703 on DC, and not showing all users on member server... Where is a error?
- building cobbler on centos
- CentOS 6 and an SAS drive, hardware