testing: Change sql scenarios to swanctl
[strongswan.git] / testing / tests / sql / ip-pool-db / evaltest.dat
1 carol::cat /var/log/daemon.log::installing new virtual IP PH_IP_CAROL1::YES
2 carol::cat /var/log/daemon.log::installing DNS server PH_IP_WINNETOU::YES
3 carol::cat /var/log/daemon.log::installing DNS server PH_IP_VENUS::YES
4 carol::cat /var/log/daemon.log::handling INTERNAL_IP4_NBNS attribute failed::YES
5 carol::cat /var/log/daemon.log::handling APPLICATION_VERSION attribute failed::YES
6 carol::ip addr list dev eth0::PH_IP_CAROL1::YES
7 carol::ip route list table 220::10.1.0.0/16.*src PH_IP_CAROL1::YES
8 carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
9 carol::swanctl --list-sas --raw 2> /dev/null::home.*version=2 state=ESTABLISHED local-host=192.168.0.100 local-id=carol@strongswan.org remote-host=192.168.0.1 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.*local-vips=\[10.3.0.1] child-sas.*home.*state=INSTALLED mode=TUNNEL protocol=ESP.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128.*local-ts=\[10.3.0.1/32] remote-ts=\[10.1.0.0/16]::YES
10 dave:: cat /var/log/daemon.log::installing new virtual IP PH_IP_DAVE1::YES
11 dave:: cat /var/log/daemon.log::installing new virtual IP PH_IP_DAVE1::YES
12 dave:: cat /var/log/daemon.log::installing DNS server PH_IP_WINNETOU::YES
13 dave:: cat /var/log/daemon.log::installing DNS server PH_IP_VENUS::YES
14 dave:: cat /var/log/daemon.log::handling INTERNAL_IP4_NBNS attribute failed::YES
15 dave:: cat /var/log/daemon.log::handling APPLICATION_VERSION attribute failed::YES
16 dave:: ip addr list dev eth0::PH_IP_DAVE1::YES
17 dave:: ip route list table 220::10.1.0.0/16.*src PH_IP_DAVE1::YES
18 dave:: ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_req=1::YES
19 dave:: swanctl --list-sas --raw 2> /dev/null::home.*version=2 state=ESTABLISHED local-host=192.168.0.200 local-id=dave@strongswan.org remote-host=192.168.0.1 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.*local-vips=\[10.3.0.2] child-sas.*home.*state=INSTALLED mode=TUNNEL protocol=ESP.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128.*local-ts=\[10.3.0.2/32] remote-ts=\[10.1.0.0/16]::YES
20 moon:: cat /var/log/daemon.log::peer requested virtual IP %any::YES
21 moon:: cat /var/log/daemon.log::acquired new lease for address.*in pool.*bigpool::YES
22 moon:: cat /var/log/daemon.log::assigning virtual IP::YES
23 moon:: swanctl --list-sas --ike-id 1 --raw 2> /dev/null::rw.*version=2 state=ESTABLISHED local-host=192.168.0.1 local-id=moon.strongswan.org remote-host=192.168.0.100 remote-id=carol@strongswan.org.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=MODP_3072.*remote-vips=\[10.3.0.1] child-sas.*rw.*state=INSTALLED mode=TUNNEL protocol=ESP.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128.*local-ts=\[10.1.0.0/16] remote-ts=\[10.3.0.1/32]::YES
24 moon:: swanctl --list-sas --ike-id 2 --raw 2> /dev/null::rw.*version=2 state=ESTABLISHED local-host=192.168.0.1 local-id=moon.strongswan.org remote-host=192.168.0.200 remote-id=dave@strongswan.org.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128 prf-alg=PRF_HMAC_SHA2_256 dh-group=MODP_3072.*remote-vips=\[10.3.0.2] child-sas.*rw.*state=INSTALLED mode=TUNNEL protocol=ESP.*encr-alg=AES_CBC encr-keysize=128 integ-alg=HMAC_SHA2_256_128.*local-ts=\[10.1.0.0/16] remote-ts=\[10.3.0.2/32]::YES 
25 moon:: ipsec pool --status 2> /dev/null::dns servers: PH_IP_WINNETOU PH_IP_VENUS::YES
26 moon:: ipsec pool --status 2> /dev/null::nbns servers: PH_IP_VENUS::YES
27 moon:: ipsec pool --status 2> /dev/null::bigpool.*10.3.0.1.*10.3.0.6.*static.*2::YES
28 moon:: ipsec pool --leases --filter pool=bigpool,addr=10.3.0.1,id=carol@strongswan.org 2> /dev/null::online::YES
29 moon:: ipsec pool --leases --filter pool=bigpool,addr=10.3.0.2,id=dave@strongswan.org 2> /dev/null::online::YES
30 moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP::YES
31 moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP::YES
32 moon::tcpdump::IP dave.strongswan.org > moon.strongswan.org: ESP::YES
33 moon::tcpdump::IP moon.strongswan.org > dave.strongswan.org: ESP::YES
34 alice::tcpdump::IP carol1.strongswan.org > alice.strongswan.org: ICMP echo request::YES
35 alice::tcpdump::IP alice.strongswan.org > carol1.strongswan.org: ICMP echo reply::YES
36 alice::tcpdump::IP dave1.strongswan.org > alice.strongswan.org: ICMP echo request::YES
37 alice::tcpdump::IP alice.strongswan.org > dave1.strongswan.org: ICMP echo reply::YES