IPFW Bandwidth throttling?
Roger
raqlist at fareham.org
Wed May 7 06:32:58 PDT 2003
Date sent: Wed, 7 May 2003 09:03:55 -0400 (EDT)
From: Chris McGee
Subject: IPFW Bandwidth throttling?
> I am trying to limit outgoing SMTP traffic to about 14 Mbps and these are
> the IPFW rules I am using.
>
> ${fwcmd} add pipe 1 tcp from 192.168.0.0/24 to any 25 out via dc0
> ${fwcmd} pipe 1 config bw 14Mbit/s
>
> I've tried multiple tweaks to the pipe rule and I seem to be missing
> something. I only get about half the bandwidth I specify. Is this normal
> behavior? Is there something wrong with the rule I'm running?
>
> Thanks,
> Chris
man ipfw, didn't show anything obvious, have you checked your
net.inet.ip.fw.one_pass sysctl var. If it's 0 then the rest of your rules run on
the packet as well (I think).
Have you got a return rule set as well ? Is anything limiting what the outside
world is sending back ?
Roger.
More information about the freebsd-security
mailing list