From owner-freebsd-hackers Sun Mar 17 01:50:42 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA03242 for hackers-outgoing; Sun, 17 Mar 1996 01:50:42 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA03235 for ; Sun, 17 Mar 1996 01:50:38 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA23360; Sun, 17 Mar 1996 10:50:25 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id KAA21146; Sun, 17 Mar 1996 10:50:24 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id KAA10600; Sun, 17 Mar 1996 10:31:27 +0100 (MET) From: J Wunsch Message-Id: <199603170931.KAA10600@uriah.heep.sax.de> Subject: Re: Linux PPP upgrade causes problems To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Sun, 17 Mar 1996 10:31:27 +0100 (MET) Cc: frankd@yoda.fdt.net, Kai.Vorma@hut.fi Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603170709.JAA19448@lesti.hut.fi> from "Kai Vorma" at Mar 17, 96 09:09:07 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)