<div dir="ltr">Hi,<div><br></div><div>I am having a problem with the virtual IP pool being exhausted when connecting from an iOS device. I have the fix in <a href="https://wiki.strongswan.org/issues/764">https://wiki.strongswan.org/issues/764</a> , but I am seeing the issue mentioned by one of the users on the bug. </div><div><br></div><div>The leak is because the modecfg defined for the iOS device connection is push, while iOS actually uses modecfg=pull. In my testing with a strongswan (or other client), i can reproduce the leak by this mismatch of config, and the leak goes away when the two configs match.</div><div><br></div><div>However, for an actual iOS device, it seems that I have to define modecfg=push, otherwise the iOS device connection fails (or hangs). We disable xauth on the iOS device from the profile, but the iOS device still seems to need a trigger to send its modecfg request message. We cannot use xauth and using the xauth-noauth plugin also did not work in this case.</div><div><br></div><div>Moving to ikev2 is not an option since we have devices out there already with profiles installed and doing ikev1.</div><div><br></div><div>Is there any other way to fix this leak, by changes on the strongswan (5.x) responder? I noticed that this problem does not occur on 4.x and one reason could be that the older strongswan assigns the same IP when it replies to the modecfg request message. Would that work here?</div><div>Is there any other way to fix this leak?<br></div><div><br></div><div>regards,</div><div>sk</div></div>