Date: Thu, 18 Oct 2001 13:38:32 -0400 (EDT) From: Jason Borkowsky <jcborkow@tcpns.com> To: questions@freebsd.org Cc: josh@bitstream.net Subject: Re: ftp hogging Message-ID: <Pine.BSF.4.21.0110181335040.33980-100000@bemused.tcpns.com>
next in thread | raw e-mail | index | archive | help
I don't know if anybody answered this, but if you use IPFW, you can do this easily as follows: ipfw pipe 10 config bw 16Kbit/s queue 100 where "pipe 10" is the ID of the pipe, bw is the bandwidth of the pipe, and queue is the number of packets this pipe queue will hold while waiting for transmission. The above command defines to the pipe. To use it, add the next line as well: ipfw add pipe 10 tcp from any 22 to any out xmit fxp0 where "pipe 10" is the ID again of the pipe to use, 22 is the ftp TCP protocol number, and fxp0 is the outgoing interface. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0110181335040.33980-100000>