Date: Thu, 13 Jul 1995 02:00:08 -0700 From: "Wilhelm B. Kloke" <wb@arb-phys.uni-dortmund.de> To: freebsd-bugs Subject: kern/611: WIDE-dhcp doesn't work with FreeBSD-2.0 bpf Message-ID: <199507130900.CAA26367@freefall.cdrom.com> In-Reply-To: Your message of Thu, 13 Jul 1995 10:52:46 %2B0200 <199507130852.KAA10002@gisli.arb-phys.uni-dortmund.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>Number: 611 >Category: kern >Synopsis: WIDE-dhcp doesn't work with FreeBSD-2.0 bpf >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 13 02:00:02 1995 >Originator: Wilhelm B. Kloke >Organization: Dipl.-Math. Wilhelm Bernhard Kloke Institut fuer Arbeitsphysiologie an der Universitaet Dortmund Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257 >Release: FreeBSD 2.0-RELEASE i386 >Environment: 486DX with FreeBSD 2.0-RELEASE and bpf devices. >Description: I tried to install WIDE dhcp-1.2.1 from wide.ad.jp. After some compilation quirks the systems works partially. Incoming messages are received correctly, but outgoing messages are clobbered. The following tcpdump lines show the problem 09:28:13.860838 0.0.0.0.0 > 255.255.255.255.dhcps: (request) xid:0x7d7b0900 secs:1 [|bootp] 4500 4801 0000 0000 3c11 7da6 0000 0000 ffff ffff 0000 4300 3401 0000 0101 0600 0009 7b7d 0100 0000 0000 0000 0000 0000 0000 0000 0000 09:28:13.863236 gisli ff:ff:ff:ff:ff:ff 54: rr [dsap 69] [ssap 0] 4500 0148 d0cb 4000 2011 9c68 c06d 2c04 ffff ffff 0043 0044 0134 d0cb 0201 0600 7d7b 0900 0000 0000 0000 0000 c06d 2c06 0000 0000 0000 Is it possible that there is a byte order problem? Look at the 2nd, 13th, 16th and 17th for occurencies of reordered byte sequences. > Hmm.... I think so, too. > It may be a bug of FreeBSD-2.0 around Berkeley Packet Filter. > If it is bug of OS, dirty hacking is necessary to solve it. > -- > Keio UNIV. > WIDE Project. > Akihiro Tominaga (tomy@sfc.wide.ad.jp) The fields 16 and 17 contain the field xid, which is just copied from input to output in the dhcp software, do Tominaga may be right in blaiming FreeBSD. There is some other problem, probably not related. If one tries to run the said software under gdb, gdb fails with message > (gdb) run ed0 > Starting program: /usr/local/sbin/dhcps ed0 > reading register eip (#8): Bad address. > (gdb) >How-To-Repeat: Load dhcp-1.2.1 from WIDE, handle FreeBSD like BSDI in Makefile and ifdef's, and try to get a BOOTP reply. >Fix: None. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507130900.CAA26367>