Giter Club home page Giter Club logo

Comments (3)

quericy avatar quericy commented on May 18, 2024

这里并没有重现此问题.
而且更改了dh14 加密以后,iOS9也不应该再8分钟断线了
麻烦提供一下客户端系统和版本,以及断线时间点前后的日志信息

from one-key-ikev2-vpn.

xinli-wu avatar xinli-wu commented on May 18, 2024

Mac OS X 10.11.6
Linux strongSwan U5.3.5/K2.6.32-042stab116.1
链接ikev2后分配到ios_ikev2
504秒后断开
服务器端无日志产生
之后服务器端发送DPD, 然后检测不到活跃链接
最后: 11[CFG] lease 10.31.2.1 by 'xxxxxxxxxxxxxx' went offline

前后日志如下:

12[ENC] generating IKE_AUTH response 5 [ AUTH CPRP(ADDR DNS NBNS DNS NBNS) SA TSi TSr N(MOBIKE_SUP) N(NO_ADD_ADDR) ]
12[NET] sending packet: from remote.ip[4500] to local.ip[4500](272 bytes) //连接成功
13[IKE] sending DPD request
13[ENC] generating INFORMATIONAL request 0 [ ]
13[NET] sending packet: from remote.ip[4500] to local.ip[4500](80 bytes)
15[IKE] retransmit 1 of request with message ID 0

ios_ikev2 段配置如下

conn ios_ikev2
keyexchange=ikev2
ike=aes256-sha256-modp2048,3des-sha1-modp2048,aes256-sha1-modp2048!
esp=aes256-sha256,3des-sha1,aes256-sha1!
rekey=no
left=%defaultroute
leftid=domain.com
leftsendcert=always
leftsubnet=0.0.0.0/0
leftcert=fullchain.pem
right=%any
rightauth=eap-mschapv2
rightsourceip=10.31.2.0/24
rightsendcert=never
eap_identity=%any
dpdaction=clear
fragmentation=yes
auto=add

from one-key-ikev2-vpn.

quericy avatar quericy commented on May 18, 2024

Strongswan已经更新到5.5.1,按官方的说法应该解决了这个问题

from one-key-ikev2-vpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.