Date: Wed, 21 Jan 2004 21:43:02 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Ganbold <ganbold@micom.mng.net> Cc: freebsd-hackers@freebsd.org Subject: Re: Bandwidth limiting for eMule ports Message-ID: <200401220543.i0M5h2dv018422@apollo.backplane.com> References: <6.0.1.1.2.20040122120552.0293bd20@202.179.0.80>
next in thread | previous in thread | raw e-mail | index | archive | help
:Hi, : :I'm still having trouble limiting bandwidth for emule ports using dummynet :features. :I'm using FreeBSD 5.2-current machine for firewall. It has 2 Intel pro 100 :cards and it is configured as a bridge. : :I'm doing bandwidth limiting in the following way: : :# eMule :${fwcmd} pipe 59 config bw 256kbit/s :${fwcmd} pipe 60 config bw 256kbit/s :${fwcmd} pipe 61 config bw 128kbit/s The ipfw pipe command is *EXTREMELY* sensitive to case and capitalization. It only looks at the first few characters. Try 256Kbit/s instead of 256kbit/s. See the difference? 256kb... -> not recognized properly 256Kb... -> bits per second 256KB... -> bytes per second. I've always been annoyed by that. I think I'll go fix it in DFly. -Matt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401220543.i0M5h2dv018422>