View Single Post
  #2   (View Single Post)  
Old 23rd May 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Indonesia
Posts: 2,236
Default

What ho! Welcome!

If all your users are online at the same time pf "should" allocate 30*256Kb for all those clients, if you internet connection is 2Mb then this obviously doesn't make a lot of sense. What should pf do in this case? Or in any case where there are too many clients online using more bandwidth than your internet connection?

Perhaps the borrow and/or upperlimit keywords are of use? Take a look at pf.conf(5) Note that upperlimit is for the hfsc scheduler, not cbq.

I am not sure about your second question, but you can use # pfctl -s rules to see the expanded rules loaded by pf.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote