From owner-freebsd-hackers Fri May 25 2:46: 4 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 30D2A37B422 for ; Fri, 25 May 2001 02:45:59 -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 f4P9jsI22327; Fri, 25 May 2001 11:45:55 +0200 (MEST) Received: by trab-hermes.haninge.trab.se with Internet Mail Service (5.5.2448.0) id ; Fri, 25 May 2001 11:45:54 +0200 Message-ID: <778DFE9B4E3BD111A74E08002BA3DC0D03DA5228@trab-hermes.haninge.trab.se> From: Urban Olsson To: Gunther Schadow , Urban Olsson Cc: freebsd-hackers@FreeBSD.ORG Subject: RE: modified FreeBSD gateway Date: Fri, 25 May 2001 11:45:51 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="windows-1252" 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 Thank you for the answers. I will check out the NATd code and start there. The code I will be writing is so similar to NAT so I can probably use this code with minor changes. << Urban > -----Original Message----- > From: Gunther Schadow [mailto:gunther@aurora.regenstrief.org] > Sent: Friday, May 25, 2001 2:11 AM > To: Urban Olsson > Cc: freebsd-hackers@FreeBSD.ORG > Subject: Re: modified FreeBSD gateway > > > Urban Olsson wrote: > > ... > > 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 > > Hmm, certainly you can use the divert(4) with ipfw. But I wonder > what you are trying to do? There are so many things that you can > do just using the right tool that already exists without writing > from scratch. Would you mind telling us what you want to accomplish? > > regards > -Gunther > > -- > Gunther Schadow, M.D., Ph.D. > gschadow@regenstrief.org > Medical Information Scientist Regenstrief Institute for > Health Care > Adjunct Assistent Professor Indiana University School > of Medicine > tel:1(317)630-7960 > http://aurora.regenstrief.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message