My environment:
# ipf -V
ipf: IP Filter: v3.3.18 (184)
Kernel: IP Filter: v3.3.18
Running: yes
Log Flags: 0 = none set
Default: pass all, Logging: available
Active list: 0
# uname -a
OpenBSD obsd 2.8 GENERIC#399 i386
(The reasons for running such an outdated installation are too complex to go
into here. FWIW, this isn't attached to the Internet.)
Now the underlying "hardware" is actually VirtualBox v3.2.4 r62467
running on a Mac mini and Mac OS X v10.6.4. The only (emulated) network
adapters that are offered by VirtualBox that OBSD v2.8 seems to recognize are
the "PCnet-PCI II" and "PCnet-Fast III". OBSD sees either as a le (Lance
Ethernet) hardware interface. The content of hostname.le1 is short and sweet:
inet 182.168.0.100 255.255.255.0 NONE
So far, everything's peachy, but when I enable ipf and start ipmon with
"-Dns", I'm not seeing any port numbers included with logged TCP or UDP
traffic. Is there something funky about the le device, or should I chalk
this up to a broken NIC emulation in VirtualBox? I have an identical
installation on an ancient (real) PC with a 3COM 3c905, and that doesn't
exhibit this problem, so the issue wouldn't seem to be a systemic bug in
OBSD. I'd like to get rid of the extra hardware, which is why I'm toying
with VirtualBox. (I already tried VirtualPC 2007 under Windows XP, but the
bootloader hangs from the installation disk for this version of OBSD.)
Thanks,
Mike