Subject: Re: kern/11058: bpf does not work correctly in -current
To: None <finkels@cybernarian.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 09/21/2000 13:24:11
[ On Thursday, September 21, 2000 at 07:24:01 (-0400), finkels@cybernarian.org wrote: ]
> Subject: kern/11058: bpf does not work correctly in -current
>
> The bpf device is unusable unless an IP address is first assigned to an
> interface. This causes dhclient to no longer function at boot.

Did this work in a less recent -current?

I noted that I couldn't tcpdump on an interface with no address in 1.4V
and I suspect this is the same problem.  However I didn't exactly expect
it to work.

It does work this way though:

# ifconfig tlp0 inet 0.0.0.0 netmask 255.255.255.255
# ifconfig tlp0                                      
tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet 10baseT
        status: active
        inet 0.0.0.0 netmask 0xffffffff 
        inet6 fe80::722f:53ff:fec0:f02e%tlp0 prefixlen 64 scopeid 0x2
# tcpdump -vvv -n -i tlp0
tcpdump: listening on tlp0
13:22:49.525336 24.42.191.4 > 24.114.57.77: icmp: echo request (ttl 254, id 38894)

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>