diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-11-10 16:12:29 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-11-15 17:24:04 +0100 |
commit | ce4aebe00abfeb0bcaa6c5bf04c0524ed5ee4743 (patch) | |
tree | 6669ce5a4d559fdbc45d0bfc34f75d356da0f121 /testing/tests/ikev2/nat-rw-mark/hosts/sun | |
parent | d24d26c4bc9e9a1d0554f5a1b521bda75d9d2211 (diff) | |
download | strongswan-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/ikev2/nat-rw-mark/hosts/sun')
-rw-r--r-- | testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/ipsec.conf | 5 | ||||
-rw-r--r-- | testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/strongswan.conf | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/ipsec.conf b/testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/ipsec.conf index aac963e91..eee4e6edc 100644 --- a/testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/ipsec.conf +++ b/testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/ipsec.conf @@ -1,8 +1,5 @@ # /etc/ipsec.conf - strongSwan IPsec configuration file -config setup - charondebug="knl 2" - conn %default ikelifetime=60m keylife=20m @@ -10,7 +7,7 @@ conn %default keyingtries=1 keyexchange=ikev2 -conn alice +conn alice rightid=alice@strongswan.org mark=10/0xffffffff also=sun diff --git a/testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/strongswan.conf b/testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/strongswan.conf index 93f434598..9691dd22f 100644 --- a/testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/strongswan.conf +++ b/testing/tests/ikev2/nat-rw-mark/hosts/sun/etc/strongswan.conf @@ -2,4 +2,9 @@ charon { load = random nonce aes sha1 sha2 pem pkcs1 curve25519 gmp x509 curl revocation hmac stroke kernel-netlink socket-default updown + syslog { + daemon { + knl = 2 + } + } } |