From owner-freebsd-hackers Thu Jun 5 19:39:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA21976 for hackers-outgoing; Thu, 5 Jun 1997 19:39:32 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA21964 for ; Thu, 5 Jun 1997 19:39:20 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id DAA14580; Fri, 6 Jun 1997 03:37:50 +0100 (BST) Message-Id: <199706060237.DAA14580@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Brian Somers cc: =?iso-8859-1?Q?=C5ge_R=F8bekk?= , freebsd-hackers@FreeBSD.ORG Subject: Re: IPDIVERT not working in 2.2.2 In-reply-to: Your message of "Sun, 01 Jun 1997 15:54:42 BST." <199706011454.PAA29354@awfulhak.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 06 Jun 1997 03:37:50 +0100 From: Brian Somers Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > > --17pEHd4RhPHOinZp > > Content-Type: text/plain; charset=us-ascii > > > > I'm having problems getting IPDIVERT and friends working on > > FreeBSD-2.2.2. When the kernel has booted and the drivers are > > initialized, the kernel says > [.....] > > cc diverttest.c -o diverttest > > > > ipfw add 00001 divert 32768 ip from any to any via > > ./diverttest 32768 > [.....] > > Things work ok for me on RELENG_2_2 as of May 19. Try using recvfrom() > instead of read(), or alternatively build the natd port and see if that > works. I built a 2.2.2 machine and natd runs fine on it - in fact I just completed a release on a -current box, and an install of the resulting 2.2-970605-SNAP via the natd'd gateway. No problems. -- Brian , Don't _EVER_ lose your sense of humour....