Re: Rate Limiting Per-Socket

2004-06-24 Thread Takashi Okumura
hello, Andre Oppermann wrote: > > > i would appreciate any suggestions, comments, feedback, etc. > > I haven't looked at the code. Although my question is why do you use > the proc interface? Can't you make netnice use the socket options > interface to configure the ban

Re: Rate Limiting Per-Socket

2004-06-24 Thread Andre Oppermann
Takashi Okumura wrote: > > so, if you know any japanese friend, or if there are japanese-speaking > subscriber in the mailing list, we would really appreciate your help. > (we may even support the activities financially, this year). that way, > we would be able to provide the community much more i

Re: Rate Limiting Per-Socket

2004-06-23 Thread Takashi Okumura
hi, Brooks Davis wrote: > > I think netnice looks really neat. > > Use of /proc would definaly limit the utility of integrating the code. > We don't enable procfs by default because it's too hard to get procfs > code right as the list of procfs security advisories demonstr

Re: Rate Limiting Per-Socket

2004-06-23 Thread Robert Watson
On Tue, 22 Jun 2004, Paul Querna wrote: > I am looking at methods to rate limit a single socket to a > specific pipe or rate with FreeBSD. I would like to make an Apache > module that could do its outgoing rate limit *in* kernel, making the > module very simple, and more accurate by using t

Re: Rate Limiting Per-Socket

2004-06-23 Thread Brooks Davis
On Wed, Jun 23, 2004 at 03:20:19AM -0400, Takashi Okumura wrote: > hi, > > > Paul Querna wrote: > > > > On Tue, 2004-06-22 at 23:55 -0400, Takashi Okumura wrote: > > > hi, > > > > > > please take a look at mod_netnice. it uses netnice, another in-kernel > > > traffic control primitive on the pla

Re: Rate Limiting Per-Socket

2004-06-23 Thread Luigi Rizzo
On Tue, Jun 22, 2004 at 08:39:48PM -0700, Paul Querna wrote: > Hello, > I am looking at methods to rate limit a single socket to a specific > pipe or rate with FreeBSD. I would like to make an Apache module that > could do its outgoing rate limit *in* kernel, making the module very > simple,

Re: Rate Limiting Per-Socket

2004-06-23 Thread Takashi Okumura
hi, Paul Querna wrote: > > On Tue, 2004-06-22 at 23:55 -0400, Takashi Okumura wrote: > > hi, > > > > please take a look at mod_netnice. it uses netnice, another in-kernel > > traffic control primitive on the platform. since you can control each > > socket with netni

Re: Rate Limiting Per-Socket

2004-06-22 Thread Paul Querna
On Tue, 2004-06-22 at 23:55 -0400, Takashi Okumura wrote: > hi, > > please take a look at mod_netnice. it uses netnice, another in-kernel > traffic control primitive on the platform. since you can control each > socket with netnice, i think it's easy to extend the module to meet > your needs. > >

Re: Rate Limiting Per-Socket

2004-06-22 Thread Takashi Okumura
hi, please take a look at mod_netnice. it uses netnice, another in-kernel traffic control primitive on the platform. since you can control each socket with netnice, i think it's easy to extend the module to meet your needs. http://www.netnice.org/app_modnetnice.html 

Rate Limiting Per-Socket

2004-06-22 Thread Paul Querna
Hello, I am looking at methods to rate limit a single socket to a specific pipe or rate with FreeBSD. I would like to make an Apache module that could do its outgoing rate limit *in* kernel, making the module very simple, and more accurate by using the kernel todo the rate limiting. I hav