[Bug 1756] New: Compare payload to non-constant value, e.g. ct mark

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Jun 28 00:13:04 CEST 2024


https://bugzilla.netfilter.org/show_bug.cgi?id=1756

            Bug ID: 1756
           Summary: Compare payload to non-constant value, e.g. ct mark
           Product: nftables
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: aksecurity at gmail.com

I'd like to filter e.g. "@ih,0,32 ct mark", but that results in a syntax error
(whereas "@ih,0,32 123" does not). 

Example:
# nft 'add rule inet foo bar udp sport 1234 @ih,0,32 ct mark'
Error: syntax error, unexpected ct
add rule inet foo bar udp sport 1234 @ih,0,32 ct mark

vs.:
# nft 'add rule inet foo bar udp sport 1234 @ih,0,32 123'
#

-- 
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/20240627/2a8d04bd/attachment.html>


More information about the netfilter-buglog mailing list