Figure 3 Sample pfstat configuration file
image "/var/www/htdocs/pfstat/ipv4_bytes.jpg" {
from 3 months to now
width 800 height 300
left
graph bytes_v4_in label "incoming" color 0 255 0,
graph bytes_v4_out label "outgoing" color 255 0 0
}
image "/var/www/htdocs/pfstat/ipv6_bytes.jpg" {
from 3 months to now
width 800 height 300
left
graph bytes_v6_in label "incoming" color 0 255 0,
graph bytes_v6_out label "outgoing" color 255 0 0
}
image "/var/www/htdocs/pfstat/ipv4_connections.jpg" {
from 3 months to now
width 800 height 300
left
graph packets_v4_in_pass label "passed in v4" color 0 255 0,
graph packets_v4_out_pass label "passed out v4" color 255 0 0,
graph packets_v4_in_drop label "dropped in v4" color 0 0 255,
graph packets_v4_out_drop label "dropped out v4" color 255 0 255
}
image "/var/www/htdocs/pfstat/ipv6_connections.jpg" {
from 3 months to now
width 800 height 300
left
graph packets_v6_in_pass label "passed in v4" color 0 255 0,
graph packets_v6_out_pass label "passed out v4" color 255 0 0,
graph packets_v6_in_drop label "dropped in v4" color 0 0 255,
graph packets_v6_out_drop label "dropped out v4" color 0 0 0
}
image "/var/www/htdocs/pfstat/state_table.jpg" {
from 3 months to now
width 800 height 300
left
graph states_entries label "state table entries" color 0 255 0,
graph states_searches label "state table searches" color 255 0 0,
graph states_inserts label "state table insertions" color 0 0 255,
graph states_removals label "state table removals" color 0 0 0
}
|