Project

General

Profile

Actions

Bug #12579

closed
VG VG

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

Bug #12579: Utilize ``dnctl(8)`` to apply limiter changes without a filter reload

Added by Viktor Gurov almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
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 2 (0 open2 closed)

Blocks Regression #13026: Limiters do not workResolvedMarcos M

Actions
Blocks Bug #13027: Input validation requires a gateway for floating ``match out`` rulesResolvedMarcos M

Actions

VG Updated by Viktor Gurov almost 5 years ago Actions #1

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")

VG Updated by Viktor Gurov over 4 years ago Actions #2

  • Assignee set to Kristof Provost

KP Updated by Kristof Provost over 4 years ago Actions #3

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.

KP Updated by Kristof Provost over 4 years ago Actions #4

  • Status changed from New to Feedback

VG Updated by Viktor Gurov over 4 years ago Actions #5

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

JP Updated by Jim Pingle over 4 years ago Actions #6

JP Updated by Jim Pingle over 4 years ago Actions #7

  • Blocks Bug #13027: Input validation requires a gateway for floating ``match out`` rules added

VG Updated by Viktor Gurov over 4 years ago Actions #8

  • 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

JP Updated by Jim Pingle over 4 years ago Actions #9

  • Subject changed from Utilize dnctl(8) to apply changes without reloading filter to Utilize ``dnctl(8)`` to apply limiter changes without a filter reload

MM Updated by Marcos M over 4 years ago Actions #10

  • Status changed from Feedback to Resolved

No issues with this in testing.

Actions

Also available in: Atom