Bug 31771

Summary: PPP compares CHAP81 response case sensitive
Product: Base System Reporter: wjw <wjw>
Component: i386Assignee: Brian Somers <brian>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   

Description wjw 2001-11-05 10:10:01 UTC
	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.

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
How-To-Repeat: 
	One needs a Watchguard (or perhaps Linux) firewall and build the 
	pptpclient configuration and connect with a pptp-enabled usercode
Comment 1 Tom Hukins freebsd_committer freebsd_triage 2001-11-07 19:49:57 UTC
Responsible Changed
From-To: freebsd-bugs->brian

Over to ppp maintainer
Comment 2 Brian Somers freebsd_committer freebsd_triage 2003-11-10 21:31:56 UTC
State Changed
From-To: open->closed

This is now fixed in -current