aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/rw-psk-ipv4/hosts/carol/etc
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2014-06-14 15:14:53 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2014-06-14 15:40:23 +0200
commit39d6469d767efe14e5f0e966bb5129967f4d8957 (patch)
tree0ebeaba678f486e0e0a3ac1a8c35a85e4318f91f /testing/tests/swanctl/rw-psk-ipv4/hosts/carol/etc
parent3eb22f1f007d18f3a041f9d4ac2b992288ea2a7a (diff)
downloadstrongswan-39d6469d767efe14e5f0e966bb5129967f4d8957.tar.bz2
strongswan-39d6469d767efe14e5f0e966bb5129967f4d8957.tar.xz
Added swanctl/rw-psk-fqdn and swanctl/rw-psk-ipv4 scenarios
Diffstat (limited to 'testing/tests/swanctl/rw-psk-ipv4/hosts/carol/etc')
-rwxr-xr-xtesting/tests/swanctl/rw-psk-ipv4/hosts/carol/etc/strongswan.conf13
-rwxr-xr-xtesting/tests/swanctl/rw-psk-ipv4/hosts/carol/etc/swanctl/swanctl.conf40
2 files changed, 53 insertions, 0 deletions
diff --git a/testing/tests/swanctl/rw-psk-ipv4/hosts/carol/etc/strongswan.conf b/testing/tests/swanctl/rw-psk-ipv4/hosts/carol/etc/strongswan.conf
new file mode 100755
index 000000000..772f18a3b
--- /dev/null
+++ b/testing/tests/swanctl/rw-psk-ipv4/hosts/carol/etc/strongswan.conf
@@ -0,0 +1,13 @@
+# /etc/strongswan.conf - strongSwan configuration file
+
+swanctl {
+ load = pem pkcs1 x509 revocation constraints pubkey openssl random
+}
+
+charon {
+ load = sha1 sha2 md5 aes des hmac gmp random nonce kernel-netlink socket-default updown vici
+}
+
+libstrongswan {
+ dh_exponent_ansi_x9_42 = no
+}
diff --git a/testing/tests/swanctl/rw-psk-ipv4/hosts/carol/etc/swanctl/swanctl.conf b/testing/tests/swanctl/rw-psk-ipv4/hosts/carol/etc/swanctl/swanctl.conf
new file mode 100755
index 000000000..bd00fc32c
--- /dev/null
+++ b/testing/tests/swanctl/rw-psk-ipv4/hosts/carol/etc/swanctl/swanctl.conf
@@ -0,0 +1,40 @@
+connections {
+
+ home {
+ local_addrs = 192.168.0.100
+ remote_addrs = 192.168.0.1
+
+ local {
+ auth = psk
+ id = 192.168.0.100
+ }
+ remote {
+ auth = psk
+ id = 192.168.0.1
+ }
+ children {
+ home {
+ remote_ts = 10.1.0.0/16
+
+ start_action = none
+ updown = /usr/local/libexec/ipsec/_updown iptables
+ rekey_time = 10m
+ esp_proposals = aes128gcm128-modp2048
+ }
+ }
+
+ version = 2
+ reauth_time = 60m
+ rekey_time = 20m
+ proposals = aes128-sha256-modp2048
+ }
+}
+
+secrets {
+
+ ike-moon {
+ id = 192.168.0.1
+ secret = 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
+ }
+}
+