]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: uses xauth_id in swanctl/xauth-rsa scenario
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 29 Apr 2016 15:33:21 +0000 (17:33 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 4 May 2016 16:13:52 +0000 (18:13 +0200)
testing/tests/swanctl/xauth-rsa/evaltest.dat
testing/tests/swanctl/xauth-rsa/hosts/carol/etc/swanctl/swanctl.conf
testing/tests/swanctl/xauth-rsa/hosts/dave/etc/swanctl/swanctl.conf
testing/tests/swanctl/xauth-rsa/hosts/moon/etc/swanctl/swanctl.conf

index c50c7fb054f3638a6ff6c30ec2f94da7f349ec6c..ba35d7bc322772f0fc005354509739371e529bda 100644 (file)
@@ -1,5 +1,5 @@
-moon:: cat /var/log/daemon.log::XAuth authentication of.*carol@strongswan.org.*successful::YES
-moon:: cat /var/log/daemon.log::XAuth authentication of.*dave@strongswan.org.*successful::YES
+moon:: cat /var/log/daemon.log::XAuth authentication of.*carol.*successful::YES
+moon:: cat /var/log/daemon.log::XAuth authentication of.*dave.*successful::YES
 carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
 dave:: ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
 carol::swanctl --list-sas --raw 2> /dev/null::home.*version=1 state=ESTABLISHED local-host=192.168.0.100 local-port=500 local-id=carol@strongswan.org remote-host=192.168.0.1 remote-port=500 remote-id=moon.strongswan.org initiator=yes.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=MODP_3072 established=1.*child-sas.*home.*state=INSTALLED mode=TUNNEL protocol=ESP.*encr-alg=AES_GCM_16 encr-keysize=128 dh-group=MODP_3072.*local-ts=\[192.168.0.100/32] remote-ts=\[10.1.0.0/16]::YES
index 2d2639ea14c04f469c25642aa02684e9590ec131..ddfe896fb9d07ce26a43e2217b4ca33d483494d3 100755 (executable)
@@ -11,6 +11,7 @@ connections {
       }
       local-xauth {
          auth = xauth
+         xauth_id = carol
       }
       remote {
          auth = pubkey
@@ -32,7 +33,7 @@ connections {
 secrets {
 
    xauth-carol {
-      id = carol@strongswan.org
+      id = carol
       secret = "4iChxLT3" 
    }
 }
index f3758e387351500c5bf2170968b3a4b4d1683464..61ca64db3758eeefcf43dc07081d6fea44488be5 100755 (executable)
@@ -11,6 +11,7 @@ connections {
       }
       local-xauth {
          auth = xauth
+         xauth_id = dave
       }
       remote {
          auth = pubkey
@@ -32,7 +33,7 @@ connections {
 secrets {
 
    xauth-dave {
-      id = dave@strongswan.org
+      id = dave
       secret = "ryftzG4A"
    }
 }
index 27a8802970cbf1d96e221cfe50a99e165dcbe038..f71bea1d1afa3886c900df516b1679081365bdbb 100755 (executable)
@@ -30,11 +30,11 @@ connections {
 secrets {
 
    xauth-carol {
-      id = carol@strongswan.org
+      id = carol
       secret = "4iChxLT3" 
    }
    xauth-dave {
-      id = dave@strongswan.org
+      id = dave
       secret = "ryftzG4A"
    }
 }