From owner-freebsd-hackers Wed Jan 29 00:18:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA18413 for hackers-outgoing; Wed, 29 Jan 1997 00:18:32 -0800 (PST) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA18404 for ; Wed, 29 Jan 1997 00:18:28 -0800 (PST) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id AAA13315; Wed, 29 Jan 1997 00:17:55 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma013311; Wed Jan 29 00:17:37 1997 Received: (from archie@localhost) by bubba.whistle.com (8.7.5/8.6.12) id AAA22387; Wed, 29 Jan 1997 00:17:37 -0800 (PST) From: Archie Cobbs Message-Id: <199701290817.AAA22387@bubba.whistle.com> Subject: Re: ipdivert & masqd In-Reply-To: <01BC0DC7.5A8AF380@sodium.ps.carel.fi> from Ari Suutari at "Jan 29, 97 09:32:31 am" To: ari.suutari@ps.carel.fi (Ari Suutari) Date: Wed, 29 Jan 1997 00:17:37 -0800 (PST) Cc: archie@whistle.com, brian@awfulhak.demon.co.uk, hackers@freebsd.org, cmott@srv.net X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I had these problems with latest 2.2-SNAP release and > maybe, just maybe with 2.2-ALPHA. It was quite simple > to reproduce the problem - it occurred every time I opened > a TCP connection from the same machine that natd was > running on. Everything works well if packets come > from different interface and are routed to another. > > I did some investigations in the kernel land (not being > any expert on that), but it seemed like the ip_divert_ignore > flag was still set (from processing a outgoing packet) when > an incoming packet arrived. Can I get a quick sanity check on something... the divert code is programmed under the assumption that ip_input() and ip_output() can never sleep (ie., no other packet can be treated before the function returns). This is true, right? Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com