Project

General

Profile

Bug #1488

Updated by Tobias Brunner over 9 years ago

If i define a connection in swanctl.conf and don't use 'updown' script in the children, charon crashes.
I downloaded and tested 5.4.1-1dr4, and i cannot reproduce the bug in that version.

Example config that crashes charon: (modified from https://www.strongswan.org/testing/testresults/swanctl/net2net-route/sun.swanctl.conf)

<pre>

connections {

rw {
local_addrs = 192.168.0.1

local {
auth = psk
}
remote {
auth = psk
}
children {
net {
local_ts = 10.1.0.0/16

esp_proposals = aes128gcm128-modp3072
}
}
version = 2
proposals = aes128-sha256-modp3072
}
}

secrets {

ike-carol {
id = 192.168.0.100
secret = 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
}
ike-dave {
id = 192.168.0.200
secret = 0sjVzONCF02ncsgiSlmIXeqhGN
}
}
</pre>

Back