Thread: [Fwbuilder-discussion] rules monitoring
Brought to you by:
mikehorn
From: Luc P. <pau...@gm...> - 2012-01-27 19:51:31
|
I know this is a bit out of fwbuilder topic, but I was wondering if anyone knows about a product or a way that we can monitor/track rules usage. What I mean by this is I would like to know in example my top used rules or the rules that are hasn't been used for the past month and that I could probably remove them. -- !!!!! ( o o ) --------------oOO----(_)----OOo-------------- Luc Paulin | paulinster(at)gmail.com |
From: Whit B. <wh...@tr...> - 2012-01-27 20:21:52
|
If you want to see your rule usage since last loading them, you can query iptables. I trivially script that like this: ___ #! /bin/bash echo ""; for table in filter nat mangle; do echo "$table"; echo "------"; iptables --line-numbers -L -t $table -n -v; echo ""; done ___ You'll see the number of packets that have matched each rule in the left column. Whit On Fri, Jan 27, 2012 at 02:51:24PM -0500, Luc Paulin wrote: > I know this is a bit out of fwbuilder topic, but I was wondering if anyone > knows about a product or a way that we can monitor/track rules usage. What I > mean by this is I would like to know in example my top used rules or the rules > that are hasn't been used for the past month and that I could probably remove > them. > > > > > -- > !!!!! > ( o o ) > --------------oOO----(_)----OOo-------------- > Luc Paulin | paulinster(at)gmail.com > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Fwbuilder-discussion mailing list > Fwb...@li... > https://lists.sourceforge.net/lists/listinfo/fwbuilder-discussion |