From owner-freebsd-hackers Thu Jun 13 20:26:04 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA02621 for hackers-outgoing; Thu, 13 Jun 1996 20:26:04 -0700 (PDT) Received: from pdx1 (pdx1.world.net [192.243.32.18]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id UAA02614 for ; Thu, 13 Jun 1996 20:26:01 -0700 (PDT) Received: from suburbia.net (suburbia.net [203.4.184.1]) by pdx1 (8.6.9/8.6.9) with ESMTP id UAA27843 for ; Thu, 13 Jun 1996 20:27:02 -0700 Received: (proff@localhost) by suburbia.net (8.7.4/Proff-950810) id NAA07084 for freebsd-hackers@freebsd.org; Fri, 14 Jun 1996 13:25:30 +1000 From: Julian Assange Message-Id: <199606140325.NAA07084@suburbia.net> Subject: Re: ISC dhcp, AF_UNSPEC & bpf bugs To: freebsd-hackers@freebsd.org Date: Fri, 14 Jun 1996 13:25:29 +1000 (EST) In-Reply-To: <199606140250.TAA00774@bubba.whistle.com> from "Archie Cobbs" at Jun 13, 96 07:50:57 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > >I am currently trying to port the ISC DHCP server to FreeBSD. In the > > >process, I found 2 problems related to the BPF implementation, which > > >they use to send packets on specific interfaces. > > > > > >1. When sending a packet via BPF, the ether type gets byte-swapped. > > Various field in struct ip are also delt with in host-byte-order when using SOCK_RAW, which I thought was particularly silly. -- "Of all tyrannies a tyranny sincerely exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies, The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for own good will torment us without end, for they do so with the approval of their own conscience." - C.S. Lewis, _God in the Dock_ +---------------------+--------------------+----------------------------------+ |Julian Assange RSO | PO Box 2031 BARKER | Secret Analytic Guy Union | |proff@suburbia.net | VIC 3122 AUSTRALIA | finger for PGP key hash ID = | |proff@gnu.ai.mit.edu | FAX +61-3-98199066 | 0619737CCC143F6DEA73E27378933690 | +---------------------+--------------------+----------------------------------+