I have a OpenBSD server acting as a router/firewall with yhr packet filter ruleset shown below, a linux server, and a linux client.
When transferring files (using netcat) by TCP, the
limits are applied (for example the 100mbit limit in the example), though when transferring data by UDP, the
limits aren't applied; the file always takes
…