Brian J. Murrell wrote:

For most home, or other small use situations, isn't it easier to just
specify priorities of traffic, i.e.

Type                            Priority
VOIP                            1
Interactive (i.e. ssh)          2
All other                       3

Sure. But Shorewall was never targeted at that market. It's predecessor Seawall was targeted at SOHO users and I originally developed Shorewall to provide a product that took over where Seawall left off.

The simple commodity firewall routers typically use a scheme like you advocate. But then I've never understood why a home user would choose Shorewall over one of those little devices anyway. If I didn't develop and maintain Shorewall, I wouldn't run it here at home (and my office would be a lot less crowded).


I used to do this all with the FIFO classifiers rather than using the
more complicated HTB (and friends) classifiers.

Then I urge you to develop such a traffic shaper as an alternative to the one built into Shorewall. If it turns out to be wildly popular, we can integrate it into Shorewall just like we did with Arne Bernin's 'tc4shorewall' which is the current Shorewall builtin TC.


So now on to the question(s):

Could the same be achieved in tcclasses (to steal the wondershaper
example from the traffic_shaping.htm page) with:

#INTERFACE      MARK    RATE       CEIL   PRIORITY    OPTIONS
ppp0            1       full       full       1       tcp-ack,tos-minimize-delay
ppp0            2       full       full       2       default
ppp0            3       full       full       2

Not really. HTB works badly when the sum of the RATEs exceeds the OUT-BANDWIDTH.

Something more like this should work though:

#INTERFACE  MARK  RATE        CEIL   PRIORITY    OPTIONS
ppp0        1     full*98/100 full       1       tcp-ack,tos-minimize-delay
ppp0        2     full/100    full       2       default
ppp0        3     full/100    full       2

-Tom
--
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to