Various IKEv2 ipsec issues

Hi,

I’m facing a weird problem, with both 6.42 and 6.43rc on my Hap ac2.
Whenever I choose anything else than sha1 for my ipsec peer proposal, the ipsec client just keeps “crashing” and packets never reach the server

Another problem, when switching to sha1, the router never acknowledges the IKE2 response.
It will send 2 retransmits, then timeout and restart. The server (strongswan) sees the retransmits and reply every time.
I can see the packets coming on 4500/udp using the packet sniffer, and the firewall rules match, but for some reason they are ignored.

Any ideas?
Thanks

The only question which comes to my mind is whether your firmware is aligned with the RouterOS version (in /system routerboard print, check whether current-firmware and upgrade-firmware are the same). On my machine running 6.42 (but I admit it is a hAP ac lite, not hAP ac²), setting hash-algorithm=sha256 on a peer with exchange-mode=ike2 does not cause the ipsec subsystem to keep restarting.

If there is an autosupout.rif file generated on your router, please send this file to support@mikrotik.com

Seems like something is wrong here… I’ll contact support

firmware-type: ipq4000L
factory-firmware: 3.43
current-firmware: 3.43
upgrade-firmware: 6.43rc34

Thanks!

Before contacting support, upgrade the firmware and try again..

Upgrading the firmware did not help.