From owner-freebsd-hackers Sun Jan 19 19:00:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA07152 for hackers-outgoing; Sun, 19 Jan 1997 19:00:32 -0800 (PST) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id TAA07132 for ; Sun, 19 Jan 1997 19:00:28 -0800 (PST) Received: from awfulhak.demon.co.uk (localhost.coverform.lan [127.0.0.1]) by awfulhak.demon.co.uk (8.8.4/8.7.3) with ESMTP id CAA25196 for ; Mon, 20 Jan 1997 02:32:02 GMT Message-Id: <199701200232.CAA25196@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: hackers@freebsd.org Subject: ipdivert & masqd Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 20 Jan 1997 02:32:01 +0000 From: Brian Somers 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..... Is anyone currently working on this divert code ? Or should I fix this ? TIA. -- Brian , Don't _EVER_ lose your sense of humour....