Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_pf.sh

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2005-05-16
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
Owner
License
GPL
Hits
90416
Files:
FileDescription
check_pf.shcheck_pf.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
The script checks whether a rule exists within PF rules. It parses output of pfctl.
Features:
- check existence of a rule within PF rules
- check existence of a rule within an anchor within PF rules

Example usage: ./check_pf.sh -a www-block -r "block drop in on xl0 inet proto tcp from 192.168.1.0/24 to any port = http"