testing: uses xauth_id in swanctl/xauth-rsa scenario
This commit is contained in:
@@ -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.*carol.*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.*dave.*successful::YES
|
||||||
carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::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
|
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
|
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 {
|
local-xauth {
|
||||||
auth = xauth
|
auth = xauth
|
||||||
|
xauth_id = carol
|
||||||
}
|
}
|
||||||
remote {
|
remote {
|
||||||
auth = pubkey
|
auth = pubkey
|
||||||
@@ -32,7 +33,7 @@ connections {
|
|||||||
secrets {
|
secrets {
|
||||||
|
|
||||||
xauth-carol {
|
xauth-carol {
|
||||||
id = carol@strongswan.org
|
id = carol
|
||||||
secret = "4iChxLT3"
|
secret = "4iChxLT3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ connections {
|
|||||||
}
|
}
|
||||||
local-xauth {
|
local-xauth {
|
||||||
auth = xauth
|
auth = xauth
|
||||||
|
xauth_id = dave
|
||||||
}
|
}
|
||||||
remote {
|
remote {
|
||||||
auth = pubkey
|
auth = pubkey
|
||||||
@@ -32,7 +33,7 @@ connections {
|
|||||||
secrets {
|
secrets {
|
||||||
|
|
||||||
xauth-dave {
|
xauth-dave {
|
||||||
id = dave@strongswan.org
|
id = dave
|
||||||
secret = "ryftzG4A"
|
secret = "ryftzG4A"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,11 +30,11 @@ connections {
|
|||||||
secrets {
|
secrets {
|
||||||
|
|
||||||
xauth-carol {
|
xauth-carol {
|
||||||
id = carol@strongswan.org
|
id = carol
|
||||||
secret = "4iChxLT3"
|
secret = "4iChxLT3"
|
||||||
}
|
}
|
||||||
xauth-dave {
|
xauth-dave {
|
||||||
id = dave@strongswan.org
|
id = dave
|
||||||
secret = "ryftzG4A"
|
secret = "ryftzG4A"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user