Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2000 23:54:15 -0400
From:      "Patrick Bihan-Faou" <patrick@mindstep.com>
To:        <freebsd-net@freebsd.org>
Subject:   Re: natd and userland ppp
Message-ID:  <038501c02ced$99936960$040aa8c0@local.mindstep.com>
References:  <200010022329.e92NT9n37409@hak.lan.Awfulhak.org> <001101c02ccd$c1e96470$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,


> > 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.)

Ouch, that hurts...

25% code porting calls for drastic measures... It would definitely be nice
to have the same code for these two tools. Maybe extending the library or
creating a new one, I don't know. But if the code is not the same, there
will be some divergence at some point and that will be painfull... There
must be a better way (although I don't have the answer).

Patrick.



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?038501c02ced$99936960$040aa8c0>