?
Solved

LCP Terminated by peer when connecting to Windows 7

Posted on 2011-03-02
6
Medium Priority
?
2,295 Views
Last Modified: 2012-05-11
I have a linux machine connecting via PPP to a windows 7 but it's constantly terminating the PPP connection during the LCP negotiation

CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [CCP ConfReq id=0x3 <mppe -H -M +S -L -D +C>]
sent [CCP ConfReq id=0x1]
sent [CCP ConfRej id=0x3 <mppe -H -M +S -L -D +C>]
rcvd [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 169.254.233.53>]
sent [IPCP ConfAck id=0x4 <compress VJ 0f 01> <addr 169.254.233.53>]
rcvd [IPCP ConfRej id=0x1 <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [CCP ConfNak id=0x1 <mppe -H -M -S -L -D -C>]
sent [CCP ConfReq id=0x2]
rcvd [LCP TermReq id=0x5 "a3\013;\000<\315t\000\000\002\346"]
LCP terminated by peer (a3^K;^@<M-Mt^@^@^BM-f)

I do not have any problems when connecting to an XP machine.
0
Comment
Question by:sjose16
  • 4
  • 2
6 Comments
 
LVL 40

Assisted Solution

by:jlevie
jlevie earned 400 total points
ID: 35029190
If I'm reading that trace correctly the two systems can't agree on the Link Control Protocol. The Windows 7 box may be using a later implementation, or it could be just broken, I can't easily say which.
0
 

Assisted Solution

by:sjose16
sjose16 earned 0 total points
ID: 35029231
This is the log on the windows 7

1868] 03-03 08:32:59:193:  
[1868] 03-03 08:32:59:193: Strong encryption
[1868] 03-03 08:32:59:193: MPPE-Send/Recv-Keys set
[1868] 03-03 08:32:59:193: Auth Attribute Domain = DFT-PANA-TEST1
[1868] 03-03 08:32:59:193: Auth Attribute Idle Timeout Seconds = 0
[1868] 03-03 08:32:59:193: AuthAttribute MaxChannelsAllowed = -1
[1868] 03-03 08:32:59:193: FsmThisLayerUp called for protocol = c223, port = 9
[1868] 03-03 08:32:59:193: NotifyCaller(hPort=9, dwMsgId=20)
[1868] 03-03 08:32:59:193: Server: Authentication successful for Guid {NA}
[1868] 03-03 08:32:59:193: NotifyCaller(hPort=9, dwMsgId=23)
[1868] 03-03 08:32:59:193: GetClientInterfaceInfo: Using Normal-filter
[1868] 03-03 08:32:59:193: GetClientInterfaceInfo: Using Normal-Ipv6filter
[1868] 03-03 08:32:59:193: ProcessNPSAuthAttributes(hPort=9): MS_VSA_Not_Quarantine_Capable received with value [0x1]
[1868] 03-03 08:32:59:193: ProcessNPSAuthAttributes(hPort=9): Received Normal v4 filters
[1868] 03-03 08:32:59:193: ProcessNPSAuthAttributes(hPort=41152300): RQS-RQC case
[1868] 03-03 08:32:59:193: ProcessNPSAuthAttributes(hPort=9): RQS-RQC: Using V4 Normal Filter as DdmNewBundle.pFilter
[3268] 03-03 08:32:59:193: PROTOCOL_MSG_DdmInterfaceInfo recvd,IPif=9,IPv6=a,Type=0

[1868] 03-03 08:32:59:193: FsmInit called for protocol = 80fd, port = 9
[1868] 03-03 08:32:59:193: FsmInit for protocol = 80fd Configuration 0x80360a
[1868] 03-03 08:32:59:193: FsmReset called for protocol = 80fd, port = 9
[1868] 03-03 08:32:59:209: FsmInit called for protocol = 8021, port = 9
[1868] 03-03 08:32:59:209: FsmInit for protocol = 8021 Configuration 0x80360a
[1868] 03-03 08:32:59:303: FsmReset called for protocol = 8021, port = 9
[1868] 03-03 08:32:59:303: FsmOpen event received for protocol 80fd on port 9
[1868] 03-03 08:32:59:303: FsmThisLayerStarted called for protocol = 80fd, port = 9
[1868] 03-03 08:32:59:303: FsmUp event received for protocol 80fd on port 9
[1868] 03-03 08:32:59:303: <PPP packet sent at 03/03/2011 16:32:59:303
[1868] 03-03 08:32:59:303: <Protocol = CCP, Type = Configure-Req, Length = 0xc, Id = 0x3, Port = 9
[1868] 08:32:59:303: <80 FD 01 03 00 0A 12 06 00 00 00 41 00 00 00 00 |...........A....|
[1868] 03-03 08:32:59:303:  
[1868] 03-03 08:32:59:303: InsertInTimerQ called portid=46,Id=3,Protocol=80fd,EventType=0,fAuth=0,Timeout=3
[1868] 03-03 08:32:59:303: FsmOpen event received for protocol 8021 on port 9
[1868] 03-03 08:32:59:303: FsmThisLayerStarted called for protocol = 8021, port = 9
[1868] 03-03 08:32:59:303: FsmUp event received for protocol 8021 on port 9
[1868] 03-03 08:32:59:303: <PPP packet sent at 03/03/2011 16:32:59:303
[1868] 03-03 08:32:59:303: <Protocol = IPCP, Type = Configure-Req, Length = 0x12, Id = 0x4, Port = 9
[1868] 08:32:59:303: <80 21 01 04 00 10 02 06 00 2D 0F 01 03 06 0A 0A |.!.......-......|
[1868] 08:32:59:303: <0A 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:32:59:303:  
[1868] 03-03 08:32:59:303: InsertInTimerQ called portid=46,Id=4,Protocol=8021,EventType=0,fAuth=0,Timeout=3
[1644] 03-03 08:33:00:707: Packet received (24 bytes) for hPort 9
[1868] 03-03 08:33:00:707: >PPP packet received at 03/03/2011 16:33:00:707
[1868] 03-03 08:33:00:707: >Protocol = IPCP, Type = Configure-Req, Length = 0x18, Id = 0x1, Port = 9
[1868] 08:33:00:707: >80 21 01 01 00 16 03 06 00 00 00 00 81 06 00 00 |.!..............|
[1868] 08:33:00:707: >00 00 83 06 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:707:  
[1868] 03-03 08:33:00:707: <PPP packet sent at 03/03/2011 16:33:00:707
[1868] 03-03 08:33:00:707: <Protocol = IPCP, Type = Configure-Reject, Length = 0x12, Id = 0x1, Port = 9
[1868] 08:33:00:707: <80 21 04 01 00 10 81 06 00 00 00 00 83 06 00 00 |.!..............|
[1868] 08:33:00:707: <00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:707:  
[1644] 03-03 08:33:00:753: Packet received (6 bytes) for hPort 9
[1868] 03-03 08:33:00:753: >PPP packet received at 03/03/2011 16:33:00:753
[1868] 03-03 08:33:00:753: >Protocol = CCP, Type = Configure-Req, Length = 0x6, Id = 0x1, Port = 9
[1868] 08:33:00:753: >80 FD 01 01 00 04 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:753:  
[1868] 03-03 08:33:00:753: <PPP packet sent at 03/03/2011 16:33:00:753
[1868] 03-03 08:33:00:753: <Protocol = CCP, Type = Configure-Nak, Length = 0xc, Id = 0x1, Port = 9
[1868] 08:33:00:753: <80 FD 03 01 00 0A 12 06 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:753:  
[1644] 03-03 08:33:00:769: Packet received (12 bytes) for hPort 9
[1868] 03-03 08:33:00:769: >PPP packet received at 03/03/2011 16:33:00:769
[1868] 03-03 08:33:00:769: >Protocol = CCP, Type = Configure-Reject, Length = 0xc, Id = 0x3, Port = 9
[1868] 08:33:00:769: >80 FD 04 03 00 0A 12 06 00 00 00 41 00 00 00 00 |...........A....|
[1868] 03-03 08:33:00:769:  
[1868] 03-03 08:33:00:769: The control protocol for 80fd on port 9 returned error 732
[1868] 03-03 08:33:00:769: Encryption is required
[1868] 03-03 08:33:00:769: FsmClose event received for protocol c021 on port 9
[1868] 03-03 08:33:00:769: RemoveFromTimerQ called portid=46,Id=1,Protocol=c021,EventType=0,fAuth=0
[1868] 03-03 08:33:00:769: FsmThisLayerDown called for protocol = c021, port = 9
[1868] 03-03 08:33:00:769: FsmDown event received for protocol 80fd on port 9
[1868] 03-03 08:33:00:769: RemoveFromTimerQ called portid=46,Id=3,Protocol=80fd,EventType=0,fAuth=0
[1868] 03-03 08:33:00:769: FsmReset called for protocol = 80fd, port = 9
[1868] 03-03 08:33:00:769: FsmDown event received for protocol 8021 on port 9
[1868] 03-03 08:33:00:769: RemoveFromTimerQ called portid=46,Id=4,Protocol=8021,EventType=0,fAuth=0
[1868] 03-03 08:33:00:769: FsmReset called for protocol = 8021, port = 9
[1868] 03-03 08:33:00:769: RemoveFromTimerQ called portid=46,Id=0,Protocol=c029,EventType=0,fAuth=0
[1868] 03-03 08:33:00:769: <PPP packet sent at 03/03/2011 16:33:00:769
[1868] 03-03 08:33:00:769: <Protocol = LCP, Type = Terminate-Req, Length = 0x12, Id = 0x5, Port = 9
[1868] 08:33:00:769: <C0 21 05 05 00 10 14 B2 5F 2A 00 3C CD 74 00 00 |.!......_*.<.t..|
[1868] 08:33:00:769: <02 E6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:00:769:  
[1868] 03-03 08:33:00:769: InsertInTimerQ called portid=46,Id=5,Protocol=c021,EventType=0,fAuth=0,Timeout=3
[1644] 03-03 08:33:00:800: Packet received (12 bytes) for hPort 9
[1868] 03-03 08:33:00:800: >PPP packet received at 03/03/2011 16:33:00:800
[1868] 03-03 08:33:00:800: >Protocol = IPCP, Type = Configure-Reject, Length = 0xc, Id = 0x4, Port = 9
[1868] 08:33:00:800: >80 21 04 04 00 0A 02 06 00 2D 0F 01 00 00 00 00 |.!.......-......|
[1868] 03-03 08:33:00:800:  
[1868] 03-03 08:33:00:800: Non-LCP packet received when LCP is not opened
[1868] 03-03 08:33:00:800: Packet being silently discarded
[1644] 03-03 08:33:02:142: Packet received (12 bytes) for hPort 9
[1868] 03-03 08:33:02:142: >PPP packet received at 03/03/2011 16:33:02:142
[1868] 03-03 08:33:02:142: >Protocol = IPCP, Type = Configure-Req, Length = 0xc, Id = 0x2, Port = 9
[1868] 08:33:02:142: >80 21 01 02 00 0A 03 06 00 00 00 00 00 00 00 00 |.!..............|
[1868] 03-03 08:33:02:142:  
[1868] 03-03 08:33:02:142: Non-LCP packet received when LCP is not opened
[1868] 03-03 08:33:02:142: Packet being silently discarded
[1644] 03-03 08:33:02:142: Packet received (6 bytes) for hPort 9
[1868] 03-03 08:33:02:142: >PPP packet received at 03/03/2011 16:33:02:142
[1868] 03-03 08:33:02:142: >Protocol = CCP, Type = Configure-Req, Length = 0x6, Id = 0x2, Port = 9
[1868] 08:33:02:142: >80 FD 01 02 00 04 00 00 00 00 00 00 00 00 00 00 |................|
[1868] 03-03 08:33:02:142:  
[1868] 03-03 08:33:02:142: Non-LCP packet received when LCP is not opened
[1868] 03-03 08:33:02:142: Packet being silently discarded
[1644] 03-03 08:33:02:204: Packet received (6 bytes) for hPort 9
[1868] 03-03 08:33:02:204: >PPP packet received at 03/03/2011 16:33:02:204
[1868] 03-03 08:33:02:204: >Protocol = LCP, Type = Terminate-Ack, Length = 0x6, Id = 0x5, Port = 9
[1868] 08:33:02:204: >C0 21 06 05 00 04 00 00 00 00 00 00 00 00 00 00 |.!..............|
[1868] 03-03 08:33:02:204:  
[1868] 03-03 08:33:02:204: RemoveFromTimerQ called portid=46,Id=5,Protocol=c021,EventType=0,fAuth=0
[1868] 03-03 08:33:02:204: FsmThisLayerFinished called for protocol = c021, port = 9
[1868] 03-03 08:33:02:204: FsmThisLayerFinished called for protocol = 80fd, port = 9: 0
[1868] 03-03 08:33:02:204: FsmThisLayerFinished called for protocol = 8021, port = 9: 0
[1868] 03-03 08:33:02:204: NotifyCaller(hPort=9, dwMsgId=21)
[1644] 03-03 08:33:05:823: PROTOCOL_MSG_LineDown recvd, hPort=9

[1868] 03-03 08:33:05:823: Line down event occurred on port 9
[1868] 03-03 08:33:05:823: FsmDown event received for protocol c021 on port 9
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=5,Protocol=c021,EventType=0,fAuth=0
[1868] 03-03 08:33:05:823: FsmReset called for protocol = c021, port = 9
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=3,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=7,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=2,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=1,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=4,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=0,EventType=6,fAuth=0
[1868] 03-03 08:33:05:823: RemoveFromTimerQ called portid=46,Id=0,Protocol=c029,EventType=0,fAuth=0
[1868] 03-03 08:33:05:823: LcpEnd
[4036] 03-03 08:33:05:823: Stopping Accounting for port 9
[1868] 03-03 08:33:07:836: Post line down event occurred on port 9
[1868] 03-03 08:33:07:836: NotifyCaller(hPort=9, dwMsgId=25)
0
 

Accepted Solution

by:
sjose16 earned 0 total points
ID: 35029434
The issue was the Incoming Connections Properties has "Require all users to secure their passwords and data" enabled.  Un-checking this checkbox made everything work
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 40

Expert Comment

by:jlevie
ID: 35029444
What Linux (and ppp) are you using and which side is initiating the connection?
0
 

Author Comment

by:sjose16
ID: 35030227
Linux 2.6.32 armv7l, ppd version 2.4.5

I would like to support the case when the server enables encryption. Linux side is the client and Windows is server
0
 

Author Closing Comment

by:sjose16
ID: 35067797
Require all users to secure their passwords and data requires to be encrypted which is enabled on default on Windows 7.  Client connecting from Linux machine was not supporting this.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question