]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
Minor changes in swanctl scenarios
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 18 Jun 2014 12:35:36 +0000 (14:35 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 18 Jun 2014 12:35:36 +0000 (14:35 +0200)
testing/tests/swanctl/ip-pool-db/description.txt
testing/tests/swanctl/ip-pool/description.txt
testing/tests/swanctl/net2net-cert/description.txt
testing/tests/swanctl/net2net-cert/hosts/moon/etc/swanctl/swanctl.conf
testing/tests/swanctl/net2net-cert/hosts/sun/etc/swanctl/swanctl.conf
testing/tests/swanctl/rw-cert/description.txt
testing/tests/swanctl/rw-psk-fqdn/hosts/carol/etc/swanctl/swanctl.conf

index 7bc4ef3ab6fe84a85c6cf72e303b409f79afe988..9774e573bb27e140732263c50314bb791a40dc1c 100755 (executable)
@@ -4,7 +4,7 @@ by using the <b>leftsourceip=%config</b> parameter. The gateway <b>moon</b> assi
 addresses from a pool named <b>bigpool</b> that was created in an SQL database by the command
 <b>ipsec pool --name bigpool --start 10.3.0.1 --end 10.3.3.232 --timeout 0</b>.
 <p>
-<b>leftfirewall=yes</b> automatically inserts iptables-based firewall rules that let pass the
+The updown script automatically inserts iptables-based firewall rules that let pass the
 tunneled traffic. In order to test the tunnels, <b>carol</b> and <b>dave</b> then ping the client
 <b>alice</b> behind the gateway <b>moon</b>. The source IP addresses of the two pings will be the
 virtual IPs <b>carol1</b> and <b>dave1</b>, respectively.
index fc3f8c63a005e1a251cf8c4fe236e1ad759fc25a..23cab8e8f2940e816161f3945d0da7dedf323bda 100755 (executable)
@@ -4,7 +4,7 @@ by using the <b>leftsourceip=%config</b> parameter. The gateway <b>moon</b> assi
 IP addresses from a simple pool defined by <b>rightsourceip=10.3.0.0/28</b> in a monotonously
 increasing order. 
 <p>
-<b>leftfirewall=yes</b> automatically inserts iptables-based firewall rules that let pass
+<b>The updown script automatically inserts iptables-based firewall rules that let pass
 the tunneled traffic. In order to test the tunnels, <b>carol</b> and <b>dave</b> then ping
 the client <b>alice</b> behind the gateway <b>moon</b>. The source IP addresses of the two
 pings will be the virtual IPs <b>carol1</b> and <b>dave1</b>, respectively.
index 6ab45c065711e6370101f6c229f1a1279ff65c7c..345769a5f43ff4dbdaa6ad97034f6be330db9af9 100755 (executable)
@@ -1,6 +1,6 @@
 A connection between the subnets behind the gateways <b>moon</b> and <b>sun</b> is set up.
 The authentication is based on <b>X.509 certificates</b>. Upon the successful
-establishment of the IPsec tunnel, the updown scripts automatically
+establishment of the IPsec tunnel, the updown script automatically
 inserts iptables-based firewall rules that let pass the tunneled traffic.
 In order to test both tunnel and firewall, client <b>alice</b> behind gateway <b>moon</b>
 pings client <b>bob</b> located behind gateway <b>sun</b>.
index 5dc5db5a36b1e7cee6362761cc50bbc4d79783b4..2f0fd9da1ec8633cb158733119faea0e10b96418 100755 (executable)
@@ -26,6 +26,7 @@ connections {
       }
 
       version = 2
+      mobike = no
       reauth_time = 60m
       rekey_time =  20m
       proposals = aes128-sha256-modp2048
index 66e4e29c78347579eb60c61c5cc88ecaaebf8527..e4c85562191334c7f675af77e5c49ee07a93d7dd 100755 (executable)
@@ -26,6 +26,7 @@ connections {
       }
 
       version = 2
+      mobike = no
       reauth_time = 60m
       rekey_time =  20m
       proposals = aes128-sha256-modp2048
index 15b3822b5c19bf06b20ab39624e820480b384175..6af7a39ae275279b5f68f9c19fbcf7c3e9a1699e 100755 (executable)
@@ -1,6 +1,6 @@
 The roadwarriors <b>carol</b> and <b>dave</b> set up a connection each 
 to gateway <b>moon</b>. The authentication is based on <b>X.509 certificates</b>.
-Upon the successful establishment of the IPsec tunnels, <b>leftfirewall=yes</b>
+Upon the successful establishment of the IPsec tunnels, the updown script
 automatically inserts iptables-based firewall rules that let pass the tunneled traffic.
 In order to test both tunnel and firewall, both <b>carol</b> and <b>dave</b> ping
 the client <b>alice</b> behind the gateway <b>moon</b>.
index 782b81b4929d63255583d4c652ebf4609e6576e6..c113620b37c178c57226b1bf0203fc7127f9f089 100755 (executable)
@@ -34,7 +34,8 @@ secrets {
 
    ike-moon {
       id = moon.strongswan.org
-      secret = 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
+      # hex value equal to base64 0sFpZAZqEN6Ti9sqt4ZP5EWcqx
+      secret = 0x16964066a10de938bdb2ab7864fe4459cab1
    }
 }