[Bug 928] ECN: --ecn-tcp-ece and --ecn-ip-ect is not supported
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Fri May 13 21:37:11 CEST 2016
https://bugzilla.netfilter.org/show_bug.cgi?id=928
Pablo Neira Ayuso <pablo at netfilter.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> ---
We can match these via 'tcp flags'.
# nft --debug=netlink add rule x y tcp flags ecn,cwr
ip x y
[ payload load 1b @ network header + 9 => reg 1 ]
[ cmp eq reg 1 0x00000006 ]
[ payload load 1b @ transport header + 13 => reg 1 ]
[ bitwise reg 1 = (reg=1 & 0x000000c0 ) ^ 0x00000000 ]
[ cmp neq reg 1 0x00000000 ]
Closing.
--
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/20160513/b7ec66ab/attachment-0001.html>
More information about the netfilter-buglog
mailing list