Bug #12579
closedUtilize ``dnctl(8)`` to apply limiter changes without a filter reload
0%
Description
FreeBSD 12.3 introduced a new dnctl(8)
utility, which can be used to change limiter parameters without reloading filter
see https://www.freebsd.org/cgi/man.cgi?query=dnctl&sektion=8&format=html:
PIPE, QUEUE AND SCHEDULER CONFIGURATION The pipe, queue and scheduler configuration commands are the following: pipe number config pipe-configuration queue number config queue-configuration sched number config sched-configuration
Related issues
Updated by Viktor Gurov about 3 years ago
1) #12003 should be merged first
2) Converting ipfw -> dnctl is not that difficult, but dnctl(8)
needs the "-f" option to load limiter rules ("dnctl -f /tmp/rules.limiter")
Updated by Kristof Provost almost 3 years ago
With https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/57 (a cherry pick of an upstream main commit) dnctl can read commands from files just like ipfw. That is, if the argument starts with '/' it's treated as a file. So `dnctl /foo/bar/dnctl.conf` will load commands from /foo/bar/dnctl.conf.
Updated by Kristof Provost almost 3 years ago
- Status changed from New to Feedback
https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/57 has been merged.
Updated by Viktor Gurov almost 3 years ago
- Tracker changed from Feature to Bug
- Status changed from Feedback to New
- Assignee changed from Kristof Provost to Viktor Gurov
Updated by Jim Pingle over 2 years ago
- Blocks Regression #13026: Limiters do not work added
Updated by Jim Pingle over 2 years ago
- Blocks Bug #13027: Input validation requires a gateway for floating ``match out`` rules added
Updated by Viktor Gurov over 2 years ago
- Status changed from New to Feedback
- Target version set to 2.7.0
- Plus Target Version set to 22.05
- Affected Version set to All
Updated by Jim Pingle over 2 years ago
- Subject changed from Utilize dnctl(8) to apply changes without reloading filter to Utilize ``dnctl(8)`` to apply limiter changes without a filter reload
Updated by Marcos M over 2 years ago
- Status changed from Feedback to Resolved
No issues with this in testing.