|
||||||||
Insightful suggestion, nonetheless. Perhaps this is something that could be incorporated into a future version. I imaging one click of a button could run the below command and a bit of php magic would display the result. But then again, I'm no php magician, and it's easy to imagine great-working code when you're not a coder! db On 20/03/2008, Paul Rae <paul at impacttrainingsolutions dot co dot uk> wrote: > > 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 > >> > >> > > > --------------------------------------------------------------------- > 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 > > |