CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > SmartView Tracker/Logging And Alerting
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-10-03
Junior Member
 
Join Date: 2006-10-03
Posts: 1
Rep Power: 0
slwiley has an average reputation (10+)
Default Need script to show a count on Rule Hits

Im doing an audit of a rulebase and I'd like to run a script against the logs to see what rules are being used so I can clean up the unused rules and optimize the rulebase order. Does anyone have anything that will do this? I found a script on the web but it used perl, and I dont have that installed on my Nokia. Thanks for the help!
Reply With Quote
  #2 (permalink)  
Old 2006-10-03
Senior Member
 
Join Date: 2006-01-26
Location: Moscow, Russia
Posts: 706
Rep Power: 3
kva.kva has an average reputation (10+)
Default Re: Need script to show a count on Rule Hits

There is such script for CP support only. Also Reporter can create report with such data.
Also you can create your own script, which parses connections tables on module.

Does anybody know 3'rd party script may be? It will be very interesting tool.
Reply With Quote
  #3 (permalink)  
Old 2006-10-03
Senior Member
 
Join Date: 2006-07-28
Location: New Zealand
Posts: 857
Rep Power: 3
northlandboy has an average reputation (10+)
Default Re: Need script to show a count on Rule Hits

Couple of options I can think of:

* If this is a one-off, then do an fw logexport to convert the logfiles to text, then write a quick and dirty shell/awk or perl script to parse it. Would be all of about 10 lines, if that. Remember that the processing doesn't have to be done on the firewall. Just transfer the logs to a Linux box and run the perl script there

* If you've got the money, and want to do this on an ongoing basis, tools like Firemon can do the job pretty well.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 18:26.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0