aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/pfkey
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-11-10 16:12:29 +0100
committerTobias Brunner <tobias@strongswan.org>2017-11-15 17:24:04 +0100
commitce4aebe00abfeb0bcaa6c5bf04c0524ed5ee4743 (patch)
tree6669ce5a4d559fdbc45d0bfc34f75d356da0f121 /testing/tests/pfkey
parentd24d26c4bc9e9a1d0554f5a1b521bda75d9d2211 (diff)
downloadstrongswan-ce4aebe00abfeb0bcaa6c5bf04c0524ed5ee4743.tar.bz2
strongswan-ce4aebe00abfeb0bcaa6c5bf04c0524ed5ee4743.tar.xz
testing: Configure logging via syslog in strongswan.conf
Globally configure logging in strongswan.conf.testing and replace all charondebug statements with strongswan.conf settings.
Diffstat (limited to 'testing/tests/pfkey')
-rw-r--r--testing/tests/pfkey/net2net-rekey/hosts/moon/etc/ipsec.conf3
-rw-r--r--testing/tests/pfkey/net2net-rekey/hosts/moon/etc/strongswan.conf5
2 files changed, 5 insertions, 3 deletions
diff --git a/testing/tests/pfkey/net2net-rekey/hosts/moon/etc/ipsec.conf b/testing/tests/pfkey/net2net-rekey/hosts/moon/etc/ipsec.conf
index dcd98b4de..ec3daa00a 100644
--- a/testing/tests/pfkey/net2net-rekey/hosts/moon/etc/ipsec.conf
+++ b/testing/tests/pfkey/net2net-rekey/hosts/moon/etc/ipsec.conf
@@ -1,8 +1,5 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
-config setup
- charondebug="knl 2"
-
conn %default
ikelifetime=60m
lifetime=10s
diff --git a/testing/tests/pfkey/net2net-rekey/hosts/moon/etc/strongswan.conf b/testing/tests/pfkey/net2net-rekey/hosts/moon/etc/strongswan.conf
index 4234eb134..855ba919d 100644
--- a/testing/tests/pfkey/net2net-rekey/hosts/moon/etc/strongswan.conf
+++ b/testing/tests/pfkey/net2net-rekey/hosts/moon/etc/strongswan.conf
@@ -4,4 +4,9 @@ charon {
load = random nonce aes sha1 sha2 pem pkcs1 curve25519 gmp x509 curl revocation hmac stroke kernel-pfkey kernel-netlink socket-default updown
# remove rekeyed inbound SA a bit quicker for the test scenario
delete_rekeyed_delay = 2
+ syslog {
+ daemon {
+ knl = 2
+ }
+ }
}