Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Jeff Jirsa

On Mon, 23 Sep 2002, Philip Hallstrom wrote:

 There are some apache modules that can do this to various extents, and I
 think you could use ipfw's dummynet as well.


# cat /usr/ports/www/mod_throttle/pkg-descr
This Apache module is intended to reduce the load on your server 
bandwidth generated by popular virtual hosts, directories, locations, or
users accordingto supported polices that decide when to delay or refuse
requests. Also mod_throttle can track and throttle incoming connections by
IP address or by authenticated remote user.

Every request now passes through four levels of throttling, which are: by
client's IP address , by authenticated remote user name (ThrottleRemoteUser),
by local user ID (ThrottleUser), and by directory, location, virtual host,
or server (ThrottlePolicy).

WWW: http://www.snert.com/Software/mod_throttle/

- Jeff

-- 

Jeff Jirsa
[EMAIL PROTECTED]

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Christopher J. Umina

Does anybody know of these modules?  The ipfw thing would limit bandwidth
on the whole server unless I have a tun device, which I don't.  I want it
to be fast in the internal network, but not use too much of the speed
serving to the internet.

Thank you.

On Mon, 23 Sep 2002, Philip Hallstrom wrote:

 There are some apache modules that can do this to various extents, and I
 think you could use ipfw's dummynet as well.

 On Mon, 23 Sep 2002, Christopher J. Umina wrote:

  Hey peoples,
 
  How can I limit Apache's use of network traffic?  I want to limit
  it to somewhere around 50 Kb/s because it's a small server on a cable
  connection.  Is that possible?  If so, how can I get it done?
 
 
  Thanks,
  Christopher J. Umina
 
 
  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



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Duncan Anker

On Tue, 2002-09-24 at 09:14, Christopher J. Umina wrote:
 Does anybody know of these modules?  The ipfw thing would limit bandwidth
 on the whole server unless I have a tun device, which I don't.  I want it
 to be fast in the internal network, but not use too much of the speed
 serving to the internet.

Doesn't DummyNet allow you to specify which port to limit?

Anyway, I think the module you want is (drum roll) mod_bandwidth


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Philip Hallstrom

you might try mod_throttle

http://modules.apache.org/search?id=123

as for dummynet, read the ipfw man page.  I think it's a two part
process.. first passing things off to a pipe and then defining the pipe.
So in the first part you'd specify the port.  Never used it though so I
could be wrong.


On Mon, 23 Sep 2002, Christopher J. Umina wrote:

 hmm..
 mod_bandwidth sounds pretty wierd, and people are saying it doesn't work,
 but nowhere can I find how to set a port in a pipe with dummynet..
 Anybody know how to use it?

 Do I have to rebuild my kernel?


 On 24 Sep 2002, Duncan Anker wrote:

  On Tue, 2002-09-24 at 09:14, Christopher J. Umina wrote:
   Does anybody know of these modules?  The ipfw thing would limit bandwidth
   on the whole server unless I have a tun device, which I don't.  I want it
   to be fast in the internal network, but not use too much of the speed
   serving to the internet.
 
  Doesn't DummyNet allow you to specify which port to limit?
 
  Anyway, I think the module you want is (drum roll) mod_bandwidth
 
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message