From owner-freebsd-stable Sat Feb 16 6:18:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from voi.aagh.net (pc1-hart4-0-cust168.mid.cable.ntl.com [62.254.84.168]) by hub.freebsd.org (Postfix) with ESMTP id 71CB037B402 for ; Sat, 16 Feb 2002 06:18:10 -0800 (PST) Received: from freaky by voi.aagh.net with local (Exim 3.34 #1) id 16c5fF-000JpP-00 for freebsd-stable@freebsd.org; Sat, 16 Feb 2002 14:18:09 +0000 Date: Sat, 16 Feb 2002 14:18:09 +0000 From: Thomas Hurst To: freebsd-stable Subject: Re: Suggestion on natd rc scripts (and an ipnat question) Message-ID: <20020216141809.GC75585@voi.aagh.net> Mail-Followup-To: freebsd-stable References: <3C6D571D.1D53EBEA@alogis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Organization: Not much. X-Operating-System: FreeBSD/4.5-PRERELEASE (i386) X-Uptime: 2:07PM up 57 days, 22:52, 4 users, load averages: 2.00, 2.00, 2.00 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Ian (freebsd@damnhippie.dyndns.org) wrote: > Speaking of ipnat... does it have the same kinds of features as natd > in terms of being able to monitor the streams on certain control ports > (irc, ftp, pptp, etc) and change the contents of the data stream to > fix embedded references to IP addresses and ports that are being > NAT'd? There is certainly code in there for FTP and a few other thing. No sign of IRC stuff, but I could easily have missed it. In natd this stuff is actually taken care of by libalias, hence ppp -nat gets the same functionality. This could do with being documented a bit better, since it's one of the most important features of a good NAT implimentation, and people concidering switching from some other system are going to want to know if they're going to loose the functionality of ip_nat_irc etc. I know I did; in the end I found myself looking through the source to find out :) Maybe an .Xr libalias 3 is in order, or a short mention of this functionality in Notes. -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - The Czechs announced after Sputnik that they, too, would launch a satellite. Of course, it would orbit Sputnik, not Earth! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message