Project

General

Profile

Actions

Bug #12579

open

Utilize ``dnctl(8)`` to apply limiter changes without a filter reload

Added by Viktor Gurov 5 months ago. Updated 12 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Traffic Shaper (Limiters)
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
All
Affected Architecture:

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

Blocks Regression #13026: Limiters do not workFeedbackMarcos Mendoza

Actions
Blocks Bug #13027: Input validation prevents adding a floating match rule with limiters and no gatewayPull Request Review

Actions
Actions #1

Updated by Viktor Gurov 5 months 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")

Actions #2

Updated by Viktor Gurov 3 months ago

  • Assignee set to Kristof Provost
Actions #3

Updated by Kristof Provost 3 months 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.

Actions #4

Updated by Kristof Provost 3 months ago

  • Status changed from New to Feedback
Actions #5

Updated by Viktor Gurov 3 months ago

  • Tracker changed from Feature to Bug
  • Status changed from Feedback to New
  • Assignee changed from Kristof Provost to Viktor Gurov
Actions #6

Updated by Jim Pingle about 2 months ago

Actions #7

Updated by Jim Pingle about 2 months ago

  • Blocks Bug #13027: Input validation prevents adding a floating match rule with limiters and no gateway added
Actions #8

Updated by Viktor Gurov 16 days 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
Actions #9

Updated by Jim Pingle 12 days 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
Actions

Also available in: Atom PDF