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). Index: pfstat/Makefile =================================================================== RCS file: /var/cvs/ports/net/pfstat/Makefile,v retrieving revision 1.38 diff -u -p -r1.38 Makefile --- pfstat/Makefile 11 Jan 2018 19:27:07 -0000 1.38 +++ pfstat/Makefile 14 Feb 2018 04:03:20 -0000 @@ -9,8 +9,8 @@ PKGNAME-main= ${DISTNAME} PKGNAME-daemon= ${DISTNAME:S/-/d-/} CATEGORIES= net MASTER_SITES= http://www.benzedrine.ch/ -REVISION-daemon=2 -REVISION-main= 1 +REVISION-daemon=3 +REVISION-main= 2 HOMEPAGE= http://www.benzedrine.ch/pfstat.html Index: pfstat/patches/patch-pfstat_c =================================================================== RCS file: pfstat/patches/patch-pfstat_c diff -N pfstat/patches/patch-pfstat_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pfstat/patches/patch-pfstat_c 14 Feb 2018 04:06:57 -0000 @@ -0,0 +1,13 @@ +$OpenBSD$ + +Index: pfstat.c +--- pfstat.c.orig ++++ pfstat.c +@@ -44,6 +44,7 @@ static const char rcsid[] = "$Id: pfstat.c,v 1.2 2010/ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <time.h> + #include <unistd.h> + + #include "data.h"