- import of strongswan-2.7.0

- applied patch for charon
This commit is contained in:
Martin Willi
2006-04-28 07:14:48 +00:00
parent 52923c9acb
commit 997358a6c4
2043 changed files with 346842 additions and 0 deletions
@@ -0,0 +1,6 @@
By setting <b>cachecrls=yes</b> in ipsec.conf, a copy of the CRL fetched
via http from the web server <b>winnetou</b> is saved locally in the
directory <b>/etc/ipsec.d/crls</b> on both the roadwarrior <b>carol</b>
and the gateway <b>moon</b> when the IPsec connection is set up. The
<b>subjectKeyIdentifier</b> of the issuing CA plus the suffix <b>.crl</b>
is used as a unique filename for the cached CRL.
+4
View File
@@ -0,0 +1,4 @@
moon::ipsec status::rw.*STATE_QUICK_R2.*IPsec SA established::YES
carol::ipsec status::home.*STATE_QUICK_I2.*IPsec SA established::YES
moon::cat /var/log/auth.log::written crl file.*/etc/ipsec.d/crls/5da7dd700651327ee7b66db3b5e5e060ea2e4def.crl::YES
carol::cat /var/log/auth.log::written crl file.*/etc/ipsec.d/crls/5da7dd700651327ee7b66db3b5e5e060ea2e4def.crl::YES
+24
View File
@@ -0,0 +1,24 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
version 2.0 # conforms to second version of ipsec.conf specification
config setup
plutodebug=control
crlcheckinterval=180
cachecrls=yes
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
left=PH_IP_CAROL
leftnexthop=%direct
leftcert=carolCert.pem
[email protected]
conn home
right=PH_IP_MOON
rightsubnet=10.1.0.0/16
[email protected]
auto=add
+23
View File
@@ -0,0 +1,23 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
version 2.0 # conforms to second version of ipsec.conf specification
config setup
plutodebug=control
crlcheckinterval=180
cachecrls=yes
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
left=PH_IP_MOON
leftnexthop=%direct
leftcert=moonCert.pem
[email protected]
conn rw
leftsubnet=10.1.0.0/16
right=%any
auto=add
+4
View File
@@ -0,0 +1,4 @@
moon::ipsec stop
carol::ipsec stop
moon::rm /etc/ipsec.d/crls/*
carol::rm /etc/ipsec.d/crls/*
+4
View File
@@ -0,0 +1,4 @@
moon::ipsec start
carol::ipsec start
carol::sleep 2
carol::ipsec up home
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
#
# This configuration file provides information on the
# UML instances used for this test
# All UML instances that are required for this test
#
UMLHOSTS="moon carol winnetou"
# Corresponding block diagram
#
DIAGRAM="m-c-w.png"
# UML instances on which tcpdump is to be started
#
TCPDUMPHOSTS=""
# UML instances on which IPsec is started
# Used for IPsec logging purposes
#
IPSECHOSTS="moon carol"