Subject: bin/18506: ipppctl/isdnd appear to stomp over some option fields
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hf@tangro.de>
List: netbsd-bugs
Date: 10/02/2002 18:31:26
>Number:         18506
>Category:       bin
>Synopsis:       ipppctl/isdnd appear to stomp over some option fields
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 02 09:32:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hauke Fath
>Release:        NetBSD 1.6_STABLE
>Organization:
Tangro GmbH -- does not speak for me and vice versa.
>Environment:
System: NetBSD jump 1.6_STABLE NetBSD 1.6_STABLE (JUMP) #0: Tue Oct 1 14:06:01 CEST 2002 hf@scree.tangro.de:/usr/src/sys/arch/i386/compile/JUMP i386
Architecture: i386
Machine: i386

Oct  1 18:32:58 jump /netbsd: isic0 at isa0 port 0x340-0x347 irq 5
Oct  1 18:32:58 jump /netbsd: isic0: AVM A1 or AVM Fritz!Card
Oct  1 18:32:58 jump /netbsd: isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2)
Oct  1 18:32:58 jump /netbsd: isic0: HSCX 82525 or 21525 Version 2.1
Oct  1 18:32:58 jump /netbsd: BRI 0 at isic0

>Description:
	isppp and isdnd appear to stomp on (some) option fields.

>How-To-Repeat:

[hf@jump] /etc/isdn # ipppctl ippp0 myauthname=FOO hisauthname=BAR
[hf@jump] /etc/isdn # ipppctl -v ippp0
ippp0:  phase=terminate
        myauthproto=chap myauthname="FOO"
        hisauthproto=chap hisauthname="BAR"
        lcp timeout: 0.800 s
        idle timeout = disabled
        max-auth-failure = 5
[hf@jump] /etc/isdn # ipppctl ippp0 myauthname=FOO 
[hf@jump] /etc/isdn # ipppctl -v ippp0
ippp0:  phase=terminate
        myauthproto=chap myauthname="FOO"
        hisauthproto=chap hisauthname="(null)"
        lcp timeout: 0.800 s
        idle timeout = disabled
        max-auth-failure = 5
[hf@jump] /etc/isdn # ipppctl ippp0 hisauthname=BAR
[hf@jump] /etc/isdn # ipppctl -v ippp0
ippp0:  phase=terminate
        myauthproto=chap myauthname="(null)"
        hisauthproto=chap hisauthname="BAR"
        lcp timeout: 0.800 s
        idle timeout = disabled
        max-auth-failure = 5
[hf@jump] /etc/isdn #

This results in the client failing to chap authenticate after ten
retries that produce the log entry

Oct  2 18:21:39 jump /netbsd: ippp0: chap starting without my name being set

Setting the {my,his}auth{name,secret} in /etc/isdn/isdnd.rc makes no
difference.

>Fix:
	None, sorry.
>Release-Note:
>Audit-Trail:
>Unformatted: