[ previous ] [ next ] [ threads ]
 
 From:  Paul Rae <paul at impacttrainingsolutions dot co dot uk>
 To:  m0n0wall - <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] active connections
 Date:  Thu, 20 Mar 2008 14:13:19 +0000
Sorry, hadn't tested this - my bad!


On 20/03/2008 13:17, "David Burgess" <apt dot get at gmail dot com> wrote:

> $ ipnat -lv | grep map | wc -l
> grep: not found
> wc: not found
> 
> I suppose a custom image with grep and wc binaries might do the trick. I was
> just wondering if there was something turn-key in there. Thanks for the
> suggestion.
> 
> db
> 
> On 20/03/2008, Paul Rae <paul at impacttrainingsolutions dot co dot uk> wrote:
>> 
>> What about doing something like this from exec.php
>> 
>> Ipnat -lv | grep map | wc -l
>> 
>> 
>> 
>> On 20/03/2008 05:56, "David Burgess" <apt dot get at gmail dot com> wrote:
>> 
>>> Is there a sane way to count mono's active connections? The Firewall
>> States
>>> page gives a count up to a maximum of 1000 IIRC. I have looked at the
>> ipnat
>>> -lv section of status.php, counted lines per screen, then counted
>> screens,
>>> but that gets pretty tedious and mind-numbing after a few hundred
>>> page-downs.  So is there any way of actually knowing when you're
>> creeping up
>>> on the 30 000 ceiling before you hit it?
>>> 
>>> db
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
>> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch
>> 
>>