bw limit of http downloads?
Jeremie LE HEN
le-hen_j at epita.fr
Sun Jan 4 14:48:55 PST 2004
> I've been toying with the idea of limiting port 80 downloads from my box.
> Seems some people can't be polite, and do it themselves??
>
> Is their a quick way using a single pipe/queue to restrict port 80 to say
> 128K downloads?
Reading the ipfw(8) manual page would have been a great help...
Supposing your interface to Internet is tun0 :
$ ipfw pipe 1 config bw 128KBytes/s
$ ipfw add pipe 1 tcp from any 80 to any in via tun0
--
Jeremie LE HEN aka TtZ/TataZ jeremie.le-hen at epita.fr
ttz at epita.fr
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
More information about the freebsd-ipfw
mailing list