Gabri Mate escreveu:
> Hey There List,
>
> i want to do some bandwidth normalization at my home gateway. Here's
> the relavant setup:
>
> altq on xl0 cbq bandwidth 1Mb queue { main }
> queue main bandwidth 100% { www, ssh, other }
>         queue www bandwidth 20%
>         queue ssh bandwidth 40%
>         queue other bandwidth 40% cbq(default,borrow)
> .
> .
> .
> pass out on $ext_if inet proto tcp from any to any port
> $outgoing_tcp_services modulate state
> pass out on $ext_if inet proto tcp from any to any port www modulate
> state queue www
> pass out on $ext_if inet proto tcp from any to any port ssh modulate
> state queue ssh
>
>
> When i start to upload something to an ftp it runs width full bandwidth,
> and thats okay because of the borrow option. But when i begin browsing
> and using ssh the ftp still runs at full speed and the other connections
> are too slow.
> --
> Gabri Mate
> [EMAIL PROTECTED]
>
> [demime 1.01d removed an attachment of type application/pgp-signature]
>
>
Don't know your full ruleset but, from what i saw, you have to use the
ftp-proxy -q switch. It assigns all the created rules to a specific
queue. This should solve your problem. Take a look at ftp-proxy man's
page to understand better.

My regards,

-- 
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD Stable
Ubuntu 8.04 Hardy Herom
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85

  • queueing Gabri Mate
    • Re: queueing Giancarlo Razzolini

Reply via email to