Re: pfstat is having a bad time
On Mon, May 6, 2024 at 11:06 AM Stuart Henderson wrote: > I've bumped REVISION in the port so pkg_add -u should pick it up after > the next set of packages are built, but if you rorce a reinstall of > pfstat from current packages, that should do the trick too. > That worked. Thanks! -- chs
Re: pfstat is having a bad time
On 2024-05-05, Christer Solskogen wrote: > Running pfstat -q gives: > ioctl: DIOCGETSTATUS: Permission denied > pf_query: query_counters() failed > > This is on a newly updated system (current) > OpenBSD tugs.antarctica.no 7.5 GENERIC.MP#50 amd64 > > Packages are also all up to date. The kernel ABI for PF changed recently (extra members in struct pf_status) so packages using it need to be built with new headers. I've bumped REVISION in the port so pkg_add -u should pick it up after the next set of packages are built, but if you rorce a reinstall of pfstat from current packages, that should do the trick too. -- Please keep replies on the mailing list.
Re: pfstat is having a bad time
On Sun, May 5, 2024, 13:05 Christer Solskogen wrote: > Running pfstat -q gives: > ioctl: DIOCGETSTATUS: Permission denied > pf_query: query_counters() failed > > This is on a newly updated system (current) > OpenBSD tugs.antarctica.no 7.5 GENERIC.MP#50 amd64 > > Packages are also all up to date. > this may be related to the transaction/ticket changes in pf(4) that happened a while back. I know pftop doesn't work quite right any more, nor does my own poorly maintained go code since then. > -- > chs > >
pfstat is having a bad time
Running pfstat -q gives: ioctl: DIOCGETSTATUS: Permission denied pf_query: query_counters() failed This is on a newly updated system (current) OpenBSD tugs.antarctica.no 7.5 GENERIC.MP#50 amd64 Packages are also all up to date. -- chs