ppp/chap/internetmci.com

ppp/chap/internetmci.com

Post by Mike Chandle » Wed, 04 Jun 1997 04:00:00



Linux-PPP-internetMCI.com

Does Linux handle CHAP with md5 encryption?

I am using Redhat 4.1 with pppd version 2.2.0f and I can't seem to get
past
the IPCP authorization phase of logging into internetMCI.com.  I called
them
and got the old soft shoe "We don't support any other operating system
but
Windows 95, but the people I have talked to were having problems with
their
login scripts.  Our servers don't allow login scripts and as soon as
they
know your using one they dump you out."  Funny thing is, they said that
about
Windows Nt too.  The facts are that they are using Chap md5 for
everything but
Windows 3.1 and for that they use SPAP.  Can Linux pppd handle CHAP md5?
If so would somebody look at the information I have provided and give me
some idea what to try next.  I am desperately trying to get away from
Microsoft
and their windows.

#My ppp file
#!/bin/sh
/usr/sbin/pppd file /etc/ppp/options kdebug 7 debug /dev/cua0 38400 \
connect '/usr/sbin/chat -v -t 45 -f /etc/ppp/chat.mci' &

#My /etc/ppp/chat.mci file.
TIMEOUT         10
ABORT   '\nBUSY\r'      
ABORT   '\nNO ANSWER\r'
""    \rAT    
'OK-+++\c-OK'  
ATH0
TIMEOUT 30      
OK ATDTMCI_Dial_in_Number
CONNECT

name My_Username
-vj
#0.0.0.0:0.0.0.0
ipcp-accept-local
ipcp-accept-remote
mtu 552
mru 552
-detach
asyncmap 0
modem
crtscts
defaultroute
noipdefault
/dev/cua0
115200
lock
domain internetMCI.com

#MY Chap-secrets file
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
My_Username * My_Password

#MY pap-secrets file
# Secrets for authentication using PAP
# client        server  secret                  IP addresses
My_username    *    My_password

#The file created by /etc/syslog.conf "daemon.*"
Jun  3 22:00:31 internetMCI pppd[7069]: pppd 2.2.0 started by root, uid
0
Jun  3 22:00:47 internetMCI pppd[7069]: Serial connection established.
Jun  3 22:00:48 internetMCI pppd[7069]: Using interface ppp0
Jun  3 22:00:48 internetMCI pppd[7069]: Connect: ppp0 <--> /dev/cua0
Jun  3 22:00:48 internetMCI pppd[7069]: sent [LCP ConfReq id=0x1 <mru
552>

<asyncmap 0x0> <magic 0x7ea34a01> <pcomp> <accomp>]
Jun  3 22:00:52 internetMCI pppd[7069]: sent [LCP ConfReq id=0x1 <mru
552>

<asyncmap 0x0> <magic 0x7ea34a01> <pcomp> <accomp>]
Jun  3 22:00:52 internetMCI pppd[7069]: rcvd [LCP ConfReq id=0x1
<asyncmap 0x0>

<auth chap md5> <magic 0x340b123> <pcomp> <accomp>]
Jun  3 22:00:52 internetMCI pppd[7069]: sent [LCP ConfNak id=0x1 <auth
pap>]
Jun  3 22:00:52 internetMCI pppd[7069]: rcvd [LCP ConfReq id=0x2
<asyncmap 0x0>

<auth chap md5> <magic 0x340b123> <pcomp> <accomp>]
Jun  3 22:00:52 internetMCI pppd[7069]: sent [LCP ConfNak id=0x2 <auth
pap>]
Jun  3 22:00:52 internetMCI pppd[7069]: rcvd [LCP ConfReq id=0x3
<asyncmap 0x0>

<auth chap md5> <magic 0x340b123> <pcomp> <accomp>]
Jun  3 22:00:52 internetMCI pppd[7069]: sent [LCP ConfNak id=0x3 <auth
pap>]
Jun  3 22:00:52 internetMCI pppd[7069]: rcvd [LCP ConfReq id=0x4
<asyncmap 0x0>

<auth chap md5> <magic 0x340b123> <pcomp> <accomp>]
Jun  3 22:00:52 internetMCI pppd[7069]: sent [LCP ConfNak id=0x4 <auth
pap>]
Jun  3 22:00:52 internetMCI pppd[7069]: rcvd [LCP ConfReq id=0x5
<asyncmap 0x0>

<auth chap md5> <magic 0x340b123> <pcomp> <accomp>]
Jun  3 22:00:52 internetMCI pppd[7069]: sent [LCP ConfNak id=0x5 <auth
pap>]
Jun  3 22:00:53 internetMCI pppd[7069]: rcvd [LCP ConfReq id=0x6
<asyncmap 0x0>

<auth chap md5> <magic 0x340b123> <pcomp> <accomp>]
Jun  3 22:00:53 internetMCI pppd[7069]: sent [LCP ConfRej id=0x6 <auth
chap md5>]
Jun  3 22:00:53 internetMCI pppd[7069]: rcvd [LCP ConfReq id=0x7
<asyncmap 0x0>

<magic 0x340b123> <pcomp> <accomp>]
Jun  3 22:00:53 internetMCI pppd[7069]: sent [LCP ConfAck id=0x7
<asyncmap 0x0>

<magic 0x340b123> <pcomp> <accomp>]
Jun  3 22:00:55 internetMCI pppd[7069]: sent [LCP ConfReq id=0x1 <mru
552>

<asyncmap 0x0> <magic 0x7ea34a01> <pcomp> <accomp>]
Jun  3 22:00:55 internetMCI pppd[7069]: rcvd [LCP ConfAck id=0x1 <mru
552>

<asyncmap 0x0> <magic 0x7ea34a01> <pcomp> <accomp>]
Jun  3 22:00:55 internetMCI pppd[7069]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0>]
Jun  3 22:01:22 internetMCI last message repeated 9 times
Jun  3 22:01:25 internetMCI pppd[7069]: IPCP: timeout sending
Config-Requests
Jun  3 22:03:24 internetMCI pppd[7069]: Terminating on signal 15.
Jun  3 22:03:24 internetMCI pppd[7069]: sent [LCP TermReq id=0x2]
Jun  3 22:03:24 internetMCI pppd[7069]: rcvd [LCP TermAck id=0x8]
Jun  3 22:03:24 internetMCI pppd[7069]: Connection terminated.
Jun  3 22:0
3:24 internetMCI pppd[7069]: Exit.

#My /var/log/messages file
Jun  3 22:00:31 internetMCI kernel: PPP: version 2.2.0 (dynamic channel
allocation)
Jun  3 22:00:31 internetMCI kernel: PPP Dynamic channel allocation code
copyright

1995 Caldera, Inc.
Jun  3 22:00:31 internetMCI kernel: PPP line discipline registered.
Jun  3 22:00:31 internetMCI kernel: registered device ppp0
Jun  3 22:00:31 internetMCI pppd[7069]: pppd 2.2.0 started by root, uid
0
Jun  3 22:00:32 internetMCI chat[7072]: timeout set to 10 seconds
Jun  3 22:00:32 internetMCI chat[7072]: abort on (\nBUSY\r)
Jun  3 22:00:32 internetMCI chat[7072]: abort on (\nNO ANSWER\r)
Jun  3 22:00:32 internetMCI chat[7072]: send (^MAT^M)
Jun  3 22:00:32 internetMCI chat[7072]: expect (OK)
Jun  3 22:00:32 internetMCI chat[7072]: ^MAT^M^M
Jun  3 22:00:32 internetMCI chat[7072]: OK -- got it
Jun  3 22:00:32 internetMCI chat[7072]: send (ATH0^M)
Jun  3 22:00:32 internetMCI chat[7072]: timeout set to 30 seconds
Jun  3 22:00:32 internetMCI chat[7072]: expect (OK)
Jun  3 22:00:32 internetMCI chat[7072]: ^M
Jun  3 22:00:32 internetMCI chat[7072]: ATH0^M^M
Jun  3 22:00:32 internetMCI chat[7072]: OK -- got it
Jun  3 22:00:32 internetMCI chat[7072]: send (ATDT235-1300^M)
Jun  3 22:00:33 internetMCI chat[7072]: expect (CONNECT)
Jun  3 22:00:33 internetMCI chat[7072]: ^M
Jun  3 22:00:47 internetMCI chat[7072]: ATDT235-1300^M^M
Jun  3 22:00:47 internetMCI pppd[7069]: Serial connection established.
Jun  3 22:00:47 internetMCI chat[7072]: CONNECT -- got it
Jun  3 22:00:48 internetMCI kernel: ppp_tty_ioctl: set flags to 70000
Jun  3 22:00:48 internetMCI kernel: ppp_tty_ioctl: set flags to 70000
Jun  3 22:00:48 internetMCI pppd[7069]: Using interface ppp0
Jun  3 22:00:48 internetMCI kernel: ppp_tty_ioctl: set xasyncmap
Jun  3 22:00:48 internetMCI kernel: ppp_tty_ioctl: set xmit asyncmap
ffffffff
Jun  3 22:00:48 internetMCI kernel: ppp_tty_ioctl: set flags to 70000
Jun  3 22:00:48 internetMCI kernel: ppp_tty_ioctl: set mru to 5dc
Jun  3 22:00:48 internetMCI kernel: ppp_tty_ioctl: set rcv asyncmap 0
Jun  3 22:00:48 internetMCI kernel: ppp_tty_ioctl: set flags to 70010
Jun  3 22:00:48 internetMCI pppd[7069]: Connect: ppp0 <--> /dev/cua0
Jun  3 22:00:52 internetMCI kernel: ppp: frame with bad fcs, excess =
8c4b
Jun  3 22:00:52 internetMCI kernel: ppp: successfully queued 27 bytes,
flags =

f070010
Jun  3 22:00:53 internetMCI last message repeated 5 times
Jun  3 22:00:53 internetMCI kernel: ppp: successfully queued 22 bytes,
flags =

f070010
Jun  3 22:00:53 internetMCI kernel: ppp_tty_ioctl: set mru to 5dc
Jun  3 22:00:53 internetMCI kernel: ppp_tty_ioctl: set rcv asyncmap 0
Jun  3 22:00:53 internetMCI kernel: ppp_tty_ioctl: set flags to f070000
Jun  3 22:00:55 internetMCI kernel: ppp: successfully queued 26 bytes,
flags =

f070000
Jun  3 22:00:55 internetMCI kernel: ppp_tty_ioctl: set xmit asyncmap 0
Jun  3 22:00:55 internetMCI kernel: ppp_tty_ioctl: set flags to f070003
Jun  3 22:00:55 internetMCI kernel: ppp_tty_ioctl: set mru to 228
Jun  3 22:00:55 internetMCI kernel: ppp: channel ppp0 mtu = 552, mru =
552
Jun  3 22:00:55 internetMCI kernel: ppp_tty_ioctl: set rcv asyncmap 0
Jun  3 22:00:55 internetMCI kernel: ppp_tty_ioctl: set flags to f070003
Jun  3 22:00:55 internetMCI kernel: ppp_tty_ioctl: set flags to f070043
Jun  3 22:01:25 internetMCI pppd[7069]: IPCP: timeout sending
Config-Requests
Jun  3 22:03:24 internetMCI pppd[7069]: Terminating on signal 15.
Jun  3 22:03:24 internetMCI kernel: ppp_tty_ioctl: set xmit asyncmap
ffffffff
Jun  3 22:03:24 internetMCI kernel: ppp_tty_ioctl: set flags to f070040
Jun  3 22:03:24 internetMCI kernel: ppp_tty_ioctl: set mru to 5dc
Jun  3 22:03:24 internetMCI kernel: ppp: channel ppp0 mtu = 1500, mru =
1500
Jun  3 22:03:24 internetMCI kernel: ppp_tty_ioctl: set rcv asyncmap 0
Jun  3 22:03:24 internetMCI kernel: ppp_tty_ioctl: set flags to f070050
Jun  3 22:03:24 internetMCI kernel: ppp_tty_ioctl: set flags to f070010
Jun  3 22:03:24 internetMCI kernel: ppp: successfully queued 6 bytes,
flags =

f070010
Jun  3 22:03:24 internetMCI pppd[7069]: Connection terminated.
Jun  3 22:03:24 internetMCI kernel: ppp_tty_ioctl: get debug level 7
Jun  3 22:03:24 internetMCI kernel: ppp_tty_ioctl: set flags to f000010
Jun  3 22:03:24 internetMCI pppd[7069]: Exit.
Jun  3 22:04:31 internetMCI kernel: PPP: ppp line discipline
successfully

unregistered
Jun  3 22:06:27 internetMCI innd[342]: s

 
 
 

1. pppd - PAP, CHAP, MS-CHAP, MS-CHAP-v2 protocol negotiation

Hi,

We have clients connecting to pppd 2.4.2b1.
Clients are able to connect using PAP, CHAP, MS-CHAP, MS-CHAP-v2 if
the pppd configuration is set up to require a specific protocol, eg:

If we change /etc/ppp/options to not request a specific protocol,
clients can only connect using PAP or MS-CHAP-V2. Client trying to
connect through CHAP or MS-CHAP fail and Pppd logs the error "peer
refused to authenticate: terminating link"

pppd configuration:

We'd like our clients to be able to connect using PAP, CHAP, MS-CHAP
or MS-CHAP-v2, the protocol being negotiated by server and client...

I suppose it's a pppd configuration issue; any help is highly
appreciated.
Thx.
dan

2. NIS+ replicas

3. internetMCI and PPP

4. installing java

5. Connection Linux PPP to internetMCI

6. thegreatkarthik@yahoo.co.in

7. Using InternetMCI over a PPP to connect..

8. CD-Rom Control website

9. PPP connecting to internetMCI

10. Help with PPP InternetMCI (CWIX)

11. internetMCI & PPP

12. Mimmicing FTP's PPP login with CHAP in Linux PPP

13. CISCO PPP server + Linux PPP Client + CHAP