testing: Add a forecast test case

This commit is contained in:
Martin Willi
2015-02-20 16:34:55 +01:00
parent 3748fc70a7
commit c10b2be967
11 changed files with 152 additions and 0 deletions
@@ -0,0 +1,21 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
conn home
left=PH_IP_CAROL
leftsourceip=%config
leftsubnet=0.0.0.0/0
leftcert=carolCert.pem
[email protected]
right=PH_IP_MOON
rightsubnet=0.0.0.0/0
[email protected]
auto=add
@@ -0,0 +1,5 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 curl revocation hmac xcbc stroke kernel-netlink socket-default updown resolve
}
@@ -0,0 +1,21 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
conn home
left=PH_IP_DAVE
leftsourceip=%config
leftsubnet=0.0.0.0/0
leftcert=daveCert.pem
[email protected]
right=PH_IP_MOON
rightsubnet=0.0.0.0/0
[email protected]
auto=add
@@ -0,0 +1,5 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 curl revocation hmac xcbc stroke kernel-netlink socket-default updown resolve
}
@@ -0,0 +1,22 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
conn rw
left=PH_IP_MOON
leftcert=moonCert.pem
[email protected]
leftsubnet=10.1.0.0/16,224.0.0.0/4
right=%any
rightid=*@strongswan.org
rightsourceip=10.1.0.128/26
rightsubnet=%dynamic,224.0.0.0/4,10.1.255.255
mark=%unique
auto=add
@@ -0,0 +1,16 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = aes des sha1 sha2 md5 pem pkcs1 gmp random nonce x509 curl revocation hmac xcbc stroke kernel-netlink socket-default updown attr forecast
syslog {
daemon {
net = 2
}
}
plugins {
forecast {
interface = eth1
reinject = rw
}
}
}