- 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,4 @@
This scenario is the same as test <b><a href="../rw-cert">rw-cert</a></b> but
uses the <b>also</b> parameter in <b>moon</b>'s ipsec.conf in order to define
the connections in a modular form. A closed also loop created by including
<b>conn host-host</b> in <b>conn moon</b> is successfully detected.
@@ -0,0 +1,3 @@
moon::cat /var/log/auth.log::detected also loop::YES
moon::cat /var/log/auth.log::errors in config::YES
+48
View File
@@ -0,0 +1,48 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
version 2.0 # conforms to second version of ipsec.conf specification
config setup
plutodebug=control
crlcheckinterval=180
strictcrlpolicy=no
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
conn net-net
also=host-host
also=moon-net
also=sun-net
conn host-host
also=moon
also=sun
auto=add
conn rw
right=%any
also=moon
also=moon-net
auto=add
conn moon
left=192.168.0.1
leftnexthop=%direct
leftcert=moonCert.pem
[email protected]
leftfirewall=yes
also=host-host
conn moon-net
leftsubnet=10.1.0.0/16
conn sun
right=192.168.0.2
[email protected]
conn sun-net
rightsubnet=10.2.0.0/16
@@ -0,0 +1 @@
moon::ipsec start --debug-all
+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="alice moon carol winnetou"
# Corresponding block diagram
#
DIAGRAM="a-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"