From owner-freebsd-net@FreeBSD.ORG Mon Aug 25 05:06:05 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7BC516A4BF for ; Mon, 25 Aug 2003 05:06:05 -0700 (PDT) Received: from pancake.sggw.waw.pl (pancake.sggw.waw.pl [148.81.130.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EE7A43FE0 for ; Mon, 25 Aug 2003 05:06:04 -0700 (PDT) (envelope-from hunter24@pancake.sggw.waw.pl) Received: from pancake.sggw.waw.pl (localhost.localdomain [127.0.0.1]) by pancake.sggw.waw.pl (8.12.8/8.12.5) with ESMTP id h7PBw6eG028871 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 25 Aug 2003 13:58:06 +0200 Received: (from hunter24@localhost) by pancake.sggw.waw.pl (8.12.8/8.12.8/Submit) id h7PBvx36028869 for freebsd-net@freebsd.org; Mon, 25 Aug 2003 13:57:59 +0200 Date: Mon, 25 Aug 2003 13:57:59 +0200 From: Krzysztof Drewicz To: freebsd-net@freebsd.org Message-ID: <20030825115759.GA28840@pancake.sggw.waw.pl> References: <20030724003908.GA15877@raszyn.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030724003908.GA15877@raszyn.pl> User-Agent: Mutt/1.4.1i Subject: bin/54891 Re: libalias/natd and identd support X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 12:06:05 -0000 On Thu, Jul 24, 2003 at 02:39:08AM +0200, Krzysztof Drewicz wrote: > > I've written small patch for that. Natd binds additonal AF_UNIX/DGRAM > socket, and asks libalias about connections. Hi. I've written appropriate os.c for oidentd (tested witch 2.0.5 & 2.0.7) Patch against RELENG_4 & os.c could be found here: http://ofca.pl/bsdident/ Could anyone test it and submit comments? It works for me & my ISP for 12h now without any problems. kd. ps. it should be easy to extend it's possibilities to work with lets say 5 diffrent natds, but natd should use some standard /var/run/natd/dir/ for connections sockets, so utils like oidentd/os.c could easy query any working natd. I'm thinking even about sth like 'ipnat -l' for natd or controling libalias's links ie. reseting, changing expire times etc... -- Krzysztof Drewicz Podsłuchane na pogrzebie: "Wiem, że to niezręcznie pytać o takie rzeczy w tej chwili, ale przypominasz sobie, żeby on kiedykolwiek wspomniał coś o kodzie źródłowym?" --- Charles Addams