pf plugin: add more advanced pfrule-plugin
authorStefan Rinkes <stefan.rinkes@gmail.com>
Sat, 16 Apr 2011 21:59:59 +0000 (23:59 +0200)
committerStefan Rinkes <stefan.rinkes@gmail.com>
Sat, 16 Apr 2011 22:00:03 +0000 (00:00 +0200)
Use rulestring as identifier, e.g
 bytes-block-drop-in-on-lo0-proto-icmp-all.rrd

Currently for OpenBSD 4.5 only.
OpenBSD 4.9/Current follows.

types.pfrules.db

index 5bf5c86..e405567 100644 (file)
@@ -1,8 +1,4 @@
-scrub_states_current   value:GAUGE:U:U
-scrub_states_total     value:GAUGE:U:U
-scrub_evaluations      value:GAUGE:U:U
-scrub_bytes            value:GAUGE:U:U
-rule_states_current    value:GAUGE:U:U
-rule_states_total      value:GAUGE:U:U
-rule_evaluations       value:GAUGE:U:U
-rule_bytes             value:GAUGE:U:U
+states_cur     value:GAUGE:U:U
+states_tot     value:GAUGE:U:U
+evaluations    value:GAUGE:U:U
+bytes          value:GAUGE:U:U