-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iphone安装自动生成的证书之后连上IKEv2,手动立马执行断开操作,无法再次马上连上,需要等待一段时间之后才能再次连接成功 #1054
Comments
@ericshunhawk 你好!你提供的日志没有包含 IPsec 连接日志,只有 xl2tpd 日志。请运行以下命令检查 IPsec 日志:
另外使用 iPhone 测试无法重现你所说的问题。请提供更多信息。 |
感谢回复 日志如下:
|
|
经过测试, iphone通过连wifi断开vpn之后立马再次连接没有问题, 只有在4G或者5G网络状态下有这个问题. 用tail -f /var/log/auth.log 查看日志的时候,断开连接显示deleting connection instance with peer,再次点击连接vpn,日志没有任何变化。 |
09dd63c31662adcdeb034cd977237802.mp4这个录制的iphone视频可以参考,谢谢。 |
@ericshunhawk 我觉得可能是你的 4G/5G 运营商的问题,不是 VPN 服务器的原因。我按照你上面的说明在 5G 网络下测试过了,无法重现此问题,断开后立即重新连接可以成功连接。另外你的日志里没有明显的错误。 |
谢谢 |
任务列表
问题描述
使用清楚简明的语言描述这个 bug。
iphone安装自动生成的证书之后连上IKEv2,手动立马执行断开操作,无法再次马上连上,需要等待一段时间之后才能再次连接成功
重现步骤
重现该 bug 的步骤:
期待的正确结果
简要地描述你期望的正确结果。
日志
检查日志及 VPN 状态,并添加错误日志以帮助解释该问题(如果适用)。
Nov 25 12:38:49 vpn xl2tpd[8739]: Not looking for kernel SAref support.
Nov 25 12:38:49 vpn xl2tpd[8739]: Using l2tp kernel support.
Nov 25 12:38:49 vpn xl2tpd[8724]: Starting xl2tpd: xl2tpd.
Nov 25 12:38:49 vpn xl2tpd[8743]: xl2tpd version xl2tpd-1.3.12 started on vpn PID:8743
Nov 25 12:38:49 vpn xl2tpd[8743]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Nov 25 12:38:49 vpn xl2tpd[8743]: Forked by Scott Balmos and David Stipp, (C) 2001
Nov 25 12:38:49 vpn xl2tpd[8743]: Inherited by Jeff McAdams, (C) 2002
Nov 25 12:38:49 vpn xl2tpd[8743]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Nov 25 12:38:49 vpn xl2tpd[8743]: Listening on IP address 0.0.0.0, port 1701
Nov 25 12:39:42 vpn xl2tpd[8743]: death_handler: Fatal signal 15 received
Nov 25 12:39:42 vpn xl2tpd[19697]: Stopping xl2tpd: xl2tpd.
Nov 25 12:39:42 vpn systemd[1]: xl2tpd.service: Succeeded.
Nov 25 12:39:42 vpn xl2tpd[19706]: Not looking for kernel SAref support.
Nov 25 12:39:42 vpn xl2tpd[19706]: Using l2tp kernel support.
Nov 25 12:39:42 vpn xl2tpd[19707]: xl2tpd version xl2tpd-1.3.12 started on vpn PID:19707
Nov 25 12:39:42 vpn xl2tpd[19702]: Starting xl2tpd: xl2tpd.
Nov 25 12:39:42 vpn xl2tpd[19707]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Nov 25 12:39:42 vpn xl2tpd[19707]: Forked by Scott Balmos and David Stipp, (C) 2001
Nov 25 12:39:42 vpn xl2tpd[19707]: Inherited by Jeff McAdams, (C) 2002
Nov 25 12:39:42 vpn xl2tpd[19707]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Nov 25 12:39:42 vpn xl2tpd[19707]: Listening on IP address 0.0.0.0, port 1701
Nov 25 13:23:30 vpn xl2tpd[19707]: death_handler: Fatal signal 15 received
Nov 25 13:23:30 vpn xl2tpd[29373]: Stopping xl2tpd: xl2tpd.
Nov 25 13:23:30 vpn systemd[1]: xl2tpd.service: Succeeded.
Nov 25 13:23:30 vpn xl2tpd[29383]: Not looking for kernel SAref support.
Nov 25 13:23:30 vpn xl2tpd[29383]: Using l2tp kernel support.
Nov 25 13:23:30 vpn xl2tpd[29384]: xl2tpd version xl2tpd-1.3.12 started on vpn PID:29384
Nov 25 13:23:30 vpn xl2tpd[29384]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Nov 25 13:23:30 vpn xl2tpd[29379]: Starting xl2tpd: xl2tpd.
Nov 25 13:23:30 vpn xl2tpd[29384]: Forked by Scott Balmos and David Stipp, (C) 2001
Nov 25 13:23:30 vpn xl2tpd[29384]: Inherited by Jeff McAdams, (C) 2002
Nov 25 13:23:30 vpn xl2tpd[29384]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Nov 25 13:23:30 vpn xl2tpd[29384]: Listening on IP address 0.0.0.0, port 1701
Nov 25 13:25:32 vpn xl2tpd[29384]: death_handler: Fatal signal 15 received
Nov 25 13:25:32 vpn xl2tpd[30666]: Stopping xl2tpd: xl2tpd.
Nov 25 13:25:32 vpn systemd[1]: xl2tpd.service: Succeeded.
Nov 25 13:25:32 vpn xl2tpd[30676]: Not looking for kernel SAref support.
Nov 25 13:25:32 vpn xl2tpd[30676]: Using l2tp kernel support.
Nov 25 13:25:32 vpn xl2tpd[30671]: Starting xl2tpd: xl2tpd.
Nov 25 13:25:32 vpn xl2tpd[30677]: xl2tpd version xl2tpd-1.3.12 started on vpn PID:30677
Nov 25 13:25:32 vpn xl2tpd[30677]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Nov 25 13:25:32 vpn xl2tpd[30677]: Forked by Scott Balmos and David Stipp, (C) 2001
Nov 25 13:25:32 vpn xl2tpd[30677]: Inherited by Jeff McAdams, (C) 2002
Nov 25 13:25:32 vpn xl2tpd[30677]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Nov 25 13:25:32 vpn xl2tpd[30677]: Listening on IP address 0.0.0.0, port 1701
Nov 25 21:48:32 vpn xl2tpd[1226]: Not looking for kernel SAref support.
Nov 25 21:48:32 vpn xl2tpd[1218]: Starting xl2tpd: xl2tpd.
Nov 25 21:48:32 vpn xl2tpd[1226]: Using l2tp kernel support.
Nov 25 21:48:32 vpn xl2tpd[1231]: xl2tpd version xl2tpd-1.3.12 started on vpn PID:1231
Nov 25 21:48:32 vpn xl2tpd[1231]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Nov 25 21:48:32 vpn xl2tpd[1231]: Forked by Scott Balmos and David Stipp, (C) 2001
Nov 25 21:48:32 vpn xl2tpd[1231]: Inherited by Jeff McAdams, (C) 2002
Nov 25 21:48:32 vpn xl2tpd[1231]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Nov 25 21:48:32 vpn xl2tpd[1231]: Listening on IP address 0.0.0.0, port 1701
Nov 25 21:48:46 vpn xl2tpd[1231]: death_handler: Fatal signal 15 received
Nov 25 21:48:46 vpn xl2tpd[1920]: Stopping xl2tpd: xl2tpd.
Nov 25 21:48:46 vpn systemd[1]: xl2tpd.service: Succeeded.
Nov 25 21:48:46 vpn xl2tpd[1930]: Not looking for kernel SAref support.
Nov 25 21:48:46 vpn xl2tpd[1930]: Using l2tp kernel support.
Nov 25 21:48:46 vpn xl2tpd[1926]: Starting xl2tpd: xl2tpd.
Nov 25 21:48:46 vpn xl2tpd[1931]: xl2tpd version xl2tpd-1.3.12 started on vpn PID:1931
Nov 25 21:48:46 vpn xl2tpd[1931]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Nov 25 21:48:46 vpn xl2tpd[1931]: Forked by Scott Balmos and David Stipp, (C) 2001
Nov 25 21:48:46 vpn xl2tpd[1931]: Inherited by Jeff McAdams, (C) 2002
Nov 25 21:48:46 vpn xl2tpd[1931]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Nov 25 21:48:46 vpn xl2tpd[1931]: Listening on IP address 0.0.0.0, port 1701
Nov 25 21:51:12 vpn xl2tpd[1225]: Not looking for kernel SAref support.
Nov 25 21:51:12 vpn xl2tpd[1225]: Using l2tp kernel support.
Nov 25 21:51:12 vpn xl2tpd[1220]: Starting xl2tpd: xl2tpd.
Nov 25 21:51:12 vpn xl2tpd[1229]: xl2tpd version xl2tpd-1.3.12 started on vpn PID:1229
Nov 25 21:51:12 vpn xl2tpd[1229]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Nov 25 21:51:12 vpn xl2tpd[1229]: Forked by Scott Balmos and David Stipp, (C) 2001
Nov 25 21:51:12 vpn xl2tpd[1229]: Inherited by Jeff McAdams, (C) 2002
Nov 25 21:51:12 vpn xl2tpd[1229]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Nov 25 21:51:12 vpn xl2tpd[1229]: Listening on IP address 0.0.0.0, port 1701
Nov 25 21:51:26 vpn xl2tpd[1229]: death_handler: Fatal signal 15 received
Nov 25 21:51:26 vpn xl2tpd[1628]: Stopping xl2tpd: xl2tpd.
Nov 25 21:51:26 vpn systemd[1]: xl2tpd.service: Succeeded.
Nov 25 21:51:26 vpn xl2tpd[1638]: Not looking for kernel SAref support.
Nov 25 21:51:26 vpn xl2tpd[1638]: Using l2tp kernel support.
Nov 25 21:51:26 vpn xl2tpd[1633]: Starting xl2tpd: xl2tpd.
Nov 25 21:51:26 vpn xl2tpd[1639]: xl2tpd version xl2tpd-1.3.12 started on vpn PID:1639
Nov 25 21:51:26 vpn xl2tpd[1639]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Nov 25 21:51:26 vpn xl2tpd[1639]: Forked by Scott Balmos and David Stipp, (C) 2001
Nov 25 21:51:26 vpn xl2tpd[1639]: Inherited by Jeff McAdams, (C) 2002
Nov 25 21:51:26 vpn xl2tpd[1639]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
Nov 25 21:51:26 vpn xl2tpd[1639]: Listening on IP address 0.0.0.0, port 1701
服务器信息(请填写以下信息)
客户端信息(请填写以下信息)
其它信息
添加关于该 bug 的其它信息。
The text was updated successfully, but these errors were encountered: