From wjw@iae.nl  Mon Nov  5 02:07:38 2001
Return-Path: <wjw@iae.nl>
Received: from surf.iae.nl (surf.iae.nl [212.61.20.2])
	by hub.freebsd.org (Postfix) with ESMTP id B4DDD37B416
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Nov 2001 02:07:37 -0800 (PST)
Received: by surf.iae.nl (Postfix, from userid 4011)
	id B0575BFD45; Mon,  5 Nov 2001 11:07:36 +0100 (CET)
Message-Id: <20011105100736.B0575BFD45@surf.iae.nl>
Date: Mon,  5 Nov 2001 11:07:36 +0100 (CET)
From: wjw@iae.nl
Reply-To: wjw@iae.nl
To: FreeBSD-gnats-submit@freebsd.org
Subject: PPP compares CHAP81 response case sensitive
X-Send-Pr-Version: 3.2

>Number:         31771
>Category:       i386
>Synopsis:       PPP compares CHAP81 response case sensitive
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 05 02:10:01 PST 2001
>Closed-Date:    Mon Nov 10 13:56:29 PST 2003
>Last-Modified:  Mon Nov 10 13:56:29 PST 2003
>Originator:     Willem Jan  Withagen
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
VIA NET.WORKS Nederland b.v.
>Environment:
	FreeBSD 4.4-stable
	pptpclient 1.0.3
	Watchguard Firebox
		(Linux based firewall)

>Description:

	When building a PPTP VPN with the watchguard VPN service, 
	CHAP authentication is successfull but regardless the LCP connection
	is dropped. When turning on logging this displays as a warning where 
	both challenge responses are shown, and seem equal except for the case.

>How-To-Repeat:

	One needs a Watchguard (or perhaps Linux) firewall and build the 
	pptpclient configuration and connect with a pptp-enabled usercode 

>Fix:
	In /usr/src/usr.sbin/ppp/chap.c:line 905 insert a conversion for both
	answers to either upper or lowercase, and then compare.
	This fixes the problem and a working connection is than build.

	Not shure if the case conversion should take place somewhere else

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: tom 
Responsible-Changed-When: Wed Nov 7 11:49:57 PST 2001 
Responsible-Changed-Why:  
Over to ppp maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31771 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Mon Nov 10 13:31:56 PST 2003 
State-Changed-Why:  
This is now fixed in -current 

http://www.freebsd.org/cgi/query-pr.cgi?pr=31771 
>Unformatted:
