Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - thwien

#1
After upgrading OPNsense to 23.1 one of four IPsec connections fails after exact one hour. IPsec connections to Cisco routers are stable, only the one IPsec connection to a Sonicwall firewall is unstable.

After one hour I see the following in the Logfiles:

charon 38786 - [meta sequenceId="8237"] 01[IKE] <con1|29> received DELETE for IKE_SA con1[29]
charon 38786 - [meta sequenceId="8238"] 01[IKE] <con1|29> deleting IKE_SA con1[29] between 1.2.3.4[opnsense.example.org]...4.3.2.1[sonicwall.example.org]


The connection is gone after that message and did not come back with oder without DPD settings. Manually restarting this connection is successful and then after one hour the connection is gone again.

Nearly one hour after a connection has gone, I see the following messages:

charon 38786 - [meta sequenceId="8724"] 01[CFG] <30> selected peer config "con1"
charon 38786 - [meta sequenceId="8725"] 01[IKE] <con1|30> IKE_SA con1[30] established between 1.2.3.4[opnsense.example.org]...4.3.2.1[sonicwall.example.org]
[...]
charon 38786 - [meta sequenceId="8746"] 01[ENC] <con1|30> invalid HASH_V1 payload length, decryption failed?
charon 38786 - [meta sequenceId="8747"] 01[ENC] <con1|30> could not decrypt payloads
charon 38786 - [meta sequenceId="8748"] 01[IKE] <con1|30> message parsing failed


But the connection is not established anymore and works after a manually restart immediately.

We compared all lifetime settings. PSK is not changed. This IPsec connection worked for a long time on OPNsense 22.1 and 22.7 without any problems. Problems started with upgrading to OPNsense 23.1.

What has changed in IPsec on OPNsense 23.1 significantly?

Thanks a lot for any suggestions.