Erich,

This is also probably another log to throw on the "debate" fire.

In a response by Charels, he stated "The 4 byte length difference between the actual size of the packet (332 bytes) and the length indicated by the IP header (332 bytes) is a known bug with specific DHCP servers (I don't recall which off-hand...a quick google search should find the culprit)."
[quote from post http://sourceforge.net/mailarchive/forum.php?thread_id=1279699&forum_id=5483]

In an effort to do a "quick" (and I emphasize quick) check, I built a Dachstein floppy with the 3c59x.o module. I have access to two machines, one with a 3c900 NIC connected to *my cablemodem* and one with a 3C905C NIC connected to the LAN where I work. So here are the results. I only included part of syslog for each computer.

(1) OK, here is the computer attached to *my cablemodem* using a 3c900 NIC:

[snip]
Nov 15 18:44:59 firewall kernel: 3c59x.c:v0.99Rb 8/8/2000 Donald Becker, [EMAIL PROTECTED]
Nov 15 18:44:59 firewall kernel: http://www.scyld.com/network/vortex.html
Nov 15 18:44:59 firewall kernel: eth0: 3Com 3c900 Cyclone 10Mbps TPO at 0xda00, 00:50:da:c7:26:87, IRQ 11
Nov 15 18:44:59 firewall kernel: 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
Nov 15 18:44:59 firewall kernel: MII transceiver found at address 24, status 182d.
Nov 15 18:44:59 firewall kernel: Enabling bus-master transmits and whole-frame receives.
[snip]
Nov 15 18:44:59 firewall dhclient: Internet Software Consortium DHCP Client 2.0pl5
Nov 15 18:44:59 firewall dhclient: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
Nov 15 18:44:59 firewall dhclient: All rights reserved.
Nov 15 18:44:59 firewall dhclient:
Nov 15 18:44:59 firewall dhclient: Please contribute if you find this software useful.
Nov 15 18:44:59 firewall dhclient: For info, please visit http://www.isc.org/dhcp-contrib.html
Nov 15 18:44:59 firewall dhclient:
Nov 15 18:45:00 firewall dhclient: Listening on LPF/eth0/00:50:da:c7:26:87
Nov 15 18:45:00 firewall dhclient: Sending on LPF/eth0/00:50:da:c7:26:87
Nov 15 18:45:00 firewall dhclient: Sending on Socket/fallback/fallback-net
Nov 15 18:45:00 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Nov 15 18:45:00 firewall dhclient: ip length 328 disagrees with bytes received 332.
Nov 15 18:45:00 firewall dhclient: accepting packet with data after udp payload.
Nov 15 18:45:00 firewall dhclient: ip length 328 disagrees with bytes received 332.
Nov 15 18:45:00 firewall dhclient: accepting packet with data after udp payload.
Nov 15 18:45:01 firewall /USR/SBIN/CRON[858]: (root) CMD (/etc/multicron-p)
Nov 15 18:45:01 firewall dhclient: ip length 328 disagrees with bytes received 332.
Nov 15 18:45:01 firewall dhclient: accepting packet with data after udp payload.
Nov 15 18:45:01 firewall dhclient: DHCPOFFER from 66.235.63.242
Nov 15 18:45:03 firewall dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Nov 15 18:45:03 firewall dhclient: ip length 328 disagrees with bytes received 332.
Nov 15 18:45:03 firewall dhclient: accepting packet with data after udp payload.
Nov 15 18:45:03 firewall dhclient: DHCPACK from 66.235.63.242
Nov 15 18:45:03 firewall dhclient: bound to 66.235.19.223 -- renewal in 43200 seconds.

(2) OK, now here is the computer connected to my work LAN using a 3c905C NIC:

[snip]
Nov 15 08:59:40 firewall kernel: 3c59x.c:v0.99Rb 8/8/2000 Donald Becker, [EMAIL PROTECTED]
Nov 15 08:59:40 firewall kernel: http://www.scyld.com/network/vortex.html
Nov 15 08:59:40 firewall kernel: eth0: 3Com 3c905C Tornado at 0xec80, 00:b0:d0:b4:97:6f, IRQ 5
Nov 15 08:59:40 firewall kernel: 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
Nov 15 08:59:40 firewall kernel: MII transceiver found at address 24, status 782d.
Nov 15 08:59:40 firewall kernel: Enabling bus-master transmits and whole-frame receives.
[snip]
Nov 15 08:59:40 firewall dhclient: Internet Software Consortium DHCP Client 2.0pl5
Nov 15 08:59:40 firewall dhclient: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
Nov 15 08:59:40 firewall dhclient: All rights reserved.
Nov 15 08:59:40 firewall dhclient:
Nov 15 08:59:40 firewall dhclient: Please contribute if you find this software useful.
Nov 15 08:59:40 firewall dhclient: For info, please visit http://www.isc.org/dhcp-contrib.html
Nov 15 08:59:40 firewall dhclient:
Nov 15 08:59:41 firewall dhclient: Listening on LPF/eth0/00:b0:d0:b4:97:6f
Nov 15 08:59:41 firewall dhclient: Sending on LPF/eth0/00:b0:d0:b4:97:6f
Nov 15 08:59:41 firewall dhclient: Sending on Socket/fallback/fallback-net
Nov 15 08:59:41 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Nov 15 08:59:44 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Nov 15 08:59:48 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Nov 15 08:59:48 firewall dhclient: DHCPOFFER from 144.115.147.1
Nov 15 08:59:48 firewall dhclient: DHCPOFFER from 144.115.147.1
Nov 15 08:59:48 firewall dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Nov 15 08:59:48 firewall dhclient: DHCPACK from 144.115.147.1
Nov 15 08:59:48 firewall dhclient: bound to 144.115.198.138 -- renewal in 30 seconds.
Nov 15 08:59:48 firewall kernel: Packet log: input DENY eth0 PROTO=17 144.115.198.75:520 144.115.198.255:520 L=52 S=0x00 I=36937 F=0x4000 T=1 (#45)
Nov 15 09:00:01 firewall /USR/SBIN/CRON[1069]: (root) CMD (/etc/multicron-p)
Nov 15 09:00:03 firewall kernel: Packet log: input DENY eth0 PROTO=103 144.115.147.1:65535 224.0.0.13:65535 L=30 S=0xC0 I=17926 F=0x0000 T=1 (#45)
Nov 15 09:00:18 firewall dhclient: DHCPREQUEST on eth0 to 132.224.5.62 port 67
Nov 15 09:00:18 firewall kernel: Packet log: output ACCEPT eth0 PROTO=17 144.115.198.138:68 132.224.5.62:67 L=328 S=0x00 I=0 F=0x0000 T=64 (#26)
Nov 15 09:00:18 firewall kernel: Packet log: input DENY eth0 PROTO=17 144.115.198.75:520 144.115.198.255:520 L=52 S=0x00 I=36938 F=0x4000 T=1 (#45)
Nov 15 09:00:18 firewall dhclient: DHCPACK from 132.224.5.62
Nov 15 09:00:18 firewall dhclient: bound to 144.115.198.138 -- renewal in 3600 seconds.


(3) OK, here is the computer connected to a Dachstein firewall using a 3c900C NIC:

[snip]
Nov 28 10:15:27 firewall kernel: 3c59x.c:v0.99Rb 8/8/2000 Donald Becker, [EMAIL PROTECTED]
Nov 28 10:15:27 firewall kernel: http://www.scyld.com/network/vortex.html
Nov 28 10:15:27 firewall kernel: eth0: 3Com 3c900 Cyclone 10Mbps TPO at 0xda00, 00:50:da:c7:26:87, IRQ 11
Nov 28 10:15:27 firewall kernel: 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
Nov 28 10:15:27 firewall kernel: MII transceiver found at address 24, status 182d.
Nov 28 10:15:27 firewall kernel: Enabling bus-master transmits and whole-frame receives.
[snip]
Nov 28 10:15:27 firewall dhclient: Internet Software Consortium DHCP Client 2.0pl5
Nov 28 10:15:27 firewall dhclient: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
Nov 28 10:15:27 firewall dhclient: All rights reserved.
Nov 28 10:15:27 firewall dhclient:
Nov 28 10:15:27 firewall dhclient: Please contribute if you find this software useful.
Nov 28 10:15:27 firewall dhclient: For info, please visit http://www.isc.org/dhcp-contrib.html
Nov 28 10:15:27 firewall dhclient:
Nov 28 10:15:28 firewall dhclient: Listening on LPF/eth0/00:50:da:c7:26:87
Nov 28 10:15:28 firewall dhclient: Sending on LPF/eth0/00:50:da:c7:26:87
Nov 28 10:15:28 firewall dhclient: Sending on Socket/fallback/fallback-net
Nov 28 10:15:28 firewall dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Nov 28 10:15:29 firewall dhclient: DHCPOFFER from 192.168.1.254
Nov 28 10:15:31 firewall dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Nov 28 10:15:31 firewall dhclient: DHCPACK from 192.168.1.254
Nov 28 10:15:31 firewall dhclient: bound to 192.168.1.1 -- renewal in 21600 seconds.


Based on the above snapshots, it looks like the DHCP server used by my cablemodem ISP may be the culprit causing the dhclient error messages. As a recap, I was getting the same dhclient error using both a 3c509 (3c509.o) and a pci Linkys (ne.o). So this seems to point to the DHCP server used by my ISP as the problem. Since I don't have a Linux system where I can build different versions of the RTL8139 driver or other drivers and don't have a RTL8139 card, I can't try the RTL8139 type NICs or try to "fix" the other drivers.

So I guess the end result is that I'll have to live with the dhclient error in hopes that its doesn't cause too much of a problem and hope that my ISP eventually fixes the problem on their end.

This has been quite an interesting exercise.

John Wittenberg




From: Erich Titl <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [leaf-user] dhclient to dchp server handshaking
Date: Mon, 11 Nov 2002 23:38:19 +0100

Hi John

here is the respective lsmod

pcnet_cs 12496 1
xirc2ps_cs 13928 1
ds 6388 2 [pcnet_cs xirc2ps_cs]
i82365 22180 2
pcmcia_core 41056 0 [pcnet_cs xirc2ps_cs ds i82365]
ip_nat_irc 2384 0 (unused)
ip_nat_ftp 2960 0 (unused)
ip_conntrack_irc 3056 1
ip_conntrack_ftp 3824 1
8390 5780 0 [pcnet_cs]
ide-probe-mod 7496 0
ide-disk 6544 0
ide-mod 50888 0 [ide-probe-mod ide-disk]


eth0 is a xircom card
this is the card dhclient works with

eth1 is a d-link de-660+
apparently a ne2000 clone, so this might be a RTL based card but I doubt this would play a major role as the card set by dhclient is eth0.
If I use this card on eth0 om my cable modem dhclient fails. If I use it on my internal dhcpd it works well, so there is something to Charles's assumption of a broken dhcp server.

Still, my other gateway, a PCI based system actually uses RTL8139 based controllers and does not complain at all, so maybe the xircom driver has a similar problem as the old RTL driver.

cheers
Erich

THINK
P�ntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to