Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 1996 10:41:32 -0500
From:      "Steve Sims" <SimsS@IBM.Net>
To:        <hackers@FreeBSD.Org>
Subject:   Userland PPP - IP Aliasing
Message-ID:  <199612041541.PAA107009@smtp-gw01.ny.us.ibm.net>

next in thread | raw e-mail | index | archive | help
Some time back, Charles Mott posted some changes to iij-ppp that provides
IP-Address masquerading to permit a dial-up PPP client to act as a neutered
gateway for other locally-connected nodes to connect through the dial-out
line.

His changes were based on 2.1.5 code and I contacted him to determine if
these changes were ever rolled into the -CURRENT code base.  My note to him:

===== Steve Sims wrote:
> Charles, 
> 
> I've stumbled into your PPP masquerading patches and I am intrigued
> by what I see.
> 
> (I haven't actually built the userland ppp with the changes, since I'll
have
> to grok the differences between your patches, the 2.1.5 base code and the
3.0
> code I've got.)
> 
> I'm running -CURRENT and I notice that this (welcome) hack has not been
> merged with the tree.  Before I hurl a potential Molotov Cocktail into
> -hackers, I wonder if it has already been discussed unto death about
mapping
> the masquerading functions into the -RELEASE || -CURRENT trees.  
> 
> Anyway, any word on adding your changes to the src tree?
> 

And his reply:
===== Charles Mott penned:
> Hi, Steve,
> 
> I am new to the FreeBSD community, and I have not added my opinions as to
> whether the code I have written should be added to the source tree.  From
> looking at the newsgroup postings, I would suggest that it be done in such
> a way that packet aliasing (IP masquerading) is enabled by a "-alias" in
> the command line.  That way, the same ppp.conf file can be used with or
> without masquerading. 
> 
> You will find that the packet aliasing software (in alias.c, alias_db.c
> and alias_ftp.c) hooks into the main code with three primary function
> calls:  initialization, incoming packet aliasing, and outgoing packet
> aliasing.  It should be fairly simple to link into the 3.0 code. 
> Differencing the base 2.1.5 code and my revised code will show that
> merging is fairly simple. 
> 
> I certainly do not mind if you add the code to the source tree.  There is
> quite a demand for this function, and I have tried to make a sound
> implementation. 
> 
> Charles Mott
=======

I've taken a stab at rolling his changes into the -CURRENT code base and
actually have a 3.0-CURRENT iij-ppp that works, masquerading and all.  I
haven't delved into adding this feature as a command-line option to ppp
(i.e.: `ppp -alias [system name]` but it doesn't seem too hard to do so.

So, my question is this:  With whom should I work to have this added into the
tree?  I've been on the consumer side of FreeBSD for a LONG time, I guess
it's time to contribute something back - now how to proceed?  I have DIFF's
of the 3.0 code base before- and after- making the aliasing changes, but I
don't know what to do with them (except use 'em ;-).

...sjs...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612041541.PAA107009>