On Mon, May 31, 2010 at 6:20 AM, Uwe Dippel <[email protected]> wrote:
> (I searched Google, but not much turned up.)

Was there a common thread to what did turn up?  My recall is that
basically every time people get "Operation not supported by device"
errors from pfctl, it's because their userland and kernel don't match.


> Since I upgraded to 4.7; what I get is:
> # pwd
> /etc
> # cat pf.conf
> # works?
> # pfctl -f pf.conf.47
> pfctl: DIOCBEGINADDRS: Operation not supported by device

That ioctl (DIOCBEGINADDRS) was removed between 4.6 and 4.7.  Ergo,
that is *NOT* a 4.7 pfctl binary.

> # which pfctl
> /sbin/pfctl
> # md5 /sbin/pfctl
> MD5 (/sbin/pfctl) = 3e1fa4f69809adff432f9da62010a6a7
> (this is amd64)

$ tar xzf /home/ftp/pub/OpenBSD/4.7/amd64/base47.tgz ./sbin/pfctl
$ md5 sbin/pfctl
MD5 (sbin/pfctl) = 7720c9a4dc100fe29d2d3c4a16954eb4

Review your upgrade procedure, because it's clearly broken.


Philip Guenther

Reply via email to