Difference between revisions of "firewall log accept and drop rate calculation"

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services
(Created page with "'''count accepts / drops for the last minute from firewall 192.168.1.1''' # fw log -n -c accept -h 192.168.1.1 -s `/bin/date --date="1 minutes ago" +%T` -e `/bin/date +%T` |w...")
 
Line 1: Line 1:
'''count accepts / drops for the last minute from firewall 192.168.1.1'''
+
'''baseline /count accepts & drops for the last minute from firewall 192.168.1.1'''
 
  # fw log -n -c accept -h 192.168.1.1 -s `/bin/date --date="1 minutes ago" +%T` -e `/bin/date +%T` |wc -l
 
  # fw log -n -c accept -h 192.168.1.1 -s `/bin/date --date="1 minutes ago" +%T` -e `/bin/date +%T` |wc -l
 
   9013
 
   9013

Revision as of 23:55, 20 April 2013

baseline /count accepts & drops for the last minute from firewall 192.168.1.1

# fw log -n -c accept -h 192.168.1.1 -s `/bin/date --date="1 minutes ago" +%T` -e `/bin/date +%T` |wc -l
  9013
# fw log -n -c drop -h 192.168.1.1 -s `/bin/date --date="1 minutes ago" +%T` -e `/bin/date +%T` |wc -l
   761