Adapt test configurations
Adapt test configurations to the new Debian-based system.
This commit is contained in:
committed by
Tobias Brunner
parent
766466b8d1
commit
533177003c
@@ -1,11 +1,11 @@
|
||||
carol::ipsec status 2> /dev/null::home.*ESTABLISHED.*[email protected].*moon.strongswan.org::YES
|
||||
carol::ipsec status 2> /dev/null::home.*INSTALLED, TUNNEL::YES
|
||||
alice::ping -c 1 10.1.0.50::64 bytes from 10.1.0.50: icmp_seq=1::YES
|
||||
carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES
|
||||
alice::ping -c 1 10.1.0.50::64 bytes from 10.1.0.50: icmp_req=1::YES
|
||||
carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
|
||||
dave:: ipsec status 2> /dev/null::home.*ESTABLISHED.*[email protected].*moon.strongswan.org::YES
|
||||
dave:: ipsec status 2> /dev/null::home.*INSTALLED, TUNNEL::YES
|
||||
alice::ping -c 1 10.1.0.51::64 bytes from 10.1.0.51: icmp_seq=1::YES
|
||||
dave:: ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES
|
||||
alice::ping -c 1 10.1.0.51::64 bytes from 10.1.0.51: icmp_req=1::YES
|
||||
dave:: ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
|
||||
moon:: ipsec status 2> /dev/null::rw\[1]: ESTABLISHED.*moon.strongswan.org.*[email protected]::YES
|
||||
moon:: ipsec status 2> /dev/null::rw\[2]: ESTABLISHED.*moon.strongswan.org.*[email protected]::YES
|
||||
moon:: ipsec status 2> /dev/null::rw[{]1}.*10.1.0.0/16 === 10.1.0.50/32::YES
|
||||
@@ -14,12 +14,12 @@ moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP::YES
|
||||
moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP::YES
|
||||
moon::tcpdump::IP dave.strongswan.org > moon.strongswan.org: ESP::YES
|
||||
moon::tcpdump::IP moon.strongswan.org > dave.strongswan.org: ESP::YES
|
||||
alice::tcpdump::arp reply carol3.strongswan.org is-at fe:fd:0a:01:00:01::YES
|
||||
alice::tcpdump::ARP, Reply carol3.strongswan.org is-at fe:fd:0a:01:00:01::YES
|
||||
alice::tcpdump::IP alice.strongswan.org > carol3.strongswan.org: ICMP echo request::YES
|
||||
alice::tcpdump::IP carol3.strongswan.org > alice.strongswan.org: ICMP echo reply::YES
|
||||
alice::tcpdump::IP carol3.strongswan.org > alice.strongswan.org: ICMP echo request::YES
|
||||
alice::tcpdump::IP alice.strongswan.org > carol3.strongswan.org: ICMP echo reply::YES
|
||||
alice::tcpdump::arp reply dave3.strongswan.org is-at fe:fd:0a:01:00:01::YES
|
||||
alice::tcpdump::ARP, Reply dave3.strongswan.org is-at fe:fd:0a:01:00:01::YES
|
||||
alice::tcpdump::IP alice.strongswan.org > dave3.strongswan.org: ICMP echo request::YES
|
||||
alice::tcpdump::IP dave3.strongswan.org > alice.strongswan.org: ICMP echo reply::YES
|
||||
alice::tcpdump::IP dave3.strongswan.org > alice.strongswan.org: ICMP echo request::YES
|
||||
|
||||
+4
-4
@@ -4,11 +4,11 @@ ddns-update-style none;
|
||||
|
||||
subnet 10.1.0.0 netmask 255.255.0.0 {
|
||||
option domain-name "strongswan.org";
|
||||
option domain-name-servers 10.1.0.20;
|
||||
option netbios-name-servers 10.1.0.10;
|
||||
option routers 10.1.0.1;
|
||||
option domain-name-servers PH_IP_VENUS;
|
||||
option netbios-name-servers PH_IP_ALICE;
|
||||
option routers PH_IP_MOON1;
|
||||
option broadcast-address 10.1.255.255;
|
||||
next-server 10.1.0.20;
|
||||
next-server PH_IP_VENUS;
|
||||
|
||||
range 10.1.0.50 10.1.0.60;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
interface=eth0
|
||||
dhcp-range=10.1.0.50,10.1.0.60,255.255.0.0,10.1.255.255
|
||||
dhcp-option=option:router,10.1.0.1
|
||||
dhcp-option=option:dns-server,10.1.0.20
|
||||
dhcp-option=option:netbios-ns,10.1.0.10
|
||||
dhcp-option=option:router,PH_IP_MOON1
|
||||
dhcp-option=option:dns-server,PH_IP_VENUS
|
||||
dhcp-option=option:netbios-ns,PH_IP_ALICE
|
||||
dhcp-option=option:domain-name,strongswan.org
|
||||
log-dhcp
|
||||
|
||||
@@ -2,7 +2,7 @@ moon::ipsec stop
|
||||
carol::ipsec stop
|
||||
dave::ipsec stop
|
||||
venus::cat /var/state/dhcp/dhcpd.leases
|
||||
venus::/etc/init.d/dhcpd stop 2> /dev/null
|
||||
venus::/etc/init.d/isc-dhcp-server stop 2> /dev/null
|
||||
moon::/etc/init.d/iptables stop 2> /dev/null
|
||||
carol::/etc/init.d/iptables stop 2> /dev/null
|
||||
dave::/etc/init.d/iptables stop 2> /dev/null
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
moon::/etc/init.d/iptables start 2> /dev/null
|
||||
carol::/etc/init.d/iptables start 2> /dev/null
|
||||
dave::/etc/init.d/iptables start 2> /dev/null
|
||||
venus::cat /etc/dhcpd.conf
|
||||
venus::/etc/init.d/dhcpd start 2> /dev/null
|
||||
venus::cat /etc/dhcp/dhcpd.conf
|
||||
venus::/etc/init.d/isc-dhcp-server start 2> /dev/null
|
||||
carol::ipsec start
|
||||
dave::ipsec start
|
||||
moon::ipsec start
|
||||
carol::sleep 2
|
||||
carol::sleep 2
|
||||
carol::ipsec up home
|
||||
dave::ipsec up home
|
||||
carol::sleep 1
|
||||
|
||||
Reference in New Issue
Block a user