DUMMYNET(4)
π dummynet(4) β traffic-shaping bestie π
πΈ NAME πΈ
dummynetβ traffic shaper, bandwidth manager and delay emulator β¨
β¨ DESCRIPTION β¨
Okay so bestie, the dummynet system facility is literally how you control traffic going through the various network interfaces. It applies bandwidth and queue size limitations, implements different scheduling and queue management policies, and emulates delays and losses. It's giving network traffic makeover, no cap. π
The user interface for dummynet is implemented by the dnctl(8) utility, so please refer to the dnctl(8) manpage for a complete description of the dummynet capabilities and how to use it. iykyk π«Ά
π§΅ Kernel Options π§΅
These kernel configuration file options are the ones related to dummynet operation:
IPFIREWALLβ turns onipfirewall(needed ifdummynetis to be used withipfw)IPFIREWALL_VERBOSEβ turns on firewall outputIPFIREWALL_VERBOSE_LIMITβ limits firewall outputDUMMYNETβ enablesdummynetoperationHZβ sets the timer granularity
Generally, the following options are required:
options IPFIREWALL
options DUMMYNET
options HZ=1000 # strongly recommended
Additionally, one may want to increase the number of mbuf clusters (used to store network packets) according to the sum of the bandwidth-delay products and queue sizes of all configured pipes. π
π SEE ALSO π
π¦ HISTORY π¦
The dummynet facility was initially implemented as a testing tool for TCP congestion control by Luigi Rizzo <luigi@iet.unipi.it>, as described on ACM Computer Communication Review, Jan.97 issue. Later it has been modified to work at the IP and bridging levels, integrated with the ipfw(4) packet filter, and extended to support multiple queueing and scheduling policies. π
That's the whole DUMMYNET(4) manual page, bestie β from Debian, dated September 10, 2021. Slay! π
β¨π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms