From nobody@FreeBSD.org  Mon Jul 30 21:23:56 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id C4CFE37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Jul 2001 21:23:56 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f6V4Nue44161;
	Mon, 30 Jul 2001 21:23:56 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107310423.f6V4Nue44161@freefall.freebsd.org>
Date: Mon, 30 Jul 2001 21:23:56 -0700 (PDT)
From: Douglas Pokorny <doug.pokorny@intel.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PPP LCP negotiation broken in 4.3-STABLE
X-Send-Pr-Version: www-1.0

>Number:         29342
>Category:       bin
>Synopsis:       PPP LCP negotiation broken in 4.3-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 30 21:30:01 PDT 2001
>Closed-Date:    Tue Jul 31 01:13:43 PDT 2001
>Last-Modified:  Tue Jul 31 01:14:23 PDT 2001
>Originator:     Douglas Pokorny
>Release:        4.3-STABLE
>Organization:
>Environment:
FreeBSD squirt 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon Jul 30 18:28:02 PDT 2001     root@squirt:/usr/src/sys/compile/DRP.squirt  i386
s
>Description:
As far as I can tell, a change was made between version 1.81.2.4 and 1.81.2.8 of /usr/src/usr.sbin/ppp/lcp.c which breaks dialup access with my ISP, Innercite.

The LCP debug output isn't very descriptive, so I can't be more specific, it simply fails a negotiation and drops the connection:

Jul 30 20:02:41 squirt ppp[573]: LCP:  MRU[4] 2048
Jul 30 20:02:41 squirt ppp[573]: LCP: deflink: RecvConfigReq(2) state = Ack-Rcvd

Jul 30 20:02:41 squirt ppp[573]: LCP:  MRU[4] 1524
Jul 30 20:02:41 squirt ppp[573]: LCP:  ACCMAP[6] 0x00000000
Jul 30 20:02:41 squirt ppp[573]: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Jul 30 20:02:41 squirt ppp[573]: LCP:  PROTOCOMP[2]
Jul 30 20:02:41 squirt ppp[573]: LCP:  ACFCOMP[2]
Jul 30 20:02:41 squirt ppp[573]: LCP:  ENDDISC[9] MAC 00:c0:7b:8a:9e:22
Jul 30 20:02:41 squirt ppp[573]: LCP: deflink: SendConfigNak(2) state = Ack-Rcvd

Jul 30 20:02:41 squirt ppp[573]: LCP:  MRU[4] 2048
Jul 30 20:02:41 squirt ppp[573]: LCP: deflink: RecvTerminateReq(3) state = Ack-R
cvd
Jul 30 20:02:41 squirt ppp[573]: LCP: deflink: SendTerminateAck(3) state = Ack-R
cvd
Jul 30 20:02:41 squirt ppp[573]: LCP: deflink: State change Ack-Rcvd --> Req-Sen


ppp.conf is very simple:
default:

 set device /dev/cuaa0

 set log Phase Chat Command
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"

 set timeout 0

 nat enable yes
 nat log yes

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR

innercite:
 set phone 5031525
 set authname ********
 set authkey ********

Most of the changes appear to be related to the MTU/MRU, but given the poor debug output, I can't tell exactly what the failure is.
>How-To-Repeat:
1)  Use PPP with lcp.c version 1.81.2.8

2)  Dial any of Innercite's access numbers

3)  Watch it fail

I'm currently trying to find out what Innercite uses for its PPP servers.
>Fix:
N/A
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Tue Jul 31 01:13:43 PDT 2001 
State-Changed-Why:  
A fix was merged on July 30.  Please update your sources and try again. 
Thanks for the report. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29342 
>Unformatted:
