- 论坛徽章:
- 0
|
回复 #2 kns1024wh 的帖子
我重新抓了包,发现如果服务器打开require-mschap-v2, require-mppe-128选项.客户端就协商不成功.
这是服务器的日志
Aug 10 09:50:47 localhost pptpd[4745]: MGR: Manager process started
Aug 10 09:50:47 localhost pptpd[4745]: MGR: Maximum of 100 connections available
Aug 10 09:51:11 localhost pptpd[4892]: CTRL: Client 192.168.10.1 control connection started
Aug 10 09:51:12 localhost pptpd[4892]: CTRL: Starting call (launching pppd, opening GRE)
Aug 10 09:51:12 localhost pppd[4894]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Aug 10 09:51:12 localhost pppd[4894]: pptpd-logwtmp: $Version$
Aug 10 09:51:12 localhost pppd[4894]: pppd 2.4.4 started by root, uid 0
Aug 10 09:51:12 localhost pppd[4894]: Using interface ppp0
Aug 10 09:51:12 localhost pppd[4894]: Connect: ppp0 <--> /dev/pts/4
Aug 10 09:51:15 localhost pppd[4894]: Refusing MPPE stateful mode offered by peer
Aug 10 09:51:15 localhost pppd[4894]: MPPE required but peer negotiation failed
Aug 10 09:51:15 localhost pppd[4894]: Connection terminated.
Aug 10 09:51:15 localhost pppd[4894]: Connect time 0.1 minutes.
Aug 10 09:51:15 localhost pppd[4894]: Sent 10 bytes, received 21 bytes.
Aug 10 09:51:15 localhost pppd[4894]: Exit.
这是客户端的日志
Jan 1 00:00:56 daemon notice pppd[282]: pppd 2.4.4 started by admin, uid 0
Jan 1 00:00:56 daemon info pppd[282]: Using interface ppp0
Jan 1 00:00:56 daemon notice pppd[282]: Connect: ppp0 <--> /dev/ttyp0
Jan 1 00:00:56 daemon notice pptp[287]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated
Jan 1 00:00:56 daemon notice pptp[289]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jan 1 00:00:56 daemon notice pptp[289]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Jan 1 00:00:56 daemon notice pptp[289]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Jan 1 00:00:57 daemon warn pppd[282]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Jan 1 00:00:57 daemon notice pptp[289]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jan 1 00:00:57 daemon notice pptp[289]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Jan 1 00:00:57 daemon notice pptp[289]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 0).
Jan 1 00:01:00 daemon warn pppd[282]: Warning - secret file /etc/ppp/chap-secrets has world and/or group access
Jan 1 00:01:00 daemon warn pppd[282]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Jan 1 00:01:00 daemon warn pppd[282]: Warning - secret file /etc/ppp/chap-secrets has world and/or group access
Jan 1 00:01:00 daemon notice pppd[282]: CHAP authentication succeeded
Jan 1 00:01:00 daemon info pppd[282]: LCP terminated by peer (MPPE required but peer negotiation failed)
Jan 1 00:01:00 daemon notice pptp[289]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Jan 1 00:01:00 daemon notice pptp[289]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
Jan 1 00:01:00 daemon notice pptp[289]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jan 1 00:01:00 daemon notice pptp[289]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed
Jan 1 00:01:00 daemon notice pptp[289]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Jan 1 00:01:00 daemon notice pppd[282]: Modem hangup
服务器是ppp2.4.4-2 pptpd-1.3.4-1
客户端是ppp2.4.4 pptp-1.7.1 |
|