From owner-freebsd-hackers Wed Dec 5 2: 4:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 4DB5637B405; Wed, 5 Dec 2001 02:04:15 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.6/8.11.6) with ESMTP id fB5A4AR08574; Wed, 5 Dec 2001 10:04:10 GMT (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.6/8.11.6) with ESMTP id fB5A1VE72716; Wed, 5 Dec 2001 10:01:31 GMT (envelope-from brian@freebsd-services.com) Message-Id: <200112051001.fB5A1VE72716@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Greg Lane , freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Cc: brian@freebsd.org, Julian Elischer Subject: Re: [Fwd: Jul 30 changes to ppp break my Telstra ADSL PPPoE connection] In-Reply-To: Message from Julian Elischer of "Wed, 05 Dec 2001 01:22:10 PST." <3C0DE742.83C17AA5@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Dec 2001 10:01:31 +0000 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Thanks for your report. Would you be able to grab me logs of the connection that doesn't work (the latest ppp) and the one that works (the pre-July 30 one) with the following set: set log tun chat lcp ipcp It may be possible to fix the problem by changing your ``set mru'' and ``set mtu'' lines to set mru max 1454 set mtu max 1454 but, even if this is successful, I'd be interested in the logs. It may also be worth trying the latest version of ppp from my web site (http://www.Awfulak.org/~brian) - just in case it's something that I've already fixed but have forgotten to MFC. If that's the case, then I should be able to find the bogus code more easily. Thanks. > -------- Original Message -------- > From: Greg Lane > Subject: Jul 30 changes to ppp break my Telstra ADSL PPPoE connection > To: freebsd-hackers@FreeBSD.ORG > CC: freebsd-questions@FreeBSD.ORG > > G'day all, > > I have a problem with PPPoE over Telstra ADSL (Australia). A full > description of the problem can be found in freebsd-questions > (see 20011201011107.A9404@nucl03.anu.edu.au dated Nov 30) > with the subject: > > ADSL PPPoE (Telstra Aust.) began to hang between 4.3- and 4.4-RELEASE > > The short of it is that at some point during my cvsup history certain > types of traffic would hang, specifically most web traffic and certain > types of ssh (e.g. ls -l of a long directory). This was reminiscent of > the MTU/MRU problems at the beginning of the year. I backdated to > 4.3-RELEASE which worked and I forgot about it until recently when I > decided to change my gateway machine. > > I have now chased it up in earnest by going back through > various dated "cvsup's" and making the world. On > July 30th there were some changes to src/usr.sbin/ppp that break ppp > and cause this problem. Strangely enough the changes were related to > MRU's :-> !! > > I can reliably make my DSL connection work on three different machines > using four different network cards (ed, de, vr, rl) with source dated > Jul 30 12:01am, and reliably break it with anything after > Jul 31 12:01am. > > The changes made to ppp on that day were to: > > src/usr.sbin/ppp/command.c > src/usr.sbin/ppp/lpc.c > src/usr.sbin/ppp/nat_cmd.c > src/usr.sbin/ppp/nat_cmd.h > src/usr.sbin/ppp/ppp.8 > > The most likely problem is lpc.c because 1) it looks the most > complicated(!!) and 2) it is supposed to: > > MFC: Handle peer REQ/NAKs of >1500 byte MRUs when we have no preference > > The other diffs were small and were to implement two issues: > > MFC: If the peer REJects our MRU REQ, stop REQing it -- *EVEN* if we're > doing PPPoE and the default MRU is therefore too big. > > MFC: Actually add the ``nat proto'' command > > I'm afraid my lack of knowledge stops me going on from here. My > ppp.conf is below and I start ppp with "ppp -ddial -nat -quiet bigpond" > Can anyone see the problem and suggest further detective work I can > perform or even better, a fix or workaround? > > Cheers, > Greg > > P.S. I have cross-posted to questions since the thread started there > and hackers since I believe I have narrowed down the problem and it is > technical. I hope this is OK. Please confine your reply to whatever > list you feel is appropriate, I am subscribed to both. > > --------------------------------------------------- > default: > #Only enable logging for troubleshooting > #set log CBCP CCP Chat Connect Command IPCP tun Phase Warning Debug LCP sync > > set device PPPoE:rl0:bigpond > set speed sync > set mru 1454 > set mtu 1454 > set ctsrts off > enable lqr > add default HISADDR > set timeout 0 > set redial 7 0 > set socket /var/run/pppsocket **** ***** > > #Network Address Translation (NAT) > nat enable yes > nat log yes > #nat same_ports yes > nat unregistered_only yes > > #enable dns # this disabled since the box now runs its own dns > > bigpond: > set authname ******* > set authkey ******* > ------------------------------------------------------- -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message