I can't mount the CD that has the sets on it. I will get the latest copy of Netbsd*HEAD...
On Sun, Jun 27, 2021 at 2:27 AM Jason Mitchell <[email protected]> wrote: > > Todd, > > Well, to fix this problem you need to get the HEAD version of the ipf > binary. If you already have all of the HEAD source code, you could go to > /usr/src/sbin/ipf and run make and that will build the correct binary. > If not, you could download base.tar.?z for HEAD and run: > > tar -xzvpf base.tar.?z *ipf* > > That would extract any files with ipf in the name (in their > subdirectories - in this case sbin, so it will create ./sbin/ipf*). Then > try to run "./ipf -f /etc/ipf.conf" (to use the local ipf rather than > the one that's in /sbin and see if it works. If so, you're done. Save > the old ipf and place the new ipf in /sbin. Then the rc.d script should > work fine. > > If not then you could run ldd against the ipf binary to show what > libraries are needed. It might be possible to unpack those libraries > (assuming there's no conflict with existing libraries). But, you > probably should just do an in-place upgrade so all of your binaries > match the kernel. There's instructions in the history of this list that > will walk you through that. > > Since I was right about the problem, I'm cc'ing the list again. Sorry > about the top posting, the mail client I was using before has mucked up > the formatting so I can't post at the bottom :( > > Thanks, > > Jason M. > > Get BlueMail for Android <https://bluemail.me> > On Jun 26, 2021, at 9:59 PM, Todd Gruhn <[email protected] > <mailto:[email protected]>> wrote: > > Exactly, Jason. Ideas? I also upgraded the rest of the software. > This is a first for me. > > On Sat, Jun 26, 2021 at 9:01 PM Jason Mitchell <[email protected]> > wrote: > > I'm guessing it means the ipf binary (named ipf) version doesn't > match the kernel version of ipf. Are you by any chance running a > HEAD kernel with 9.x userland (the userland comes from > base.tar.?x, and the other sets.) Thanks, Jason M. Get BlueMail > for Android On Jun 26, 2021, at 5:56 PM, Todd Gruhn > <[email protected]> wrote: > > I made some changes to my ipf rulebase. Then I deleted > /var/log/ipmonlog ; and did "touch ipmonlog" /bin/ksh > /etc/rc.d/ipfilter start Enabling ipfilter. 0:open device: > Device not configured 0:SIOCFRENB: Bad file descriptor open > device: Device not configured User/kernel version check > failed open device: Device not configured User/kernel > version check failed 0:1:ioctl(add/insert rule) > 0:3:ioctl(add/insert rule) 0:4:ioctl(add/insert rule) > 0:6:ioctl(add/insert rule) 0:7:ioctl(add/insert rule) > 0:8:ioctl(add/insert rule) 0:10:ioctl(add/insert rule) Whats > with the 'kernel-version check failed' ? I am currently > running NetBSD-9.*-HEAD >
