Date: Thu, 4 Jul 2002 16:27:35 +1000 (EST) From: Andrew Li <Andrew.Li@alcatel.com.au> To: <freebsd-questions@FreeBSD.ORG> Subject: PAP? NO! CHAP? NO! Message-ID: <Pine.OSF.4.33.0207041543420.12516-100000@aald03.alcatel.com.au>
next in thread | raw e-mail | index | archive | help
Hi All, Has anyone trying setting up a client/server PPP connection, where you set the client and the server to talk CHAP, but one ends up talking PAP to the other?? The situation is, when looking at the server log, it shows "his = CHAP 0x05, mine = CHAP 0x05", but when looking at the client log it shows "his = PAP, mine = CHAP 0x05". What's going on ???? Here is a client connection: tun0: LCP: FSM: Using "deflink" as a transport tun0: LCP: deflink: State change Initial --> Closed tun0: LCP: deflink: State change Closed --> Stopped tun0: LCP: deflink: LayerStart tun0: LCP: deflink: SendConfigReq(1) state = Stopped tun0: LCP: ACFCOMP[2] tun0: LCP: PROTOCOMP[2] tun0: LCP: ACCMAP[6] 0x00000000 tun0: LCP: MRU[4] 1500 tun0: LCP: MAGICNUM[6] 0xa1a7b888 tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) tun0: LCP: deflink: State change Stopped --> Req-Sent tun0: LCP: deflink: RecvConfigRej(1) state = Req-Sent tun0: LCP: Sending ident magic a1a7b888 text user-ppp 2.3.3 (built Jun 14 2002) tun0: LCP: deflink: SendIdent(0) state = Req-Sent tun0: LCP: ACFCOMP[2] tun0: LCP: PROTOCOMP[2] tun0: LCP: QUALPROTO[2] proto 1645, interval 1006010326ms tun0: LCP: deflink: SendConfigReq(2) state = Req-Sent tun0: LCP: ACCMAP[6] 0x00000000 tun0: LCP: MRU[4] 1500 tun0: LCP: MAGICNUM[6] 0xa1a7b888 tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) tun0: Phase: Unknown protocol 0x000d (reserved (transparency inefficient)) tun0: LCP: deflink: SendProtocolRej(2) state = Req-Sent tun0: LCP: deflink: RecvConfigAck(2) state = Req-Sent tun0: LCP: deflink: State change Req-Sent --> Ack-Rcvd tun0: LCP: deflink: RecvConfigReq(0) state = Ack-Rcvd tun0: LCP: ACCMAP[6] 0x00000000 tun0: LCP: MRU[4] 1500 tun0: LCP: MAGICNUM[6] 0xdf01f1a0 tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) tun0: LCP: deflink: SendConfigAck(0) state = Ack-Rcvd tun0: LCP: ACCMAP[6] 0x00000000 tun0: LCP: MRU[4] 1500 tun0: LCP: MAGICNUM[6] 0xdf01f1a0 tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) tun0: LCP: deflink: State change Ack-Rcvd --> Opened tun0: LCP: deflink: LayerUp tun0: LCP: deflink: SendEchoRequest(0) state = Opened tun0: LCP: Sending ident magic a1a7b888 text user-ppp 2.3.3 (built Jun 14 2002) tun0: LCP: deflink: SendIdent(1) state = Opened tun0: Phase: bundle: Authenticate tun0: Phase: deflink: his = PAP, mine = CHAP 0x05 tun0: Phase: Pap Output: blahblah ******** tun0: Phase: Chap Output: CHALLENGE Ppp ON aalp01> tun0: LCP: deflink: RecvEchoReply(0) state = Opened tun0: Phase: Pap Input: SUCCESS (3'T9=@lalala) tun0: Phase: Pap Input: SUCCESS () tun0: Phase: Chap Output: CHALLENGE tun0: Phase: Pap Input: SUCCESS dropped (got id 2, not 1) tun0: Phase: Chap Output: CHALLENGE tun0: Phase: Pap Input: SUCCESS dropped (got id 3, not 1) tun0: Phase: Auth: No response from server tun0: LCP: deflink: LayerDown tun0: LCP: deflink: SendTerminateReq(3) state = Opened tun0: LCP: deflink: State change Opened --> Closing tun0: LCP: deflink: RecvTerminateAck(3) state = Closing tun0: LCP: deflink: LayerFinish tun0: LCP: deflink: State change Closing --> Closed tun0: LCP: deflink: State change Closed --> Initial Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.33.0207041543420.12516-100000>