From owner-freebsd-hackers Mon Jul 28 05:10:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA27924 for hackers-outgoing; Mon, 28 Jul 1997 05:10:32 -0700 (PDT) Received: from server.netplus.com.br (root@[200.247.23.97]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA27887 for ; Mon, 28 Jul 1997 05:10:26 -0700 (PDT) Received: from sergio.lenzi (dial11.netplus [192.168.9.18]) by server.netplus.com.br (8.8.5/8.8.5) with ESMTP id JAA25508; Mon, 28 Jul 1997 09:13:40 GMT Received: from localhost (lenzi@localhost) by sergio.lenzi (8.8.5/8.8.5) with SMTP id JAA07245; Mon, 28 Jul 1997 09:12:06 GMT X-Authentication-Warning: sergio.lenzi: lenzi owned process doing -bs Date: Mon, 28 Jul 1997 09:12:06 +0000 (GMT) From: "Lenzi, Sergio" X-Sender: lenzi@sergio To: Dan Janowski cc: avalon@coombs.anu.edu.au, kernel@acromail.ml.org, danny@panda.hilink.com.au, freebsd-hackers@FreeBSD.ORG Subject: Re: ipfw divert, transparent proxy In-Reply-To: <199707271555.LAA00845@fnur.3skel.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 27 Jul 1997, Dan Janowski wrote: > > There seems to be some agreement that using divert > sockets is the way to go, but I still am at a loss > for any examples using the mechanism. Does anyone > have any code, snippet or functional, that utilizes > the interface? Reading the kernel code is only a > step away, but an example, even a simple one, would > help. > There is a "package" (natd_1.8.tgz) at ftp://netplus.com.br/packages install the package and use man natd to see the example. It works great with that ISP that uses ONLY ONE IP (200.247.23.97). Hope this can help, Sergio Lenzi. Unix consult.