Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2014 19:06:05 -0700
From:      Brett Glass <brett@lariat.net>
To:        John Nielsen <lists@jnielsen.net>
Cc:        Luigi Rizzo <rizzo@iet.unipi.it>, "freebsd-net@freebsd.org" <net@freebsd.org>
Subject:   Re: Can DUMMYNET handle weighting of traffic according to firewall rules?
Message-ID:  <201412130208.TAA10313@mail.lariat.net>
In-Reply-To: <E1DD5C68-B4ED-4D10-B1D5-E0EED17D8C8B@jnielsen.net>
References:  <201412120711.AAA00622@mail.lariat.net> <CA%2BhQ2%2Bg40aZO%2B6JJsvDU8GG_UGp=rO1tQQoaETRe%2BBc-iyBNKA@mail.gmail.com> <201412121523.IAA03923@mail.lariat.net> <E1DD5C68-B4ED-4D10-B1D5-E0EED17D8C8B@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412130208.TAA10313>