Re: Bandwidth Limiting
On Tuesday 03 August 2004 05:34 pm, Jonathan wrote: Hello, I run FreeBSD 5-2.1 on a serv4er box used for my company (StreamForce Hosting Solutions). I was wondering if there is an application i can install or method of limiting per user bandwidth by like a certain group or class. If not is there a way to limit bandwidth for all non super user accounts. Check out pf (packet filter) http://pf4freebsd.love2party.net/ and http://www.freebsd.org/cgi/url.cgi?ports/security/pf/pkg-descr pf includes ALTQ for bandwidth control. Jay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bandwidth Limiting
Jonathan wrote: Hello, I run FreeBSD 5-2.1 on a serv4er box used for my company (StreamForce Hosting Solutions). I was wondering if there is an application i can install or method of limiting per user bandwidth by like a certain group or class. If not is there a way to limit bandwidth for all non super user accounts. Thanks in advance! Regards, Jonathan Certainly dummynet(4) comes to mind --- it would easily do per *IP* BW limits...so it might depend a tad on your network topography. HTH, Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bandwidth Limiting
Jonathan wrote: Hello, I run FreeBSD 5-2.1 on a serv4er box used for my company (StreamForce Hosting Solutions). I was wondering if there is an application i can install or method of limiting per user bandwidth by like a certain group or class. If not is there a way to limit bandwidth for all non super user accounts. Thanks in advance! Regards, Jonathan Ooh, now I read that again, and I think I just wasted that last post. Different scenario. Sorry for the noise. KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bandwidth Limiting
In the last episode (Aug 03), Jonathan said: Hello, I run FreeBSD 5-2.1 on a serv4er box used for my company (StreamForce Hosting Solutions). I was wondering if there is an application i can install or method of limiting per user bandwidth by like a certain group or class. If not is there a way to limit bandwidth for all non super user accounts. ipfw rules plus dummynet should be able to do what you want. ipfw can filter on the uid or gid of the process sending/receiving the packet, so this should cause all non-root packets to get filtered through dummynet pipe 1 (which you could configure to run at 90% of your true capacity): ipfw add 400 skipto 402 ip from any to any uid root ipfw add 401 pipe 1 ip from any to any Hopefully ipfw will soon get the ability to use ALTQ which was recently merged into -current, so you can do some more advanced limiting. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bandwidth Limiting with ipfw and WEBServices/MailServices
Vahric MUHTARYAN wrote: First,Does bandwith limiting affect high loaded MailServers and Web Servers?! Because I know if I set bandwith limit I have to set queue at this moment some queue delay can be occur ?! Bandwidth limiting affects busy network services, certainly. If you want to adjust the queue length, you should consider the available bandwidth divided by the MTU (gives units of packets over time). I think that mail server can handle it because SMTP will work under slow link. Does this limitation suitable for Web Server ( http protocol ) ?!! This will work with HTTP, yes. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: bandwidth limiting
man dummynet man ipfw 'Traffic Shaper Configuration' It has nothing to do with the 'pipe' (man pipe) command. But you create pipes with ipfw, like this: ipfw add pipe 10 ip from any to any More about dummynet: http://www.onlamp.com/lpt/a/bsd/2001/07/26/Big_Scary_Daemons.html General FreeBSD help: http://www.google.com/bsd http://www.freebsddiary.org http://www.defcon1.org http://www.freebsd.org http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html Hope this is to some help! :) Øystein -Original Message- From: Nelis Lamprecht [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 12:48 To: [EMAIL PROTECTED] Subject: bandwidth limiting Hi List I would like to limit bandwidth on a per user basis ON my 4.6 box, is this possible ? Or perhaps limit them on a per ipaddress basis. I have 2 interfaces( ext and int ) and I am running ipfw. I read somewhere that you can use pipe with ipfw for this but am having a little difficulty understanding this and there is very little info on man pipe. Any suggestions will be greatly appreciated. Thanks. Nelis To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message