From nobody  Tue Jan 20 16:10:57 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id QAA20498;
          Tue, 20 Jan 1998 16:10:57 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199801210010.QAA20498@hub.freebsd.org>
Date: Tue, 20 Jan 1998 16:10:57 -0800 (PST)
From: gcr@fedex.com
To: freebsd-gnats-submit@freebsd.org
Subject: iijppp server fails to exit and hang up when carrier drops
X-Send-Pr-Version: www-1.0

>Number:         5534
>Category:       bin
>Synopsis:       iijppp server fails to exit and hang up when carrier drops
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 20 16:20:02 PST 1998
>Closed-Date:    Tue Jan 20 18:19:32 PST 1998
>Last-Modified:  Tue Jan 20 18:20:51 PST 1998
>Originator:     Greg Rivers
>Release:        2.2.5-RELEASE
>Organization:
Federal Express
>Environment:
FreeBSD dial.dspd.fedex.com 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Wed Jan 14 13:18:51 CST 1998     mm@w07.dspd.fedex.com:/usr/src/sys/compile/DIAL.486  i386
>Description:
When a remote ppp client disconnects, loss of carrier on the server's
modem does not terminate the ppp program (invoked as `ppp -direct').
The tun* device remains allocated and no further connections on that
port are possible.

Seems to be hung on select(2) in main.c line 886 ?
>How-To-Repeat:
/etc/ppp/ppp.conf on the server:
#
default:
 set authname dial
 set authkey xxxxxxxxxxxxxx
 set timeout 3600
 enable pap
 disable chap

PPP login uses ppp -direct

We are using a 6-port Boca card with the following kernel configuration:

options "COM_MULTIPORT"
device sio4 at isa? port 0x220 tty flags 0x905
device sio5 at isa? port 0x228 tty flags 0x905
device sio6 at isa? port 0x240 tty flags 0x905
device sio7 at isa? port 0x248 tty flags 0x905
device sio8 at isa? port 0x260 tty flags 0x905
device sio9 at isa? port 0x268 tty flags 0x905 irq 5 vector siointr
>Fix:
Work-around:  Use the ppp binary from 2.1.7.1-RELEASE
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Tue Jan 20 18:19:32 PST 1998 
State-Changed-Why:  
This is fixed in -current (and mentioned in ERRATA.TXT on www.freebsd.org). 
You can upgrade to the latest sources at http://www.freebsd.org/~brian. 


Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Tue Jan 20 18:19:32 PST 1998 
Responsible-Changed-Why:  
Ppp's mine 
>Unformatted:
