Regression #11487
closed
IPsec tunnels using expanded IKE connection numbers do not have proper child SA names in ``swanctl.conf``
Added by Jim Pingle almost 4 years ago.
Updated over 3 years ago.
Description
Tunnels with expanded IKE connection numbers (e.g. "con100000") are not forming proper child SA con numbers. The numerical part of the name (e.g. "100000") is missing in the child SA names.
Related to #9592
To me, I have a fix.
Files
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Target version changed from CE-Next to 2.5.1
To reproduce the problem, restore the attached IPsec config section to a system without IPsec. Edit/save/apply on the IPsec tunnel.
Check the generated /var/etc/ipsec/swanctl.conf
file and it will have an incorrect child name (con0
)
con100000 {
fragmentation = yes
unique = replace
version = 2
proposals = aes128gcm128-aesxcbc-curve448
dpd_delay = 10s
dpd_timeout = 60s
rekey_time = 25920s
reauth_time = 25920s
over_time = 2880s
rand_time = 2880s
encap = no
mobike = no
local_addrs = 198.51.100.15
remote_addrs = 198.51.100.99
pools =
local {
id = 198.51.100.15
auth = psk
}
remote {
id = 198.51.100.99
auth = psk
}
children {
con0 {
dpd_action = trap
mode = tunnel
policies = yes
life_time = 3600s
rekey_time = 3240s
rand_time = 360s
start_action = trap
local_ts = 10.15.0.0/24
remote_ts = 10.14.0.0/24
esp_proposals = aes128gcm128-curve448
}
}
}
On a snapshot with the fix, the same tunnel will have a child with the correct name, con100000
:
con100000 {
dpd_action = trap
mode = tunnel
policies = yes
life_time = 3600s
rekey_time = 3240s
rand_time = 360s
start_action = trap
local_ts = 10.6.0.0/24
remote_ts = 10.14.0.0/24
esp_proposals = aes128gcm128-curve448
}
- Subject changed from IPsec tunnels using expanded IKE connection numbers are not getting proper child SA names to IPsec tunnels using expanded IKE connection numbers do not have proper child SA names in ``swanctl.conf``
Updating subject for release notes.
- Status changed from Feedback to Closed
Also available in: Atom
PDF