-
Notifications
You must be signed in to change notification settings - Fork 24
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
IKEv2 with macOS 13.1 #96
Comments
Linux does a weird thing where it truncates HMAC_SHA2_256_128 to 96 bits by default when using the old pfkey kernel interface (which we do). This makes it incompatible with other implementations which is why it is (or at least i thought it is) disabled by default there. I wonder why it still works for you. Do you have an |
yes, I have
without these lines doesn't come up macOS-side. |
I see, i wonder where our defaults are incompatible. It depends on what macos is sending as default proposal but you could try replacing hmac-sha2-256 with hmac-sha2-384 and see if that works. I think we should try to catch that linux error earlier and try to find a way to make it all work out of the box with macos (if that is possible) EDIT: I did some testing and it looks like hmac-sha2-384 is not enabled by default on macos but hmac-sha1 is. This is the log output I got:
So changing the line to |
It seems that last macOS 13.1 (but not iOS) wants only ESP childsa So I went to the AppConfigurator app for Mac, created a custom profile, loaded into the OS and after that was able to connect forcing The following linux Ubuntu 22.04 server configuration in a policy permits macOS 13.1, last Windows11 (Version 10.0.22000 Build 22000) and iOS 16.1.2 clients to connect to iked in IKEv2 ms-chap. Windows 11 is picky about having a trusted public certificate in /etc/iked/certs matching
For mac and iOS, you should create and load a custom profile with Apple Configurator (only available on mac) to enforce |
IKEv2 EAP username/pass connection from macOS 13.1 to Linux Ubuntu 22.04 fails with
7.1 and 7.0 versions of openiked crashed with segfault.
In version 7.2 the iked daemon doesn't crash, the macOS connection stays UP (the panel says "connected"), but as seen from the logs above server-side is actually down, and the traffic is not flowing.
Is HMAC_SHA2_256_128 support in linux/openssl broken?
The text was updated successfully, but these errors were encountered: