LCP negotication when accepting an incoming call


F

frank

Hi all,
I used a device to dial into the Wondows 2000 Pro. My
device supports CHAP and PAP and always try the CHAP
first, if it fails, then try the PAP.
The problem is that when the Windows 2000 Pro accepts an
incoming call, it sends a config_req packet with CHAP and
algorithm 0x81 but my device only supports CHAP and
algorithm 0x05 (MD5). So my device will send config_nak
to the Wondows 2000. Next time the Windows 2000 sends
config_req with CHAP and algorithm 0x80. My device again
sends a config_nak. Third time the Windows 2000 sends a
config_req with PAP and my device likes it and sends
config_ack finally.
My question is does the Windows 2000 Pro supports CHAP
and algorithm 0x05 (MD5)? How can I get it working?


Thanks,
frank

[956] 11:38:02:125: Line up event occurred on port 5
[956] 11:38:02:125: PortName: COM1
[956] 11:38:02:125: Starting PPP on link with
IfType=0x0,IPIf=0x0,IPXIf=0x0
[956] 11:38:02:125: RasGetBuffer returned ee930 for SendBuf
[956] 11:38:02:125: FsmInit called for protocol = c021,
port = 5
[956] 11:38:02:125: ConfigInfo = 81274a
[956] 11:38:02:125: APs available = 56
[956] 11:38:02:125: FsmReset called for protocol = c021,
port = 5
[956] 11:38:02:125: Inserting port in bucket # 5
[956] 11:38:02:125: Inserting bundle in bucket # 3
[956] 11:38:02:125: FsmOpen event received for protocol
c021 on port 5
[956] 11:38:02:125: FsmThisLayerStarted called for
protocol = c021, port = 5
[956] 11:38:02:125: FsmUp event received for protocol c021
on port 5
[956] 11:38:02:125: <PPP packet sent at 10/22/2003
15:38:02:125
[956] 11:38:02:125: <Protocol = LCP, Type = Configure-Req,
Length = 0x3d, Id = 0x0, Port = 5
[956] 11:38:02:125: <C0 21 01 00 00 3B 02 06 00 00 00 00
03 05 C2 23 |.!...;.........#|
[956] 11:38:02:125: <81 05 06 46 D2 63 65 07 02 08 02 0D
03 06 11 04 |...F.ce.........|
[956] 11:38:02:125: <06 4E 13 17 01 61 86 37 FF BA E6 4D
F0 98 59 DB |.N...a.7...M..Y.|
[956] 11:38:02:125: <8C 20 7E 94 F5 00 00 00 00 17 04 00
06 00 00 00 |. ~.............|
[956] 11:38:02:125:
[956] 11:38:02:125: InsertInTimerQ called
portid=14,Id=0,Protocol=c021,EventType=0,fAuth=0
[956] 11:38:02:125: InsertInTimerQ called
portid=14,Id=0,Protocol=0,EventType=3,fAuth=0
[956] 11:38:02:125: >PPP packet received at 10/22/2003
15:38:02:125
[956] 11:38:02:125: >Protocol = LCP, Type = Configure-Req,
Length = 0x16, Id = 0x1, Port = 5
[956] 11:38:02:125: >C0 21 01 01 00 14 01 04 05 DC 02 06
00 00 00 00 |.!..............|
[956] 11:38:02:125: >05 06 73 1C C0 61 00 00 00 00 00 00
00 00 00 00 |..s..a..........|
[956] 11:38:02:125:
[956] 11:38:02:125: <PPP packet sent at 10/22/2003
15:38:02:125
[956] 11:38:02:125: <Protocol = LCP, Type = Configure-Ack,
Length = 0x16, Id = 0x1, Port = 5
[956] 11:38:02:125: <C0 21 02 01 00 14 01 04 05 DC 02 06
00 00 00 00 |.!..............|
[956] 11:38:02:125: <05 06 73 1C C0 61 00 00 00 00 00 00
00 00 00 00 |..s..a..........|
[956] 11:38:02:125:
[792] 11:38:02:562: Packet received (44 bytes) for hPort 5
[956] 11:38:02:562: >PPP packet received at 10/22/2003
15:38:02:562
[956] 11:38:02:562: >Protocol = LCP, Type = Configure-
Reject, Length = 0x2c, Id = 0x0, Port = 5
[956] 11:38:02:562: >C0 21 04 00 00 2A 07 02 08 02 0D 03
06 11 04 06 |.!...*..........|
[956] 11:38:02:562: >4E 13 17 01 61 86 37 FF BA E6 4D F0
98 59 DB 8C |N...a.7...M..Y..|
[956] 11:38:02:562: >20 7E 94 F5 00 00 00 00 17 04 00 06
00 00 00 00 | ~..............|
[956] 11:38:02:562:
[956] 11:38:02:562: RemoveFromTimerQ called
portid=14,Id=0,Protocol=c021,EventType=0,fAuth=0
[956] 11:38:02:562: <PPP packet sent at 10/22/2003
15:38:02:562
[956] 11:38:02:562: <Protocol = LCP, Type = Configure-Req,
Length = 0x17, Id = 0x1, Port = 5
[956] 11:38:02:562: <C0 21 01 01 00 15 02 06 00 00 00 00
03 05 C2 23 |.!.............#|
[956] 11:38:02:562: <81 05 06 46 D2 63 65 00 00 00 00 00
00 00 00 00 |...F.ce.........|
[956] 11:38:02:578:
[956] 11:38:02:578: InsertInTimerQ called
portid=14,Id=1,Protocol=c021,EventType=0,fAuth=0
[792] 11:38:02:796: Packet received (11 bytes) for hPort 5
[956] 11:38:02:796: >PPP packet received at 10/22/2003
15:38:02:796
[956] 11:38:02:796: >Protocol = LCP, Type = Configure-Nak,
Length = 0xb, Id = 0x1, Port = 5
[956] 11:38:02:796: >C0 21 03 01 00 09 03 05 C2 23 05 00
00 00 00 00 |.!.......#......|
[956] 11:38:02:796:
[956] 11:38:02:796: RemoveFromTimerQ called
portid=14,Id=1,Protocol=c021,EventType=0,fAuth=0
[956] 11:38:02:796: <PPP packet sent at 10/22/2003
15:38:02:796
[956] 11:38:02:796: <Protocol = LCP, Type = Configure-Req,
Length = 0x17, Id = 0x2, Port = 5
[956] 11:38:02:796: <C0 21 01 02 00 15 02 06 00 00 00 00
03 05 C2 23 |.!.............#|
[956] 11:38:02:796: <80 05 06 46 D2 63 65 00 00 00 00 00
00 00 00 00 |...F.ce.........|
[956] 11:38:02:796:
[956] 11:38:02:796: InsertInTimerQ called
portid=14,Id=2,Protocol=c021,EventType=0,fAuth=0
[792] 11:38:03:000: Packet received (11 bytes) for hPort 5
[956] 11:38:03:000: >PPP packet received at 10/22/2003
15:38:03:000
[956] 11:38:03:000: >Protocol = LCP, Type = Configure-Nak,
Length = 0xb, Id = 0x2, Port = 5
[956] 11:38:03:000: >C0 21 03 02 00 09 03 05 C2 23 05 00
00 00 00 00 |.!.......#......|
[956] 11:38:03:000:
[956] 11:38:03:000: RemoveFromTimerQ called
portid=14,Id=2,Protocol=c021,EventType=0,fAuth=0
[956] 11:38:03:000: <PPP packet sent at 10/22/2003
15:38:03:000
[956] 11:38:03:000: <Protocol = LCP, Type = Configure-Req,
Length = 0x1a, Id = 0x3, Port = 5
[956] 11:38:03:000: <C0 21 01 03 00 18 02 06 00 00 00 00
03 08 C0 27 |.!.............'|
[956] 11:38:03:000: <01 00 00 01 05 06 46 D2 63 65 00 00
00 00 00 00 |......F.ce......|
[956] 11:38:03:000:
[956] 11:38:03:000: InsertInTimerQ called
portid=14,Id=3,Protocol=c021,EventType=0,fAuth=0
[792] 11:38:03:234: Packet received (11 bytes) for hPort 5
[956] 11:38:03:234: >PPP packet received at 10/22/2003
15:38:03:234
[956] 11:38:03:234: >Protocol = LCP, Type = Configure-Nak,
Length = 0xb, Id = 0x3, Port = 5
[956] 11:38:03:234: >C0 21 03 03 00 09 03 05 C2 23 05 00
00 00 00 00 |.!.......#......|
[956] 11:38:03:234:
[956] 11:38:03:234: RemoveFromTimerQ called
portid=14,Id=3,Protocol=c021,EventType=0,fAuth=0
[956] 11:38:03:234: <PPP packet sent at 10/22/2003
15:38:03:234
[956] 11:38:03:234: <Protocol = LCP, Type = Configure-Req,
Length = 0x16, Id = 0x4, Port = 5
[956] 11:38:03:234: <C0 21 01 04 00 14 02 06 00 00 00 00
03 04 C0 23 |.!.............#|
[956] 11:38:03:234: <05 06 46 D2 63 65 00 00 00 00 00 00
00 00 00 00 |..F.ce..........|
[956] 11:38:03:234:
[956] 11:38:03:234: InsertInTimerQ called
portid=14,Id=4,Protocol=c021,EventType=0,fAuth=0
[792] 11:38:03:546: Packet received (22 bytes) for hPort 5
[956] 11:38:03:546: >PPP packet received at 10/22/2003
15:38:03:546
[956] 11:38:03:546: >Protocol = LCP, Type = Configure-Ack,
Length = 0x16, Id = 0x4, Port = 5
[956] 11:38:03:546: >C0 21 02 04 00 14 02 06 00 00 00 00
03 04 C0 23 |.!.............#|
[956] 11:38:03:546: >05 06 46 D2 63 65 00 00 00 00 00 00
00 00 00 00 |..F.ce..........|
[956] 11:38:03:546:
[956] 11:38:03:546: RemoveFromTimerQ called
portid=14,Id=4,Protocol=c021,EventType=0,fAuth=0
[956] 11:38:03:546: FsmThisLayerUp called for protocol =
c021, port = 5
[956] 11:38:03:546: LCP Local Options-------------
[956] 11:38:03:546:
MRU=1500,ACCM=0,Auth=c023,MagicNumber=1188193125,PF
C=OFF,ACFC=OFF
[956] 11:38:03:546: Recv Framing =
PPP,SSHF=OFF,MRRU=1500,LinkDiscrim=6,BAP=OFF
[956] 11:38:03:546: LCP Remote Options-------------
[956] 11:38:03:546:
MRU=1500,ACCM=0,Auth=0,MagicNumber=1931264097,PFC=O
FF,ACFC=OFF
[956] 11:38:03:546: Send Framing =
PPP,SSHF=OFF,MRRU=1500,LinkDiscrim=0
[956] 11:38:03:546: LCP Configured successfully
[956] 11:38:03:546: Authenticating phase started
[792] 11:38:03:578: Packet received (19 bytes) for hPort 5
[956] 11:38:03:578: >PPP packet received at 10/22/2003
15:38:03:578
[956] 11:38:03:578: >Protocol = PAP, Type = Protocol
specific, Length = 0x13, Id = 0x1, Port = 5
[956] 11:38:03:578:
[956] 11:38:03:578: <PPP packet sent at 10/22/2003
15:38:03:578
[956] 11:38:03:578: <Protocol = PAP, Type = Protocol
specific, Length = 0x7, Id = 0x1, Port = 5
[956] 11:38:03:578:
[956] 11:38:03:593: Auth Attribute Idle Timeout Seconds = 0
[956] 11:38:03:593: AuthAttribute MaxChannelsAllowed = -1
[956] 11:38:03:593: FsmThisLayerUp called for protocol =
c023, port = 5
[956] 11:38:03:593: NotifyCaller(hPort=5, dwMsgId=17)
[956] 11:38:03:593: NotifyCaller(hPort=5, dwMsgId=20)
[1108] 11:38:03:593: PPPEMSG_DdmInterfaceInfo
recvd,IPXif=0,IPif=a83ef8,Type=0

[956] 11:38:03:593: Will not initialize CP 8029
[956] 11:38:03:593: Will not initialize CP 803f
[956] 11:38:03:593: Will not initialize CP 802b
[956] 11:38:03:593: FsmInit called for protocol = 80fd,
port = 5
[956] 11:38:03:593: FsmReset called for protocol = 80fd,
port = 5
[956] 11:38:03:593: FsmInit called for protocol = 8021,
port = 5
[956] 11:38:03:593: FsmReset called for protocol = 8021,
port = 5
[956] 11:38:03:593: FsmOpen event received for protocol
80fd on port 5
[956] 11:38:03:593: FsmThisLayerStarted called for
protocol = 80fd, port = 5
[956] 11:38:03:593: FsmUp event received for protocol 80fd
on port 5
[956] 11:38:03:593: <PPP packet sent at 10/22/2003
15:38:03:593
[956] 11:38:03:593: <Protocol = CCP, Type = Configure-Req,
Length = 0xc, Id = 0x6, Port = 5
[956] 11:38:03:593: <80 FD 01 06 00 0A 12 06 00 00 00 01
00 00 00 00 |................|
[956] 11:38:03:593:
[956] 11:38:03:593: InsertInTimerQ called
portid=14,Id=6,Protocol=80fd,EventType=0,fAuth=0
[956] 11:38:03:593: FsmOpen event received for protocol
8021 on port 5
[956] 11:38:03:593: FsmThisLayerStarted called for
protocol = 8021, port = 5
[956] 11:38:03:593: FsmUp event received for protocol 8021
on port 5
[956] 11:38:03:593: <PPP packet sent at 10/22/2003
15:38:03:593
[956] 11:38:03:593: <Protocol = IPCP, Type = Configure-
Req, Length = 0x12, Id = 0x7, Port = 5
[956] 11:38:03:593: <80 21 01 07 00 10 02 06 00 2D 0F 01
03 06 0B 0B |.!.......-......|
[956] 11:38:03:593: <0B 0B 00 00 00 00 00 00 00 00 00 00
00 00 00 00 |................|
[956] 11:38:03:593:
[956] 11:38:03:593: InsertInTimerQ called
portid=14,Id=7,Protocol=8021,EventType=0,fAuth=0
[792] 11:38:03:875: Packet received (24 bytes) for hPort 5
[956] 11:38:03:875: >PPP packet received at 10/22/2003
15:38:03:875
[956] 11:38:03:875: >Protocol = IPCP, Type = Configure-
Req, Length = 0x18, Id = 0x1, Port = 5
[956] 11:38:03:875: >80 21 01 01 00 16 03 06 00 00 00 00
81 06 00 00 |.!..............|
[956] 11:38:03:875: >00 00 83 06 00 00 00 00 00 00 00 00
00 00 00 00 |................|
[956] 11:38:03:875:
[956] 11:38:03:875: <PPP packet sent at 10/22/2003
15:38:03:875
[956] 11:38:03:875: <Protocol = IPCP, Type = Configure-
Reject, Length = 0x12, Id = 0x1, Port = 5
[956] 11:38:03:875: <80 21 04 01 00 10 81 06 00 00 00 00
83 06 00 00 |.!..............|
[956] 11:38:03:875: <00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 |................|
[956] 11:38:03:875:
[792] 11:38:03:921: Packet received (18 bytes) for hPort 5
[956] 11:38:03:921: >PPP packet received at 10/22/2003
15:38:03:921
[956] 11:38:03:921: >Protocol = LCP, Type = Protocol-
Reject, Length = 0x12, Id = 0x1, Port = 5
[956] 11:38:03:921: >C0 21 08 01 00 10 80 FD 01 06 00 0A
12 06 00 00 |.!..............|
[956] 11:38:03:921: >00 01 00 00 00 00 00 00 00 00 00 00
00 00 00 00 |................|
[956] 11:38:03:921:
[956] 11:38:03:921: PPP Protocol Reject, Protocol = 80fd
[956] 11:38:03:921: RemoveFromTimerQ called
portid=14,Id=6,Protocol=80fd,EventType=0,fAuth=0
[956] 11:38:03:921: FsmThisLayerFinished called for
protocol = 80fd, port = 5
[792] 11:38:03:937: Packet received (12 bytes) for hPort 5
[956] 11:38:03:937: >PPP packet received at 10/22/2003
15:38:03:937
[956] 11:38:03:937: >Protocol = IPCP, Type = Configure-
Reject, Length = 0xc, Id = 0x7, Port = 5
[956] 11:38:03:937: >80 21 04 07 00 0A 02 06 00 2D 0F 01
00 00 00 00 |.!.......-......|
[956] 11:38:03:937:
[956] 11:38:03:937: RemoveFromTimerQ called
portid=14,Id=7,Protocol=8021,EventType=0,fAuth=0
[956] 11:38:03:937: <PPP packet sent at 10/22/2003
15:38:03:937
[956] 11:38:03:937: <Protocol = IPCP, Type = Configure-
Req, Length = 0xc, Id = 0x8, Port = 5
[956] 11:38:03:937: <80 21 01 08 00 0A 03 06 0B 0B 0B 0B
00 00 00 00 |.!..............|
[956] 11:38:03:937:
[956] 11:38:03:937: InsertInTimerQ called
portid=14,Id=8,Protocol=8021,EventType=0,fAuth=0
[792] 11:38:04:046: Packet received (12 bytes) for hPort 5
[956] 11:38:04:046: >PPP packet received at 10/22/2003
15:38:04:046
[956] 11:38:04:046: >Protocol = IPCP, Type = Configure-
Req, Length = 0xc, Id = 0x2, Port = 5
[956] 11:38:04:046: >80 21 01 02 00 0A 03 06 00 00 00 00
00 00 00 00 |.!..............|
[956] 11:38:04:046:
[956] 11:38:04:046: <PPP packet sent at 10/22/2003
15:38:04:046
[956] 11:38:04:046: <Protocol = IPCP, Type = Configure-
Nak, Length = 0xc, Id = 0x2, Port = 5
[956] 11:38:04:046: <80 21 03 02 00 0A 03 06 0B 0B 0B 0C
00 00 00 00 |.!..............|
[956] 11:38:04:046:
[792] 11:38:04:109: Packet received (12 bytes) for hPort 5
[956] 11:38:04:109: >PPP packet received at 10/22/2003
15:38:04:109
[956] 11:38:04:109: >Protocol = IPCP, Type = Configure-
Ack, Length = 0xc, Id = 0x8, Port = 5
[956] 11:38:04:109: >80 21 02 08 00 0A 03 06 0B 0B 0B 0B
00 00 00 00 |.!..............|
[956] 11:38:04:109:
[956] 11:38:04:109: RemoveFromTimerQ called
portid=14,Id=8,Protocol=8021,EventType=0,fAuth=0
[792] 11:38:04:234: Packet received (12 bytes) for hPort 5
[956] 11:38:04:234: >PPP packet received at 10/22/2003
15:38:04:234
[956] 11:38:04:234: >Protocol = IPCP, Type = Configure-
Req, Length = 0xc, Id = 0x3, Port = 5
[956] 11:38:04:234: >80 21 01 03 00 0A 03 06 0B 0B 0B 0C
00 00 00 00 |.!..............|
[956] 11:38:04:234:
[956] 11:38:04:234: <PPP packet sent at 10/22/2003
15:38:04:234
[956] 11:38:04:234: <Protocol = IPCP, Type = Configure-
Ack, Length = 0xc, Id = 0x3, Port = 5
[956] 11:38:04:234: <80 21 02 03 00 0A 03 06 0B 0B 0B 0C
00 00 00 00 |.!..............|
[956] 11:38:04:234:
[956] 11:38:04:234: FsmThisLayerUp called for protocol =
8021, port = 5
[956] 11:38:04:234: Notifying IPCP of projection
notification
[956] 11:38:04:234: RemoveFromTimerQ called
portid=14,Id=0,Protocol=0,EventType=3,fAuth=0
[956] 11:38:04:234: NotifyCaller(hPort=5, dwMsgId=13)
[956] 11:38:04:234: AuthAttribute SessionTimeout = 0
[792] 11:38:12:812: Packet received (10 bytes) for hPort 5
[956] 11:38:12:812: >PPP packet received at 10/22/2003
15:38:12:812
[956] 11:38:12:812: >Protocol = LCP, Type = Echo-Request,
Length = 0xa, Id = 0x2, Port = 5
[956] 11:38:12:812: >C0 21 09 02 00 08 73 1C C0 61 00 00
00 00 00 00 |.!....s..a......|
[956] 11:38:12:812:
[956] 11:38:12:812: <PPP packet sent at 10/22/2003
15:38:12:812
[956] 11:38:12:812: <Protocol = LCP, Type = Echo-Reply,
Length = 0xa, Id = 0x2, Port = 5
[956] 11:38:12:812: <C0 21 0A 02 00 08 46 D2 63 65 00 00
00 00 00 00 |.!....F.ce......|
[956] 11:38:12:812:
 
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