diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-02-12 23:01:48 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-02-12 23:01:48 +0100 |
commit | 5374fe3a0975a907bf02e9c16f4bc1dbfeb2ad45 (patch) | |
tree | db0810deb69554f10d44e6f063b461c6d607bc9b /testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc | |
parent | bac1052dea7169b3a0898331f10043e782bab2b1 (diff) | |
download | strongswan-5.0.3dr1.tar.bz2 strongswan-5.0.3dr1.tar.xz |
added ikev1/net2net-fragmentation scenario5.0.3dr1
Diffstat (limited to 'testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc')
-rw-r--r-- | testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc/ipsec.conf | 22 | ||||
-rw-r--r-- | testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc/strongswan.conf | 11 |
2 files changed, 33 insertions, 0 deletions
diff --git a/testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc/ipsec.conf b/testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc/ipsec.conf new file mode 100644 index 000000000..448525bf7 --- /dev/null +++ b/testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc/ipsec.conf @@ -0,0 +1,22 @@ +# /etc/ipsec.conf - strongSwan IPsec configuration file + +config setup + +conn %default + ikelifetime=60m + keylife=20m + rekeymargin=3m + keyingtries=1 + keyexchange=ikev1 + fragmentation=yes + +conn net-net + left=PH_IP_SUN + leftcert=sunCert.pem + leftid=@sun.strongswan.org + leftsubnet=10.2.0.0/16 + leftfirewall=yes + right=PH_IP_MOON + rightid=@moon.strongswan.org + rightsubnet=10.1.0.0/16 + auto=add diff --git a/testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc/strongswan.conf b/testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc/strongswan.conf new file mode 100644 index 000000000..9caf4fa37 --- /dev/null +++ b/testing/tests/ikev1/net2net-fragmentation/hosts/sun/etc/strongswan.conf @@ -0,0 +1,11 @@ +# /etc/strongswan.conf - strongSwan configuration file + +charon { + load = curl aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 revocation hmac stroke kernel-netlink socket-default updown + + fragment_size = 1024 +} + +libstrongswan { + dh_exponent_ansi_x9_42 = no +} |