Hi,
in an setup with an EtherIP tunnel between a FreeBSD and a OpenBSD box I
noticed the following quirk: OpenBSD sends the EtherIP header with
version number "3" as '0x0300', while NetBSD uses '0x3000'. RFC 3378
confirms that FreeBSD is right: The version goes into the first nibble
only. Here is an earlier report of this bug:
http://www.monkey.org/openbsd/archive/bugs/0410/msg00017.html
A look at (the comments of) sys/netinet.c shows that actually the right thing is
intended to be done. Unfortunately the defines are twisted. The attached
patch should fix that.
Regards
David
PS: The bug applies to the OpenBSD version of tcpdump, too.
--
David Dahlberg
Fraunhofer FKIE, Dept. Communication Systems (KOM) | Tel: +49-228-9435-845
Fraunhoferstr. 20, 53343 Wachtberg, Germany | Fax: +49-228-856277
[demime 1.01d removed an attachment of type text/x-patch which had a name of
ip_ether.h.patch"; charset="UTF-8]