Can DUMMYNET handle weighting of traffic according to firewall rules?

Brett Glass brett at lariat.net
Sat Dec 13 02:09:17 UTC 2014


At 10:35 AM 12/12/2014, John Nielsen wrote:

>Is there a reason you can't use a separate pipe for each direction?

We want to limit the total amount of bandwidth consumed, based on 
the formula 2U + D <= L. If we used two pipes, there would be no 
way to keep track of the sum.

What I need (and am not sure if DUMMYNET can currently supply) is a 
pipe that allows you to feed it a packet and say, "Count this X 
times toward the bandwidth limit." (In our case, X could be an 
integer, but in some cases it MIGHT be helpful to allow it to be a 
fixed point or real number.) If X was not specified, it'd be 
assumed to be unity -- both for backward compatibility and in 
keeping with POLA.

--Brett Glass




More information about the freebsd-net mailing list