Closed johnlukeabe closed 2 years ago
@johnlukeabe Hello! Your use case is unrelated to the VPN setup scripts and is outside the scope of this repository. Please instead open an issue in libreswan/libreswan [1], or ask on the Libreswan users mailing list [2].
[1] https://github.com/libreswan/libreswan/issues [2] https://lists.libreswan.org/mailman/listinfo/swan
Hi there,
I am using libreswan v3.29. I configured tunnel between two devices for test. device1 and device2 are wired directly. When I started the libreswan, it works. But when time passed, I saw the two kinds of EXPECTATION FAILED messages when rekeying happens.
_EXPECTATION FAILED: proposal->remote_spi.size <= sizeof(proposal->remote_spi.size) (in print_proposal() at ikev2_spdb_struct.c:351) EXPECTATION FAILED: not replacing stale IKE SA #2; as already got a newer #5 (in v2_event_sa_rekey() at ikev2parent.c:6373)
After the second error message, it was disconnected. So I did 'ipsec auto --up device1' and then the connection was restored. But I still saw the first EXPECTATION FAILED message after 'ipsec auto --up' command.
I reduced ikelifetime to see the error message quickly.
Is this due to misconfiguration? When do these error messages occur? How can I solve this issue and remove the expectation failed message?
Configuration(/etc/ipsec.conf)
Log - device1
Log - device2