From owner-freebsd-current Sat Oct 12 15:15:49 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA03977 for current-outgoing; Sat, 12 Oct 1996 15:15:49 -0700 (PDT) Received: from citrine.cyberstation.net (hannibal@citrine.cyberstation.net [205.167.0.5]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA03951 for ; Sat, 12 Oct 1996 15:15:14 -0700 (PDT) Received: from localhost (hannibal@localhost) by citrine.cyberstation.net (8.6.12/8.6.12) with SMTP id RAA08812; Sat, 12 Oct 1996 17:15:07 -0500 Date: Sat, 12 Oct 1996 17:15:06 -0500 (CDT) From: Dan Walters To: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= cc: freebsd-current@FreeBSD.ORG Subject: Re: IIJ-PPP patch, please review In-Reply-To: <199610121833.DAA18858@mail.tky007.tth.expo96.ad.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 > . 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 >