[pptp-server] pptpd processes not killed after disconnect

Tony Lill ajlill at ajlc.waterloo.on.ca
Wed Aug 30 11:55:29 CDT 2000


if it's also blithering in the log files and filling up your disk,
it's an old bug. Here's the patch:

Index: network/vpn/pptpd/pptpctrl.c
diff -c network/vpn/pptpd/pptpctrl.c:1.1.1.1 network/vpn/pptpd/pptpctrl.c:1.2
*** network/vpn/pptpd/pptpctrl.c:1.1.1.1	Sat Sep  4 20:41:42 1999
--- network/vpn/pptpd/pptpctrl.c	Mon Nov  8 11:21:28 1999
***************
*** 460,465 ****
--- 460,468 ----
  				break;
  			case STOP_CTRL_CONN_RPLY:
  				goto skip;
+ 			case 0:
+ 			    /* Read error, bail */
+ 			    goto skip;
  			default:
  				syslog(LOG_WARNING, "CTRL: Unexpected control message %d in disconnect sequence", pkt);
  			}
--
Tony Lill,                         Tony.Lill at AJLC.Waterloo.ON.CA
President, A. J. Lill Consultants        fax/data (519) 650 3571
539 Grand Valley Dr., Cambridge, Ont. N3H 2S2     (519) 241 2461
--------------- http://www.ajlc.waterloo.on.ca/ ----------------
"Welcome to All Things UNIX, where if it's not UNIX, it's CRAP!"



More information about the pptp-server mailing list