From owner-freebsd-hackers Thu May 24 4:35:42 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from malmo.trab.se (malmo.trab.se [131.115.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 3768F37B424 for ; Thu, 24 May 2001 04:35:39 -0700 (PDT) (envelope-from Urban.E.Olsson@telia.se) Received: from trab-hermes.haninge.trab.se (trab-hermes.haninge.trab.se [131.115.158.15]) by malmo.trab.se (8.10.1/TRAB-primary-2) with ESMTP id f4OBZaI13846 for ; Thu, 24 May 2001 13:35:36 +0200 (MEST) Received: by trab-hermes.haninge.trab.se with Internet Mail Service (5.5.2448.0) id ; Thu, 24 May 2001 13:35:35 +0200 Message-ID: <778DFE9B4E3BD111A74E08002BA3DC0D03DA5225@trab-hermes.haninge.trab.se> From: Urban Olsson To: freebsd-hackers@FreeBSD.ORG Subject: modified FreeBSD gateway Date: Thu, 24 May 2001 13:35:34 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I have a question regarding modification of a FreeBSD gateway (the = Internet gateway for a LAN). What I want to do is to have the gateway pick up = the packets, modify the IP-header and resend the packet onto the network. = This is a little bit like a NAT but I want to be able to do it differently = and on my own terms. I guess that this means that I would be forced to rewrite = the gateway source-code so it behaves as I want it to. So the problem now = is that I don=B4t really know where to start. If anyone out there has some suggestions on how to start, which files to modify and so on I would be grateful. As far as I know there might already be some code out there = that does the very thing I want. In that case, feel free to share the = knowledge. regards Urban To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message