Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jun 1997 15:54:42 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        =?iso-8859-1?Q?=C5ge_R=F8bekk?= <aagero@aage.priv.no>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: IPDIVERT not working in 2.2.2 
Message-ID:  <199706011454.PAA29354@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sun, 01 Jun 1997 16:01:36 %2B0200." <19970601160135.28385@aage.priv.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> --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 <your-interface>
> ./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.
-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706011454.PAA29354>