[PATCH] Feature request: exit netstat(1) after user specified outputs

2007-02-18 Thread LI Xin
Hi, This is a patch that I have backported to -CURRENT, which is originally made against RELENG_6_2. I have received several feature requests from our local community which they wanted to have a top(1)'s '-d' alike feature for netstat, so they will be able to use netstat(1) as a handy brick when

ipfw limit src-addr woes

2007-02-18 Thread admin
Hi, I'm trying to use ipfw's limit clause to limit the number of connections a single IP can have at the same time in a transparent web-proxy environment: 00350 skipto 401 tcp from x.x.x.x/x,y.y.y.y/y,z.z.z.z/z to any dst-port 80 in via if0 setup limit src-addr 10 00401 fwd local.ip.ad.dr,8080 tc

Re: iwi leaks memory?

2007-02-18 Thread Max Laier
On Friday 16 February 2007 17:51, Luigi Rizzo wrote: > On Fri, Feb 16, 2007 at 05:38:28PM +0100, Max Laier wrote: > ... > > > I'm under the impression that this is more a problem of increasing > > fragmentation until we can't get a big enough unfragmented chunk. I > > don't have any proof of this

Re: iwi leaks memory?

2007-02-18 Thread Olivier Houchard
On Sun, Feb 18, 2007 at 04:20:18PM +0100, Max Laier wrote: > On Friday 16 February 2007 17:51, Luigi Rizzo wrote: > > On Fri, Feb 16, 2007 at 05:38:28PM +0100, Max Laier wrote: > > ... > > > > > I'm under the impression that this is more a problem of increasing > > > fragmentation until we can't ge

Re: iwi leaks memory?

2007-02-18 Thread V.Chukharev
On Sun, 18 Feb 2007 17:20:18 +0200, Max Laier <[EMAIL PROTECTED]> wrote: > The linux driver uses one continuous buffer as well. I tried to hand in > separate buffers, but it failed to initialize the firmware. Attached is > a diff (for HEAD and RELENG_6) to allocate the DMA buffer once and keep >

Re: iwi leaks memory?

2007-02-18 Thread Yann Berthier
On Sun, 18 Feb 2007, at 16:20, Max Laier wrote: > The linux driver uses one continuous buffer as well. I tried to hand in > separate buffers, but it failed to initialize the firmware. Attached is > a diff (for HEAD and RELENG_6) to allocate the DMA buffer once and keep > it around. As I said