From owner-freebsd-net Sat Jan 18 21:45:51 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6045737B405; Sat, 18 Jan 2003 21:45:47 -0800 (PST) Received: from gateway.posi.net (adsl-63-201-91-32.dsl.snfc21.pacbell.net [63.201.91.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1091643E4A; Sat, 18 Jan 2003 21:45:41 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.6) with ESMTP id h0J5jeAl043154; Sat, 18 Jan 2003 21:45:40 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Sat, 18 Jan 2003 21:45:40 -0800 (PST) From: Kelly Yancey To: Alfred Perlstein Cc: freebsd-gnats-submit@FreeBSD.ORG, Subject: Re: misc/44361: possible raw socket bug In-Reply-To: <20030118210814.GY33821@elvis.mu.org> Message-ID: <20030118214247.E43061-100000@gateway.posi.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 18 Jan 2003, Alfred Perlstein wrote: > It appears that we expect the ip_len and ip_off feilds to be sent > in host byte order as the stack will fix it to network byte order > in ip_output. > > Is this a bug or feature? :) > > -- > -Alfred Perlstein [alfred@freebsd.org] Both, no? :) It's a bug documented in Stevens TCP/IP Illustrated 2 as being around since 4.4BSD, but I would expect that fixing it would break a good bit. On the other hand, it is supposedly fixed in OpenBSD. Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} "The fact that a believer is happier than a skeptic is no more to the point than the fact than a drunken man is happier than a sober one." -- George Bernard Shaw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message