This commit is contained in:
Andreas Steffen 2006-07-04 06:13:07 +00:00
parent 1a8a163630
commit 20f29a359e
7 changed files with 0 additions and 93 deletions

View File

@ -1,7 +0,0 @@
A connection between the subnets behind the gateways <b>moon</b> and <b>sun</b>
is set up using the IKEv2 key exchange protocol whereas the roadwarrior <b>carol</b>
negotiates the connection via the IKEv1 protocol.
In order to test the established tunnels, client <b>alice</b> behind gateway <b>moon</b>
pings client <b>bob</b> located behind gateway <b>sun</b> and roadwarrior <b>carol</b>
pings the client <b>alice</b> behind <b>moon</b>.
.

View File

@ -1,10 +0,0 @@
moon::ipsec statusall::net-net.*IKE_SA_ESTABLISHED::YES
sun::ipsec statusall::net-net.*IKE_SA_ESTABLISHED::YES
alice::ping -c 1 PH_IP_BOB::64 bytes from PH_IP_BOB: icmp_seq=1::YES
sun::tcpdump::IP moon.strongswan.org > sun.strongswan.org: ESP::YES
sun::tcpdump::IP sun.strongswan.org > moon.strongswan.org: ESP::YES
carol::ipsec status::home.*STATE_QUICK_I2.*IPsec SA established::YES
moon::ipsec status::rw.*STATE_QUICK_R2.*IPsec SA established::YES
carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES
moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP::YES
moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP::YES

View File

@ -1,28 +0,0 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
plutodebug=control
crlcheckinterval=180
conn %default
ikelifetime=60m
keylife=20m
left=PH_IP_MOON
leftnexthop=%direct
leftcert=moonCert.pem
leftid=@moon.strongswan.org
leftsubnet=10.1.0.0/16
conn net-net
right=PH_IP_SUN
rightid=@sun.strongswan.org
rightsubnet=10.2.0.0/16
keyexchange=ikev2
auto=add
conn rw
right=%any
rightid=carol@strongswan.org
keyexchange=ikev1
auto=add

View File

@ -1,15 +0,0 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
plutostart=no
conn net-net
left=PH_IP_SUN
leftcert=sunCert.pem
leftid=@sun.strongswan.org
leftsubnet=10.2.0.0/16
right=PH_IP_MOON
rightid=@moon.strongswan.org
rightsubnet=10.1.0.0/16
keyexchange=ikev2
auto=add

View File

@ -1,3 +0,0 @@
carol::ipsec stop
moon::ipsec stop
sun::ipsec stop

View File

@ -1,9 +0,0 @@
moon::echo 1 > /proc/sys/net/ipv4/ip_forward
sun::echo 1 > /proc/sys/net/ipv4/ip_forward
moon::ipsec start
sun::ipsec start
carol::ipsec start
moon::sleep 1
moon::ipsec up net-net
carol::ipsec up home
moon::sleep 1

View File

@ -1,21 +0,0 @@
#!/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 winnetou sun bob"
# Corresponding block diagram
#
DIAGRAM="a-m-w-s-b.png"
# UML instances on which tcpdump is to be started
#
TCPDUMPHOSTS="moon sun"
# UML instances on which IPsec is started
# Used for IPsec logging purposes
#
IPSECHOSTS="carol moon sun"