On 2018-02-15, Theo Buehler <t...@theobuehler.org> wrote: > On Thu, Feb 15, 2018 at 12:29:23AM +0000, Stuart Henderson wrote: >> On 2018-02-14, Glenn Faustino <glenn.faust...@gmail.com> wrote: >> > Hi, >> > >> > >> >> Did you upgrade your packages after upgrading to -current? Can you >> >> share your /etc/pfstat.conf? >> > >> > Every time I upgrade to -current I also update packages. >> >> Try forcing pfstat to update (pkg_delete and pkg_add maybe, if that >> doesn't help then build it yourself from ports). If that helps then let >> me know because we need to figure out what change necessitated this and >> track down which ports need REVISION bumps to force updates.. > > Henning's SYN-cookies came with an ABI break in the ioctl path for > /dev/pf (after it was committed, at least pfctl and pflogd needed to be > rebuilt). > > This diff seems to fix pfstat{,d} for me, but only superficially tested, > as I don't use the port normally. It adds a missing header for time(3).
OK sthen@. Presumably it's because struct pf_status gained new members in the middle (though the exact reason doesn't matter, whatever the cause the fix is to rebuild). I'm doing a search for other DIOCGETSTATUS users in ports and will take care of the rest.