File: ip-filter.readme

package info (click to toggle)
mrtg 2.9.17-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,140 kB
  • ctags: 1,517
  • sloc: perl: 22,688; ansic: 3,536; sh: 1,309; makefile: 319; php: 227; awk: 213; csh: 49; exp: 16
file content (34 lines) | stat: -rw-r--r-- 1,020 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
I've found the simple enclosed perl script useful to use mrtg to graph
traffic through our IP-Filter firewall.  The script may need some
fiddling with the regular expressions to graph what you need at your
site; our if-filter configuration blocks everything on the WAN
interface by default and allows specific protocols in with `pass in
quick' and `block in quick' rules on groups from 100-190; hence the
simple regular expressions.

The usage in mrtg.cfg here is:

# firewall

Target[firewall]: `./fw.pl`

Options[firewall]: growright, noinfo, perhour

MaxBytes[firewall]: 50000

Title[firewall]: IP-Filter

PageTop[firewall]: <center>
		   <h1><font color=red>Firewall Traffic Analysis</font></h1>
                   <h3>Syn/Ack Packets Passed (Connections) on le1 (24.7.4.75)</h3>
		   </center>

YLegend[firewall]: Packets per Hour
ShortLegend[firewall]: pkts/hr
Legend1[firewall]: Inbound connections per hour
Legend2[firewall]: Outbound connections per hour

--

Ronald Florence			http://members.home.net/18james