mRrElOaD
January 18th, 2004, 03:20
I want my ftp site ( server behind FreeBSD5.1 firewall) to have a lower bandwidth priority than everything else. In other words I want it to be able to get all bandwidth available when other connections are idle but only use the leftovers when other connections are active.
Does anyone know if this is possible with dummynet? If it is can you provide sample?
I very much appreciate any assistance you can provide.

elmore
January 18th, 2004, 04:05
You wanna look at altq with the cbq scheduler. This will allow you to set up a root queue with child queue's underneath.

In addition you'll wnt to reprioritize your empty ack out's so they don't get dropped by the way side. That'll alow you to do other things while maintaining a constant ftp stream. (particularly on an async type line. i.e. cable, dsl)

There's a few pf rulesets around with altq examples in them. I know I have one posted in this forum. There are others that have posted as well.


Hope that helps! :)