Hi,

i am running OpenBSD 6.5 current BUILDINFO Build date: 1562835291 -
Thu Jul 11 08:54:51 UTC 2019 and ports from the same day. Platform is
i386.

The following error occurs:

# pfstat -q
ioctl: DIOCIGETIFACES: Operation not supported by device
pf_query: query_ifaces() failed

My pfstat.conf is:

collect 1 = interface "xl0" pass bytes in ipv4 diff
collect 2 = interface "xl0" pass bytes in ipv6 diff
collect 3 = interface "xl0" pass bytes in ipv4
collect 4 = interface "xl0" pass bytes in ipv6
collect 5 = interface "xl0" pass bytes out ipv4 diff
collect 6 = interface "xl0" pass bytes out ipv6 diff
collect 7 = interface "xl0" pass bytes out ipv4
collect 8 = interface "xl0" pass bytes out ipv6
collect 9 = global states entries

image "/var/www/stat.gw.lan/pfstat4h4.jpg" {
        from 4 hours to now
        width 980 height 300
        left
                graph 1 bps "in4" "bits/s" color 0 255 0 filled,
                graph 5 bps "out4" "bits/s" color 0 0 192
        right
                graph 3 "in4" "Bytes" color 192 192 0,
                graph 7 "out4" "Bytes" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat4h6.jpg" {
        from 4 hours to now
        width 980 height 300
        left
                graph 2 bps "in6" "bits/s" color 0 255 0 filled,
                graph 6 bps "out6" "bits/s" color 0 0 192
        right
                graph 4 "in6" "Bytes" color 192 192 0,
                graph 8 "out6" "Bytes" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat1d4.jpg" {
        from 1 days to now
        width 980 height 300
        left
                graph 1 bps "in4" "bits/s" color 0 255 0 filled,
                graph 5 bps "out4" "bits/s" color 0 0 192
        right
                graph 3 "in4" "Bytes" color 192 192 0,
                graph 7 "out4" "Bytes" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat1d6.jpg" {
        from 1 days to now
        width 980 height 300
        left
                graph 2 bps "in6" "bits/s" color 0 255 0 filled,
                graph 6 bps "out6" "bits/s" color 0 0 192
        right
                graph 4 "in6" "Bytes" color 192 192 0,
                graph 8 "out6" "Bytes" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat30d4.jpg" {
        from 30 days to now
        width 980 height 300
        left
                graph 1 bps "in4" "bits/s" color 0 255 0 filled,
                graph 5 bps "out4" "bits/s" color 0 0 192
        right
                graph 3 "in4" "Bytes" color 192 192 0,
                graph 7 "out4" "Bytes" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat30d6.jpg" {
        from 30 days to now
        width 980 height 300
        left
                graph 2 bps "in6" "bits/s" color 0 255 0 filled,
                graph 6 bps "out6" "bits/s" color 0 0 192
        right
                graph 4 "in6" "Bytes" color 192 192 0,
                graph 8 "out6" "Bytes" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat-states2.jpg" {
        from 1 days to now
        width 980 height 300
        left
                graph 9 "states" "entries" color 192 192 0
}

collect 10 = interface "xl0" pass packets in ipv4 diff
collect 11 = interface "xl0" pass packets in ipv6 diff
collect 12 = interface "xl0" pass packets out ipv4 diff
collect 13 = interface "xl0" pass packets out ipv6 diff
collect 14 = interface "xl0" block packets in ipv4 diff
collect 15 = interface "xl0" block packets in ipv6 diff
collect 16 = interface "xl0" block packets out ipv4 diff
collect 17 = interface "xl0" block packets out ipv6 diff

image "/var/www/stat.gw.lan/pfstat-packets4h4.jpg" {
        from 4 hours to now
        width 980 height 300
        left
                graph 10 "pass in4"   "packets/s" color 0 255 0 filled,
                graph 12 "pass out4"  "packets/s" color 0 0 192
        right
                graph 14 "block in4"  "packets/s" color 192 192 0,
                graph 16 "block out4" "packets/s" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat-packets4h6.jpg" {
        from 4 hours to now
        width 980 height 300
        left
                graph 11 "pass in6"   "packets/s" color 0 255 0 filled,
                graph 13 "pass out6"  "packets/s" color 0 0 192
        right
                graph 15 "block in6"  "packets/s" color 192 192 0,
                graph 17 "block out6" "packets/s" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat-packets1d4.jpg" {
        from 1 days to now
        width 980 height 300
        left
                graph 10 "pass in4"   "packets/s" color 0 255 0 filled,
                graph 12 "pass out4"  "packets/s" color 0 0 192
        right
                graph 14 "block in4"  "packets/s" color 192 192 0,
                graph 16 "block out4" "packets/s" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat-packets1d6.jpg" {
        from 1 days to now
        width 980 height 300
        left
                graph 11 "pass in6"   "packets/s" color 0 255 0 filled,
                graph 13 "pass out6"  "packets/s" color 0 0 192
        right
                graph 15 "block in6"  "packets/s" color 192 192 0,
                graph 17 "block out6" "packets/s" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat-packets30d4.jpg" {
        from 30 days to now
        width 980 height 300
        left
                graph 10 "pass in4"   "packets/s" color 0 255 0 filled,
                graph 12 "pass out4"  "packets/s" color 0 0 192
        right
                graph 14 "block in4"  "packets/s" color 192 192 0,
                graph 16 "block out4" "packets/s" color 255 0 0
}
image "/var/www/stat.gw.lan/pfstat-packets30d6.jpg" {
        from 30 days to now
        width 980 height 300
        left
                graph 11 "pass in6"   "packets/s" color 0 255 0 filled,
                graph 13 "pass out6"  "packets/s" color 0 0 192
        right
                graph 15 "block in6"  "packets/s" color 192 192 0,
                graph 17 "block out6" "packets/s" color 255 0 0
}

collect 18 = global states inserts  diff
collect 19 = global states removals diff
collect 20 = global states searches diff

image "/var/www/stat.gw.lan/pfstat-states.jpg" {
        from 1 days to now
        width 980 height 300
        left
                graph 18 "inserts" "states/s" color 0 255 0 filled,
                graph 19 "removals" "states/s" color 0 0 192
        right
                graph 20 "searches" "states/s" color 255 0 0
}

image "/var/www/stat.gw.lan/pfstat-queues4h.jpg" {
        from 4 hours to now
        width 980 height 300
        left
                graph 21 bps "vhi" "bits/s" color 160 0 0,
                graph 22 bps "hig" "bits/s" color 255 128 128,
                graph 23 bps "sth" "bits/s" color 0 160 0,
                graph 24 bps "stl" "bits/s" color 128 255 128, 
                graph 25 bps "lo" "bits/s" color 64 0 192
}

image "/var/www/stat.gw.lan/pfstat-queues.jpg" {
        from 1 days to now
        width 980 height 300
        left
                graph 21 bps "vhi" "bits/s" color 160 0 0,
                graph 22 bps "hig" "bits/s" color 255 128 128,
                graph 23 bps "sth" "bits/s" color 0 160 0,
                graph 24 bps "stl" "bits/s" color 128 255 128, 
                graph 25 bps "lo" "bits/s" color 64 0 192
}

image "/var/www/stat.gw.lan/pfstat-queues30d.jpg" {
        from 30 days to now
        width 980 height 300
        left
                graph 21 bps "vhi" "bits/s" color 160 0 0,
                graph 22 bps "hig" "bits/s" color 255 128 128,
                graph 23 bps "sth" "bits/s" color 0 160 0,
                graph 24 bps "stl" "bits/s" color 128 255 128, 
                graph 25 bps "lo" "bits/s" color 64 0 192
}

collect 26 = global counters match          diff
collect 27 = global counters bad-offset     diff
collect 28 = global counters fragment       diff
collect 29 = global counters short          diff
collect 30 = global counters normalize      diff
collect 31 = global counters memory         diff
collect 32 = global counters bad-timestamp  diff
collect 33 = global counters congestion     diff
collect 34 = global counters ip-option      diff
collect 35 = global counters proto-cksum    diff
collect 36 = global counters state-mismatch diff
collect 37 = global counters state-insert   diff
collect 38 = global counters state-limit    diff
collect 39 = global counters src-limit      diff
collect 40 = global counters synproxy       diff
collect 41 = global counters translate      diff

image "/var/www/stat.gw.lan/pfstat-errors.jpg" {
        from 1 days to now
        width 980 height 300
        left
                graph 28 "frag" "/s" color 192 0 192,
                graph 33 "cong" "/s" color 0 192 192,
                graph 34 "iopt" "/s" color 0 0 192,
                graph 35 "csum" "/s" color 192 192 0,
                graph 36 "mism" "/s" color 255 0 0
#               others are usually all zero here
        right
                graph 26 "match" "/s" color 0 255 0
}

Reply via email to