Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2014 15:58:17 +0100
From:      Guido Falsi <mad@madpilot.net>
To:        Andrea Venturoli <ml@netfence.it>, net@freebsd.org
Subject:   Re: Dynamic ipfw rules' top
Message-ID:  <54A40F09.5040909@madpilot.net>
In-Reply-To: <54A40BAD.2000605@netfence.it>
References:  <54A40BAD.2000605@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/31/14 15:43, Andrea Venturoli wrote:
> Hello.
> 
> This might be a strange idea, but does such a thing exist?
> 
> I mean: is there any tool that can show in real-time which dynamic rules
> are active, their timers, etc... like top does for processes?
> 

I'm using the port sysutils/cmdwatch with ipfw, like this:

cmdwatch "ipfw -d show | sed -n -e '/## Dynamic rules/,\$p'"

It's a little crude but works quite fine.

Needs to run as root, obviously.

-- 
Guido Falsi <mad@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54A40F09.5040909>