From owner-freebsd-hackers Mon Jan 20 13:30:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA29221 for hackers-outgoing; Mon, 20 Jan 1997 13:30:05 -0800 (PST) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id NAA29184 for ; Mon, 20 Jan 1997 13:29:58 -0800 (PST) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id NAA10171; Mon, 20 Jan 1997 13:29:27 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma010169; Mon Jan 20 13:29:19 1997 Received: (from archie@localhost) by bubba.whistle.com (8.7.5/8.6.12) id NAA12394; Mon, 20 Jan 1997 13:29:19 -0800 (PST) From: Archie Cobbs Message-Id: <199701202129.NAA12394@bubba.whistle.com> Subject: Re: ipdivert & masqd In-Reply-To: <199701200232.CAA25196@awfulhak.demon.co.uk> from Brian Somers at "Jan 20, 97 02:32:01 am" To: brian@awfulhak.demon.co.uk (Brian Somers) Date: Mon, 20 Jan 1997 13:29:18 -0800 (PST) Cc: hackers@freebsd.org 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 > Well, as a start to "masqd", I've written a filter that doesn nothing. It > receives a packet, outputs bits of info, then inserts it back into the IP > stream (after fixing the IP checksum if it's an "in" packet). > > Works fine for tcp connections (telnet at least) & udp (NFS at least), but > only half-works for ICMP. It gets the incoming ICMP (ping), fixes the sum > and does the sendto(), but never sees the reply. The reply is received by > the sender though..... What do your ipfw rules look like while masqd is running? -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com