testing: uses xauth_id in swanctl/xauth-rsa scenario

This commit is contained in:
Andreas Steffen
2016-05-04 18:13:52 +02:00
parent c962ae2e62
commit 87381a55a9
4 changed files with 8 additions and 6 deletions
+2 -2
View 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 [email protected] 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
@@ -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"
}
}
@@ -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"
}
}
@@ -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"
}
}