From owner-freebsd-bugs Sat Jan 18 21:50: 4 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9287437B401 for ; Sat, 18 Jan 2003 21:50:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4294143ED8 for ; Sat, 18 Jan 2003 21:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0J5o2NS099823 for ; Sat, 18 Jan 2003 21:50:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0J5o1XQ099821; Sat, 18 Jan 2003 21:50:01 -0800 (PST) Date: Sat, 18 Jan 2003 21:50:01 -0800 (PST) Message-Id: <200301190550.h0J5o1XQ099821@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kelly Yancey Subject: Re: misc/44361: possible raw socket bug Reply-To: Kelly Yancey Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/44361; it has been noted by GNATS. From: Kelly Yancey To: Alfred Perlstein Cc: freebsd-gnats-submit@FreeBSD.ORG, Subject: Re: misc/44361: possible raw socket bug Date: Sat, 18 Jan 2003 21:45:40 -0800 (PST) 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-bugs" in the body of the message