On 02/15/18 07:48, Glenn Faustino wrote:
After deleting and installing pfstat it now works, thanks guys!
Feb 15 14:26:37 OpenBSD pkg_delete: Removed pfstat-2.5p1
Feb 15 14:27:02 OpenBSD pkg_add: Added pfstat-2.5p1
$ doas pfstat -q -d /var/db/pfstat.db
$
Regards,
Glenn
Hi,
I'm experiencing the exact same issues for both pfstat and pftop however,
running pkg_delete / pkg_add doesn't seem to work for me as a fix :-(
pfstat -q -p
ioctl: DIOCGETSTATUS: Permission denied
pf_query: query_counters() failed
pftop: DIOCGETSTATUS: Permission denied
uname -a : 6.2 GENERIC.MP#408 amd64 <- also CURRENT updated a few days ago
Regards,
Kaya
Mine is OpenBSD 6.2-current (GENERIC) #6: Tue Feb 13 20:12:04 MST 2018
Can you try installing the latest snapshot?
Regards,
Glenn
Hi Glenn,
just updated now and ran pkg_delete / pkg_install again for pftop /
pfstat but unfortunately they still come up with the same error.
Probably because I have a few tunnel interfaces and pppoe interfaces ??
{wild guess}
Also it seems that at boot pf doesn't seem to read or like my pf.conf.
After the system has booted I can manually get pf to read the file using
pfctl -f /etc/pf.conf but it should be automatic.....
Regards,
Kaya