OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: IPFW Bandwidth throttling?

From: Roger (raqlistfareham.org)
Date: Wed May 07 2003 - 08:32:51 CDT


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.

_______________________________________________
freebsd-securityfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribefreebsd.org"