On 8/21/05, Kenneth R Westerback <[EMAIL PROTECTED]> wrote:
> Hmm. What was the -s parameter to tcpdump? My first look at the dump
> shows only the first 80 bytes or so, which may be the default. We
> need the entire packets captured. So a -s of 1000 would be good.
> 
At Kenneth's request, I've redone a tcpdump with -s 1000 and using a
wired connection (to start ruling out confounding factors).  Just to
stay up to date, this is with a 20 August snapshot.  Until this issue
is closed (one way or another), I'll keep the latest tcpdump at
http://www.aleph0.com/computing/openbsd/bugs/3.8-dhcp-tcpdump
and the latest method for getting said tcpdump at
http://www.aleph0.com/computing/openbsd/bugs/3.8-dhcp-script
(that script is also included below).  

In the near future, I'll be trying a snapshot with a dhclient from
3.7-stable and see how that works.

Thanks again for all the looks, everyone, and keep up the great work! 
As always, please let me know if there's any other information I can
contribute.
CDJ

Script started on Sun Aug 21 18:24:11 2005
# dmesg

OpenBSD 3.8-beta (GENERIC) #110: Sat Aug 20 22:11:21 MDT 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Celeron(R) CPU 2.20GHz ("GenuineIntel" 686-class) 2.20 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem  = 232300544 (226856K)
avail mem = 205090816 (200284K)
using 2861 buffers containing 11718656 bytes (11444K) of memory
User Kernel Config
UKC> disable apm0
265 apm0 disabled
UKC> quit
Continuing...
mainbus0 (root)
bios0 at mainbus0: AT/286+(e5) BIOS, date 03/04/05, BIOS32 rev. 0 @ 0xfd830
apm at bios0 function 0x15 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd830/0x7d0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:02:0 ("SIS 85C503 System" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0xa000 0xd6000/0x800!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "SIS 650 PCI" rev 0x80
ppb0 at pci0 dev 1 function 0 "SIS 86C201 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SIS 650 VGA" rev 0x00: aperture at
0xe8000000, size 0x400000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SIS 85C503 System" rev 0x25
pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0x00: 650: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: <IC25N030ATMR04-0>
wd0: 16-sector PIO, LBA48, 28615MB, 58605120 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <QSI, CDRW/DVD SBW242C, UQ81> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"SIS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured
auich0 at pci0 dev 2 function 7 "SIS 7012 AC97" rev 0xa0: irq 5, SiS7012 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ohci0 at pci0 dev 3 function 0 "SIS 5597/5598 USB" rev 0x0f: irq 9,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1 "SIS 5597/5598 USB" rev 0x0f: irq 10,
version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 3 function 2 "SIS 7002 USB" rev 0x00: irq 3
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: SIS EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
sis0 at pci0 dev 4 function 0 "SIS 900 10/100BaseTX" rev 0x91: irq 4,
address 00:11:43:44:86:42
rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1
cbb0 at pci0 dev 10 function 0 "Texas Instruments PCI1510 CardBus" rev
0x00: irq 9
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pckbcintr: no dev for slot 1
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
biomask efcd netmask efdd ttymask ffdf
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
# ifconfig

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
        groups: lo 
        inet 127.0.0.1 netmask 0xff000000 
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
sis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:11:43:44:86:42
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
pflog0: flags=0<> mtu 33224
pfsync0: flags=0<> mtu 1348
enc0: flags=0<> mtu 1536
# cat /etc/hostname.sis0

dhcp NONE NONE NONE
# tcpdump -i sis0 -s 1000 -w 3.8-dhcp-tcpdump &

[1] 25897
# tcpdump: WARNING: sis0: no IPv4 address assigned
tcpdump: listening on sis0, link-type EN10MB
sh /etc/netstart

DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 5
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
DHCPOFFER from 192.168.1.1
DHCPREQUEST on sis0 to 255.255.255.255 port 67
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
Discarding packet with invalid hlen.
DHCPREQUEST on sis0 to 255.255.255.255 port 67
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
Discarding packet with invalid hlen.
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 4
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
DHCPOFFER from 192.168.1.1
DHCPREQUEST on sis0 to 255.255.255.255 port 67
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
Discarding packet with invalid hlen.
DHCPREQUEST on sis0 to 255.255.255.255 port 67
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
Discarding packet with invalid hlen.
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 3
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
DHCPOFFER from 192.168.1.1
DHCPREQUEST on sis0 to 255.255.255.255 port 67
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
Discarding packet with invalid hlen.
DHCPREQUEST on sis0 to 255.255.255.255 port 67
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
Discarding packet with invalid hlen.
^C
# pkill tcpdump


# 32 packets received by filter
0 packets dropped by kernel
^D

[1] + Done                 tcpdump -i sis0 -s 1000 -w 3.8-dhcp-tcpdump 

Script done on Sun Aug 21 18:26:10 2005


-- 
Christian Jones
[EMAIL PROTECTED]
http://www.aleph0.com/~chjones

Reply via email to