Planck wrote: > S t i n g r a y napisaE(a): >> I want to do traffic shaping as per protocol basis so >> if i give a certian bandwith to HTTP protocole , isnt >> there any way i can diffrenciate between HTTP webpages >> & HTTP downloads of huge .iso files ? >> i dont want users who are downloading huge files >> effect userrs who are only checking their webmails. >> >> is there any way ? > > Use hfsc. Define upperlimit for queue, set higher initial bandwidth > assignment and decrease that after some miliseconds. Something like that: > queue http_q hfsc( ecn upperlimit($initial_bw $time_in_ms_d $w_after_time) > br, > Darek > > You could use squid to transparently shape the traffic. You can, for example, redirect all http or https traffic to it, then use delay pools inside squid. Squid can filter file extensions, urls, and other sorts of things. I didn't knew about the hfsc solution, i will test it latter. I use delay pools, and they work greatly.
My 2 cents, -- Giancarlo Razzolini Linux User 172199 Moleque Sem Conteudo Numero #002 Slackware Current OpenBSD Stable Snike Tecnologia em InformC!tica 4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85 [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]

