免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8352 | 回复: 3

[vpn] l2tp/ipsec chap 问题 求救 [复制链接]

论坛徽章:
0
发表于 2011-03-10 15:56 |显示全部楼层
这些都是服务器端的。谢谢拉。
Mar 10 15:01:32 testbox pppd[15182]: pppd 2.4.5 started by root, uid 0
Mar 10 15:01:32 testbox pppd[15182]: Using interface ppp0
Mar 10 15:01:32 testbox pppd[15182]: Connect: ppp0 <--> /dev/pts/5
Mar 10 15:01:32 testbox pppd[15182]: Peer test-laptop failed CHAP authentication
Mar 10 15:01:32 testbox pppd[15182]: Connection terminated.
Mar 10 15:01:32 testbox pppd[15182]: Exit


日志输出位这样。
Mar 10 15:00:21 testbox xl2tpd[15159]: This binary does not support kernel L2TP.
Mar 10 15:00:21 testbox xl2tpd[15160]: xl2tpd version xl2tpd-1.2.5 started on testbox PID:15160
Mar 10 15:00:21 testbox xl2tpd[15160]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Mar 10 15:00:21 testbox xl2tpd[15160]: Forked by Scott Balmos and David Stipp, (C) 2001
Mar 10 15:00:21 testbox xl2tpd[15160]: Inherited by Jeff McAdams, (C) 2002
Mar 10 15:00:21 testbox xl2tpd[15160]: Forked again by Xelerance (www.xelerance.com) (C) 2006
Mar 10 15:00:21 testbox xl2tpd[15160]: Listening on IP address 192.168.11.2, port 1701
Mar 10 15:00:24 testbox xl2tpd[15160]: Can not find tunnel 8399 (refhim=0)
Mar 10 15:00:24 testbox xl2tpd[15160]: network_thread: unable to find call or tunnel to handle packet.  call = 0, tunnel = 8399 Dumping.
Mar 10 15:00:25 testbox xl2tpd[15160]: Can not find tunnel 8399 (refhim=0)
Mar 10 15:00:25 testbox xl2tpd[15160]: network_thread: unable to find call or tunnel to handle packet.  call = 0, tunnel = 8399 Dumping.
Mar 10 15:00:26 testbox xl2tpd[15160]: Can not find tunnel 8399 (refhim=0)
Mar 10 15:00:26 testbox xl2tpd[15160]: network_thread: unable to find call or tunnel to handle packet.  call = 0, tunnel = 8399 Dumping.
Mar 10 15:00:27 testbox xl2tpd[15160]: Can not find tunnel 8399 (refhim=0)
Mar 10 15:00:27 testbox xl2tpd[15160]: network_thread: unable to find call or tunnel to handle packet.  call = 0, tunnel = 8399 Dumping.
Mar 10 15:00:28 testbox xl2tpd[15160]: Can not find tunnel 8399 (refhim=0)
Mar 10 15:00:28 testbox xl2tpd[15160]: network_thread: unable to find call or tunnel to handle packet.  call = 0, tunnel = 8399 Dumping.
Mar 10 15:01:16 testbox xl2tpd[15160]: control_finish: Peer requested tunnel 36634 twice, ignoring second one.
Mar 10 15:01:16 testbox xl2tpd[15160]: Connection established to 192.168.11.4, 1701.  Local: 617, Remote: 36634 (ref=0/0).  LNS session is 'default'
Mar 10 15:01:16 testbox xl2tpd[15160]: start_pppd: I'm running:  
Mar 10 15:01:16 testbox xl2tpd[15160]: "/usr/sbin/pppd"  
Mar 10 15:01:16 testbox xl2tpd[15160]: "passive"  
Mar 10 15:01:16 testbox xl2tpd[15160]: "nodetach"  
Mar 10 15:01:16 testbox xl2tpd[15160]: "192.168.11.2:192.168.10.211"  
Mar 10 15:01:16 testbox xl2tpd[15160]: "auth"  
Mar 10 15:01:16 testbox xl2tpd[15160]: "require-chap"  
Mar 10 15:01:16 testbox xl2tpd[15160]: "debug"  
Mar 10 15:01:16 testbox xl2tpd[15160]: "file"  
Mar 10 15:01:16 testbox xl2tpd[15160]: "/etc/ppp/options.xl2tpd"  
Mar 10 15:01:16 testbox xl2tpd[15160]: "/dev/pts/5"  
Mar 10 15:01:16 testbox xl2tpd[15160]: Call established with 192.168.11.4, Local: 38642, Remote: 46554, Serial: 1
Mar 10 15:01:16 testbox pppd[15163]: pppd 2.4.5 started by root, uid 0
Mar 10 15:01:16 testbox pppd[15163]: using channel 30
Mar 10 15:01:16 testbox NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Mar 10 15:01:16 testbox NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Mar 10 15:01:16 testbox pppd[15163]: Using interface ppp0
Mar 10 15:01:16 testbox pppd[15163]: Connect: ppp0 <--> /dev/pts/5
Mar 10 15:01:16 testbox pppd[15163]: sent [LCP ConfReq id=0x1 <mru 1280> <asyncmap 0xa> <auth chap MD5> <magic 0x1fe82f5> <pcomp> <accomp>]
Mar 10 15:01:16 testbox pppd[15163]: rcvd [LCP ConfReq id=0x1 <mru 1410> <asyncmap 0x0> <magic 0xcc18eda> <pcomp> <accomp>]
Mar 10 15:01:16 testbox pppd[15163]: sent [LCP ConfAck id=0x1 <mru 1410> <asyncmap 0x0> <magic 0xcc18eda> <pcomp> <accomp>]
Mar 10 15:01:16 testbox pppd[15163]: rcvd [LCP ConfAck id=0x1 <mru 1280> <asyncmap 0xa> <auth chap MD5> <magic 0x1fe82f5> <pcomp> <accomp>]
Mar 10 15:01:16 testbox pppd[15163]: sent [LCP EchoReq id=0x0 magic=0x1fe82f5]
Mar 10 15:01:16 testbox pppd[15163]: sent [CHAP Challenge id=0xfb <07143701d2f98f253fa9293d5d611a8a18e80a>, name = "l2tpd"]
Mar 10 15:01:16 testbox pppd[15163]: rcvd [LCP EchoRep id=0x0 magic=0xcc18eda]
Mar 10 15:01:16 testbox pppd[15163]: rcvd [CHAP Response id=0xfb <3de4f43eef7cad81947302cd8704378e>, name = "test-laptop"]
Mar 10 15:01:16 testbox pppd[15163]: No CHAP secret found for authenticating test-laptop
Mar 10 15:01:16 testbox pppd[15163]: Peer test-laptop failed CHAP authentication
Mar 10 15:01:16 testbox pppd[15163]: sent [CHAP Failure id=0xfb ""]
Mar 10 15:01:16 testbox pppd[15163]: sent [LCP TermReq id=0x2 "Authentication failed"]
Mar 10 15:01:16 testbox pppd[15163]: rcvd [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
Mar 10 15:01:16 testbox pppd[15163]: sent [LCP TermAck id=0x2]
Mar 10 15:01:16 testbox pppd[15163]: rcvd [LCP TermAck id=0x2]
Mar 10 15:01:16 testbox pppd[15163]: Connection terminated.
Mar 10 15:01:16 testbox xl2tpd[15160]: control_finish: Connection closed to 192.168.11.4, serial 1 ()
Mar 10 15:01:16 testbox xl2tpd[15160]: Terminating pppd: sending TERM signal to pid 15163
Mar 10 15:01:16 testbox NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Mar 10 15:01:16 testbox pppd[15163]: Exit

论坛徽章:
0
发表于 2015-10-26 09:35 |显示全部楼层
楼主解决问题了吗 ???
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP