From owner-freebsd-questions Wed Jul 3 23:27:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF07B37B400 for ; Wed, 3 Jul 2002 23:27:40 -0700 (PDT) Received: from alcanet.com.au (mail2.alcanet.com.au [203.62.196.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5107C43E42 for ; Wed, 3 Jul 2002 23:27:39 -0700 (PDT) (envelope-from Andrew.Li@alcatel.com.au) Received: from sydsmtp01.alcatel.com.au (localhost.localdomain [127.0.0.1]) by alcanet.com.au (8.12.4/8.12.4/Alcanet1.3) with ESMTP id g646RZKl003741 for ; Thu, 4 Jul 2002 16:27:36 +1000 Received: from aald03 ([139.188.39.13]) by sydsmtp01.alcatel.com.au (Lotus Domino Release 5.0.10) with ESMTP id 2002070416273564:3622 ; Thu, 4 Jul 2002 16:27:35 +1000 Date: Thu, 4 Jul 2002 16:27:35 +1000 (EST) From: Andrew Li X-X-Sender: To: Subject: PAP? NO! CHAP? NO! Message-ID: MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on SYDSMTP01/AlcatelAustralia(Release 5.0.10 |March 22, 2002) at 04/07/2002 04:27:35 PM, Serialize by Router on SYDSMTP01/AlcatelAustralia(Release 5.0.10 |March 22, 2002) at 04/07/2002 04:27:37 PM, Serialize complete at 04/07/2002 04:27:37 PM Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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