From owner-freebsd-net  Mon Oct  2 17: 5: 3 2000
Delivered-To: freebsd-net@freebsd.org
Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.42.130.87])
	by hub.freebsd.org (Postfix) with ESMTP id CF65C37B502
	for <freebsd-net@FreeBSD.ORG>; Mon,  2 Oct 2000 17:04:54 -0700 (PDT)
Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18])
	by xena.gsicomp.on.ca (8.10.1/8.9.2) with SMTP id e93046s97854;
	Mon, 2 Oct 2000 20:04:07 -0400 (EDT)
	(envelope-from matt@gsicomp.on.ca)
Message-ID: <001101c02ccd$c1e96470$1200a8c0@gsicomp.on.ca>
From: "Matthew Emmerton" <matt@gsicomp.on.ca>
To: "Julian Elischer" <julian@elischer.org>,
	"Brian Somers" <brian@Awfulhak.org>
Cc: "Patrick Bihan-Faou" <patrick@mindstep.com>,
	<freebsd-net@FreeBSD.ORG>, <brian@Awfulhak.org>
References: <200010022329.e92NT9n37409@hak.lan.Awfulhak.org>
Subject: Re: natd and userland ppp 
Date: Mon, 2 Oct 2000 20:05:59 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-freebsd-net@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


> > > It seems also that some features (such as automatic holes in the
firewall
> > > and dynamic rules) are a bit tricky to get working properly with
aliasing in
> > > ppp. Now I probably missed some tricks on that side, so don't flame me
> > > because of that last comment, educate me!
> >
> >
> > I'm not an expert on PPP's filtering rules.. I'll let Brian answer
that..
>
> The firewall punching stuff is done internally in libalias, so
> there's no code duplication there.
>
> I think there's probably room for some sort of ascii interface to
> libalias though, including (at least) the natd configuration file
> parser.  That way ppp could allow ``nat config /etc/natd.conf'' and
> could have a generally more compatible (with natd) interface.

And just in case anyone was wondering, I am currently working on a ``nat
config <configfile>'' feature for ppp.  I'm just taking lots of time
determining the best way to do it, since there is a considerable amount of
code from natd that needs to be added to ppp (in other words, the config
file parser is around 25% of natd's total code.)

--
Matthew Emmerton
GSI Computer Services
+1 (800) 217 5409 (Canada)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message