Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 1996 17:15:06 -0500 (CDT)
From:      Dan Walters <hannibal@cyberstation.net>
To:        Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= <max@wide.ad.jp>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: IIJ-PPP patch, please review
Message-ID:  <Pine.BSI.3.95.961012171023.8334A-100000@citrine.cyberstation.net>
In-Reply-To: <199610121833.DAA18858@mail.tky007.tth.expo96.ad.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
BTW, the filters don't allow anything like "set ifilter 0 permit tcp
estab", because the function that parses the rules for tcp/udp doesn't
let the estab get through...  Just need to delete about 3 lines at the
top.

======================================================================
Dan Walters
hannibal@cyberstation.net
======================================================================

On Sun, 13 Oct 1996, Masafumi NAKANE/[ISO-2022-JP] 中根雅文 wrote:

> Hi,
> 
> Recently I found a nice modification to IIJ-PPP by Hideo NORO
> <norop@fastnet.or.jp>.  With this patch applied, the auto mode
> (dial-on-demand mode) of IIJ-PPP doesn't require any dummy packet to
> be sent before the link is established.  So, it's like true
> dial-on-demand.
> 
> The features added/modified by this patch are:
> 
> 1.  Added two options, ``syn'' and ``finrst'' , as the packet
> filtering options to be specified in the ppp.conf file.  These are for
> TCP's syn packet and fin/rst packet respectively.
> 
> 2. When executed in automatic mode and netmask of the source (or
> local) address given in the set ifaddr is less than 32, followings are
> performed.  If these conditions are not met, normal operations are
> done (just as with the non-modified version of IIJ-PPP).
> 
> 2.1 For 4~5 seconds after the link is established (an address is
> assigned to the tunnel device), PPP changes the source IP address in
> the IP header to the assigned address if it differs from the assigned
> address and re-calculate the IP checksum.
> 
> 2.2 Re-calculate the checksum for TCP and UDP packets.
> 
> 2.3 Change the address of the tunnel device to 0.0.0.0 upon
> disconnection of the line.
> 
> 
> The patch was originally made to work with IIJ-PPP included in the
> FreeBSD 2.1.5R, and I modified it to work with the PPP in
> FreeBSD-current.
> 
> I tested the modified version and it seems running fine.
> 
> Could someone review this?  If things are ok, the author of this patch
> and I would like to merge this patch into FreeBSD-current.
> 
>      Thanks.
> 
> Max
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.961012171023.8334A-100000>