From owner-freebsd-current Thu Aug 7 08:18:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA12247 for current-outgoing; Thu, 7 Aug 1997 08:18:14 -0700 (PDT) Received: from cs.iastate.edu (cs.iastate.edu [129.186.3.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA12242 for ; Thu, 7 Aug 1997 08:18:04 -0700 (PDT) Received: from popeye.cs.iastate.edu (popeye.cs.iastate.edu [129.186.3.4]) by cs.iastate.edu (8.8.5/8.7.1) with ESMTP id KAA02591; Thu, 7 Aug 1997 10:17:57 -0500 (CDT) Received: from localhost (ghelmer@localhost) by popeye.cs.iastate.edu (8.8.5/8.7.1) with SMTP id KAA19524; Thu, 7 Aug 1997 10:17:56 -0500 (CDT) X-Authentication-Warning: popeye.cs.iastate.edu: ghelmer owned process doing -bs Date: Thu, 7 Aug 1997 10:17:55 -0500 (CDT) From: Guy Helmer To: Philippe Regnauld cc: freebsd-current@FreeBSD.ORG Subject: Re: Natd and 2.2.2 In-Reply-To: <19970807150135.54660@deepo.prosa.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 7 Aug 1997, Philippe Regnauld wrote: > How likely is it that natd can be ported to 2.2.2 ? > divert(4) is there, but it obviously won't compile out of > the box. Particularly, which libraries/headers would need > to be imported/updated for this ? I've done it - here's how. I ftp'ed the natd files out of the ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/usr.sbin/natd and directory and the libalias files out of the ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/lib/libalias directory to a 2.2.2 machine. Then, in the libalias directory, I did a "make" and then "make install". Finally, in the natd directory, I did a "make" and then "install -c -s -o bin -g bin -m 555 natd /usr/sbin" and "install -c -o bin -g bin -m 444 natd.8.gz /usr/share/man/man8" to install natd ("make install" in the natd subdirectory didn't work since I wasn't in the /usr/src/usr.sbin/natd directory). It's off and running like a charm on my friend's 2.2.2 system... Guy Helmer, Computer Science Graduate Student - ghelmer@cs.iastate.edu Iowa State University http://www.cs.iastate.edu/~ghelmer