Date: Sun, 17 Mar 1996 10:31:27 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: frankd@yoda.fdt.net, Kai.Vorma@hut.fi Subject: Re: Linux PPP upgrade causes problems Message-ID: <199603170931.KAA10600@uriah.heep.sax.de> In-Reply-To: <199603170709.JAA19448@lesti.hut.fi> from "Kai Vorma" at Mar 17, 96 09:09:07 am
next in thread | previous in thread | raw e-mail | index | archive | help
As Kai Vorma wrote: > > > My Linux using ISP just upgraded his PPP version to 2.2.0e and I can no > longer access the net from his system. I am using user level PPP from > -stable of about a month and a half ago (early Feb) and have had no problems > > Sounds familiar. Try adding to /etc/ppp/ppp.conf > > disable pred1 > deny pred1 IIJPPP's CCP handling is horribly broken. It continues to use pred1 compression even after the CCP negotiation yielded with no commonly agreed compression protocol. *However*, if your Linux side is using pppd, they should consider also applying the patch that i've recently introduced in FreeBSD-current. There's no use in keeping the CCP layer up after no common compression protocol could be found, so closing this layer down is the best that can be done. This way, IIJPPP does also stop using pred1 compression. It simply makes your ISP being better safe than sorry. The patch is very small, so i'm posting it here again (rcsid diff omitted): Index: /usr/src/usr.sbin/pppd/ccp.c =================================================================== RCS file: /home/cvs/src/usr.sbin/pppd/ccp.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -u -r1.3 -r1.4 --- ccp.c 1995/10/31 21:29:19 1.3 +++ ccp.c 1996/03/08 01:21:53 1.4 @@ -497,6 +497,10 @@ syslog(LOG_NOTICE, "%s enabled", go->bsd_compress? ho->bsd_compress? "Compression": "Receive compression": "Transmit compression"); + if (!ANY_COMPRESS(ccp_gotoptions[f->unit])) { + syslog(LOG_NOTICE, "No matching compression scheme, CCP disabled"); + ccp_close(f->unit); + } } /* -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603170931.KAA10600>