bugzilla-daemon at netfilter.org
2018-Apr-29 22:10 UTC
[Bug 1252] New: comment doesn't work with ranges in sets
https://bugzilla.netfilter.org/show_bug.cgi?id=1252
Bug ID: 1252
Summary: comment doesn't work with ranges in sets
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Gentoo
Status: NEW
Severity: normal
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
Reporter: sub at ryper.org
When creating a set and including a range of ports in it, the comment function
seems to disappear from the "nft list ruleset -nn" output.
Example configuration:
set test {
type inet_service
flags interval
elements = { 1111 comment "test1",
2222-3333 comment "test2",
4444 comment "test3",
5555-6666 comment "test4" }
}
And here is the output from "nft list ruleset -nn"
set test {
type inet_service
flags interval
elements = { 1111 comment "test1", 1234 comment "test3",
2222-3333,
5555-6666 }
}
Is this intentional or a bug? It would be nice to be able to add comments for
even the intervals if possible. If there is another way to accomplish this, I
would love to know how.
Kernel: 4.14.37
nftables: 0.8.3
Thank you.
--
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/20180429/25383a68/attachment.html>
bugzilla-daemon at netfilter.org
2020-Jan-28 22:55 UTC
[Bug 1252] comment doesn't work with ranges in sets
https://bugzilla.netfilter.org/show_bug.cgi?id=1252
kfm at plushkava.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kfm at plushkava.net
--
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/20200128/ba71f9c9/attachment.html>
bugzilla-daemon at netfilter.org
2020-Jul-22 15:44 UTC
[Bug 1252] comment doesn't work with ranges in sets
https://bugzilla.netfilter.org/show_bug.cgi?id=1252
Pablo Neira Ayuso <pablo at netfilter.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> ---
Fixed upstream.
commit 35fedcf540bfacbd1a46b593be1b8a3e96bd67e0
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date: Wed May 16 21:59:12 2018 +0200
segtree: missing comments in range and prefix expressions in sets
This bugfix is available since 0.9.0
--
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/20200722/c8181ad7/attachment-0001.html>
Reasonably Related Threads
- [Bug 1462] New: `nft -j list set` does not show counters
- [Bug 1134] New: snat and dnat should accept mapping concatenated values for address and port
- [Bug 1249] New: set update with timeout 0s removes timeout
- [Bug 1312] New: Interval should accept same start and end values as single value instead of throwing error
- [Bug 1368] New: The "meta's"