Ras Server vs Linux Suse 7.1 and Chap secrets


A

AleCaf

Hi,

my problem is about authentication on a win2k adv serv for
a Linux client that must use CHAP secrets. I don't use IAS
and I've enabled reversibly encrypted passwords. As you
can see from the configuration files of pppd demon a
double way authentication is required : client to server
and server to client.
Under RAS Server control there is a GSM Modem and the
serial link is established correctly

Please, I'd like to know where is the problem

Thanks

****** win2k log message

04/07/2003
15.53.05 RemoteAccess Information None
20048 N/A servername The user
clientname connected on port COM1 on 07/04/2003 at 03:52pm
and disconnected on 07/04/2003 at 03:53pm. The user was
active for 0 minutes 36 seconds. 3348 bytes were sent and
6014 bytes were received. The port speed was 9600. The
reason for disconnecting was administrator's request.
04/07/2003
15.52.29 RemoteAccess Information None
20015 N/A servername The user
clientname has connected and has been successfully
authenticated on port
COM1.
04/07/2003
15.52.27 RemoteAccess Information None
20088 N/A servername The Remote Access
Server acquired IP Address 161.90.222.78 to be used on the
Server Adapter.

***** Chap secrets
# client server secret IP addresses
SERVERNAME\\clientname SERVERNAME passwd *
SERVERNAME SERVERNAME\\clientname passwd *

****** Options file for pppd demon
/dev/modem
19200
#noauth
auth
crtscts
defaultroute
asyncmap a0
user ROGS\\SiemensRogate
name ROGS\\SiemensRogate
remotename ROGS
require-chap
+chap
-pap

*************************** linux log
Jan 1 07:35:40 rogate chat[2269]: timeout set to 65535
seconds
Jan 1 07:35:40 rogate chat[2269]: abort on (NO CARRIER)
Jan 1 07:35:40 rogate chat[2269]: send (atd0039338888^M)
Jan 1 07:35:41 rogate chat[2269]: expect (ONNECT)
Jan 1 07:36:06 rogate chat[2269]: atd0039338888^M^M
Jan 1 07:36:06 rogate chat[2269]: CONNECT
Jan 1 07:36:06 rogate chat[2269]: -- got it
Jan 1 07:36:06 rogate pppd[2267]: Serial connection
established.
Jan 1 07:36:06 rogate pppd[2267]: Using interface ppp0
Jan 1 07:36:06 rogate pppd[2267]: Connect: ppp0 <--
/dev/modem
Jan 1 07:36:07 rogate pppd[2267]: sent [LCP ConfReq
id=0x1 <asyncmap 0xa0> <auth chap MD5> <magic 0x1f8081d6>
<pcomp> <accomp>]
Jan 1 07:36:07 rogate kernel: ppp: write frame, count = 29
Jan 1 07:36:07 rogate kernel: FF 03 C0 21 01 01 00
19 ...!....
Jan 1 07:36:07 rogate kernel: 02 06 00 00 00 A0 03
05 ........
Jan 1 07:36:07 rogate kernel: C2 23 05 05 06 1F 80
81 .#......
Jan 1 07:36:07 rogate kernel: D6 07 02 08
02 .....
Jan 1 07:36:09 rogate pppd[2267]: rcvd [LCP ConfReq
id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x43cf4d76>
<pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint
[local:a9.55.d4.a2.b1.6a.4b.e5.a1.db.75.33.96.b7.21.c6.00.0
0.00.00]> < 17 04 00 0f>]
Jan 1 07:36:09 rogate pppd[2267]: sent [LCP ConfRej
id=0x0 <callback CBCP> <mrru 1614> < 17 04 00 0f>]
Jan 1 07:36:09 rogate kernel: ppp: write frame, count = 19
Jan 1 07:36:09 rogate kernel: FF 03 C0 21 04 00 00
0F ...!....
Jan 1 07:36:09 rogate kernel: 0D 03 06 11 04 06 4E
17 ......N.
Jan 1 07:36:09 rogate kernel: 04 00 0F ...
Jan 1 07:36:09 rogate pppd[2267]: rcvd [LCP ConfAck
id=0x1 <asyncmap 0xa0> <auth chap MD5> <magic 0x1f8081d6>
<pcomp> <accomp>]
Jan 1 07:36:10 rogate pppd[2267]: rcvd [LCP ConfReq
id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x43cf4d76>
<pcomp> <accomp> <endpoint
[local:a9.55.d4.a2.b1.6a.4b.e5.a1.db.75.33.96.b7.21.c6.00.0
0.00.00]>]
Jan 1 07:36:10 rogate pppd[2267]: sent [LCP ConfAck
id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x43cf4d76>
<pcomp> <accomp> <endpoint
[local:a9.55.d4.a2.b1.6a.4b.e5.a1.db.75.33.96.b7.21.c6.00.0
0.00.00]>]
Jan 1 07:36:10 rogate kernel: ppp: write frame, count = 52
Jan 1 07:36:10 rogate kernel: FF 03 C0 21 02 01 00
30 ...!...0
Jan 1 07:36:10 rogate kernel: 02 06 00 00 00 00 03
05 ........
Jan 1 07:36:10 rogate kernel: C2 23 05 05 06 43 CF
4D .#...C.M
Jan 1 07:36:10 rogate kernel: 76 07 02 08 02 13 17 01
v.......
Jan 1 07:36:10 rogate kernel: A9 55 D4 A2 B1 6A 4B
E5 .U...jK.
Jan 1 07:36:10 rogate kernel: A1 DB 75 33 96 B7 21
C6 ..u3..!.
Jan 1 07:36:10 rogate kernel: 00 00 00 00 ....
Jan 1 07:36:10 rogate pppd[2267]: sent [LCP EchoReq
id=0x0 magic=0x1f8081d6]
Jan 1 07:36:10 rogate kernel: ppp: write frame, count = 12
Jan 1 07:36:10 rogate kernel: FF 03 C0 21 09 00 00
08 ...!....
Jan 1 07:36:10 rogate kernel: 1F 80 81 D6 ....
Jan 1 07:36:10 rogate pppd[2267]: sent [CHAP Challenge
id=0x1 <2deb72eeed047ac41e9a04cb8077107afcbd688b4a3719>,
name = "servername\\clientname"]
Jan 1 07:36:10 rogate kernel: ppp: write frame, count = 50
Jan 1 07:36:10 rogate kernel: FF 03 C2 23 01 01 00
2E ...#....
Jan 1 07:36:10 rogate kernel: 17 2D EB 72 EE ED 04 7A .-
..r...z
Jan 1 07:36:10 rogate kernel: C4 1E 9A 04 CB 80 77
10 ......w.
Jan 1 07:36:10 rogate kernel: 7A FC BD 68 8B 4A 37 19
z..h.J7.
Jan 1 07:36:10 rogate kernel: 52 4F 47 53 5C 53 69 65
servername\cli
Jan 1 07:36:10 rogate kernel: 6D 65 6E 73 52 6F 67 61
entname
Jan 1 07:36:10 rogate kernel: 74 65 te
Jan 1 07:36:12 rogate pppd[2267]: rcvd [CHAP Challenge
id=0x0 <f70ec79aea25b761b2ee759c8642c301>, name
= "servername"]
Jan 1 07:36:12 rogate pppd[2267]: sent [CHAP Response
id=0x0 <3b80476357fcae30a5f713e23d408103>, name
= "servername\\clientname"]
Jan 1 07:36:12 rogate kernel: ppp: write frame, count = 43
Jan 1 07:36:12 rogate kernel: FF 03 C2 23 02 00 00
27 ...#...'
Jan 1 07:36:12 rogate kernel: 10 3B 80 47 63 57 FC
AE .;.GcW..
Jan 1 07:36:12 rogate kernel: 30 A5 F7 13 E2 3D 40 81
[email protected]
Jan 1 07:36:12 rogate kernel: 03 52 4F 47 53 5C 53
69 .servername\cli
Jan 1 07:36:12 rogate kernel: 65 6D 65 6E 73 52 6F 67
entname
Jan 1 07:36:12 rogate kernel: 61 74 65 ate
Jan 1 07:36:12 rogate pppd[2267]: rcvd [LCP EchoRep
id=0x0 magic=0x43cf4d76]
Jan 1 07:36:13 rogate pppd[2267]: rcvd [CHAP Success
id=0x0 ""]
Jan 1 07:36:13 rogate pppd[2267]: rcvd [LCP ConfReq
id=0x3 <asyncmap 0x0> <auth chap MD5> <magic 0x7d023684>
<pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint
[local:a9.55.d4.a2.b1.6a.4b.e5.a1.db.75.33.96.b7.21.c6.00.0
0.00.00]> < 17 04 00 0f>]
Jan 1 07:36:13 rogate pppd[2267]: sent [LCP ConfReq
id=0x2 <asyncmap 0xa0> <auth chap MD5> <magic 0xbf2de5d3>
<pcomp> <accomp>]
Jan 1 07:36:13 rogate kernel: ppp: write frame, count = 29
Jan 1 07:36:13 rogate kernel: FF 03 C0 21 01 02 00
19 ...!....
Jan 1 07:36:13 rogate kernel: 02 06 00 00 00 A0 03
05 ........
Jan 1 07:36:13 rogate kernel: C2 23 05 05 06 BF 2D
E5 .#....-.
Jan 1 07:36:13 rogate kernel: D3 07 02 08
02 .....
Jan 1 07:36:13 rogate pppd[2267]: sent [LCP ConfRej
id=0x3 <callback CBCP> <mrru 1614> < 17 04 00 0f>]
Jan 1 07:36:13 rogate kernel: ppp: write frame, count = 19
Jan 1 07:36:13 rogate kernel: FF 03 C0 21 04 03 00
0F ...!....
Jan 1 07:36:13 rogate kernel: 0D 03 06 11 04 06 4E
17 ......N.
Jan 1 07:36:13 rogate kernel: 04 00 0F ...
Jan 1 07:36:15 rogate pppd[2267]: rcvd [LCP ConfRej
id=0x2 <auth chap MD5>]
Jan 1 07:36:15 rogate pppd[2267]: sent [LCP ConfReq
id=0x3 <asyncmap 0xa0> <magic 0xbf2de5d3> <pcomp> <accomp>]
Jan 1 07:36:15 rogate kernel: ppp: write frame, count = 24
Jan 1 07:36:15 rogate kernel: FF 03 C0 21 01 03 00
14 ...!....
Jan 1 07:36:15 rogate kernel: 02 06 00 00 00 A0 05
06 ........
Jan 1 07:36:15 rogate kernel: BF 2D E5 D3 07 02 08 02 .-
.......
Jan 1 07:36:15 rogate pppd[2267]: rcvd [LCP ConfReq
id=0x4 <asyncmap 0x0> <auth chap MD5> <magic 0x7d023684>
<pcomp> <accomp> <endpoint
[local:a9.55.d4.a2.b1.6a.4b.e5.a1.db.75.33.96.b7.21.c6.00.0
0.00.00]>]
Jan 1 07:36:15 rogate pppd[2267]: sent [LCP ConfAck
id=0x4 <asyncmap 0x0> <auth chap MD5> <magic 0x7d023684>
<pcomp> <accomp> <endpoint
[local:a9.55.d4.a2.b1.6a.4b.e5.a1.db.75.33.96.b7.21.c6.00.0
0.00.00]>]
Jan 1 07:36:15 rogate kernel: ppp: write frame, count = 52
Jan 1 07:36:15 rogate kernel: FF 03 C0 21 02 04 00
30 ...!...0
Jan 1 07:36:15 rogate kernel: 02 06 00 00 00 00 03
05 ........
Jan 1 07:36:15 rogate kernel: C2 23 05 05 06 7D 02
36 .#...}.6
Jan 1 07:36:15 rogate kernel: 84 07 02 08 02 13 17
01 ........
Jan 1 07:36:15 rogate kernel: A9 55 D4 A2 B1 6A 4B
E5 .U...jK.
Jan 1 07:36:15 rogate kernel: A1 DB 75 33 96 B7 21
C6 ..u3..!.
Jan 1 07:36:15 rogate kernel: 00 00 00 00 ....
Jan 1 07:36:16 rogate pppd[2267]: rcvd [LCP ConfAck
id=0x3 <asyncmap 0xa0> <magic 0xbf2de5d3> <pcomp> <accomp>]
Jan 1 07:36:16 rogate pppd[2267]: sent [LCP EchoReq
id=0x0 magic=0xbf2de5d3]
Jan 1 07:36:16 rogate kernel: ppp: write frame, count = 12
Jan 1 07:36:16 rogate kernel: FF 03 C0 21 09 00 00
08 ...!....
Jan 1 07:36:16 rogate kernel: BF 2D E5 D3 .-..
Jan 1 07:36:16 rogate pppd[2267]: peer refused to
authenticate: terminating link
Jan 1 07:36:16 rogate pppd[2267]: sent [LCP TermReq
id=0x4 "peer refused to authenticate"]
Jan 1 07:36:16 rogate kernel: ppp: write frame, count = 36
Jan 1 07:36:16 rogate kernel: FF 03 C0 21 05 04 00
20 ...!...
Jan 1 07:36:16 rogate kernel: 70 65 65 72 20 72 65 66
peer ref
Jan 1 07:36:16 rogate kernel: 75 73 65 64 20 74 6F 20
used to
Jan 1 07:36:16 rogate kernel: 61 75 74 68 65 6E 74 69
authenti
Jan 1 07:36:16 rogate kernel: 63 61 74 65 cate
Jan 1 07:36:16 rogate pppd[2267]: rcvd [CHAP Challenge
id=0x0 <4970ff6bf7b7c0c09831229f8642c301>, name
= "servername"]
Jan 1 07:36:18 rogate pppd[2267]: rcvd [LCP EchoRep
id=0x0 magic=0x7d023684]
Jan 1 07:36:18 rogate pppd[2267]: rcvd [LCP TermAck
id=0x4 "peer refused to authenticate"]
Jan 1 07:36:18 rogate pppd[2267]: Connection terminated.
Jan 1 07:36:18 rogate chat[2271]: send (\p+\p+\p+)
Jan 1 07:36:18 rogate chat[2271]: expect (OK)
Jan 1 07:36:19 rogate chat[2271]: ^M
Jan 1 07:36:19 rogate chat[2271]: OK
Jan 1 07:36:19 rogate chat[2271]: -- got it
Jan 1 07:36:19 rogate chat[2271]: send (ath^M)
Jan 1 07:36:19 rogate pppd[2267]: Serial link
disconnected.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top