Skip to content

Conversation

@gsanchietti
Copy link
Member

@gsanchietti gsanchietti commented Jan 21, 2026

This comment was marked as outdated.

@gsanchietti gsanchietti force-pushed the improve_ipsec branch 4 times, most recently from 49f087c to c6809bf Compare January 22, 2026 08:44
@gsanchietti gsanchietti requested a review from Tbaile January 22, 2026 09:16
@gsanchietti gsanchietti marked this pull request as ready for review January 22, 2026 09:16
When a tunnel is completely deleted during edit, swanctl can't handle
the changes without a full restart.
To avoid this issue, just edit changed fields.
- New default value for closaction is 'trap' that tries to recreate the
  CHILD_SA
- Make the closeaction value editable
The `none` action is the recommended one by OpenWrt
When using different values, the swanctl init.d script logs the
following:

  WARNING: Closeaction start can cause instability
  WARNING: Closeaction trap can cause instability
@gsanchietti gsanchietti merged commit d63441d into main Jan 26, 2026
2 checks passed
@gsanchietti gsanchietti deleted the improve_ipsec branch January 26, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants