Debian Codegraph @

testing/pluto/interop-ikev2-strongswan-37-initiator-no-digsig/east.console.txt

raw
1 /testing/guestbin/swan-prep --nokeys
2 Creating empty NSS database
3 east #
4 /testing/x509/import.sh real/mainca/`hostname`.all.p12
5 ipsec pk12util -w nss-pw -i real/mainca/east.all.p12
6 pk12util: PKCS12 IMPORT SUCCESSFUL
7 ipsec certutil -M -n mainca -t CT,,
8 east #
9 /testing/x509/import.sh real/mainca/west.end.cert
10 ipsec certutil -A -n west -t P,, -i real/mainca/west.end.cert
11 east #
12 ipsec start
13 Redirecting to: [initsystem]
14 east #
15 ../../guestbin/wait-until-pluto-started
16 east #
17 ipsec auto --add westnet-eastnet-ikev2
18 "westnet-eastnet-ikev2": added IKEv2 connection
19 east #
20 echo "initdone"
21 initdone
22 east #
23 if [ -f /var/run/pluto/pluto.pid ]; then ../../guestbin/ipsec-kernel-state.sh ; fi
24 src 192.1.2.23 dst 192.1.2.45
25 proto esp spi 0xSPISPI reqid REQID mode tunnel
26 replay-window 0 flag af-unspec
27 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
28 lastused YYYY-MM-DD HH:MM:SS
29 src 192.1.2.45 dst 192.1.2.23
30 proto esp spi 0xSPISPI reqid REQID mode tunnel
31 replay-window 0 flag af-unspec
32 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
33 lastused YYYY-MM-DD HH:MM:SS
34 anti-replay esn context:
35 seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX
36 replay_window 128, bitmap-length 4
37 00000000 00000000 00000000 XXXXXXXX
38 east #
39 if [ -f /var/run/pluto/pluto.pid ]; then ../../guestbin/ipsec-kernel-policy.sh ; fi
40 src 192.0.1.0/24 dst 192.0.2.0/24
41 dir fwd priority PRIORITY ptype main
42 tmpl src 192.1.2.45 dst 192.1.2.23
43 proto esp reqid REQID mode tunnel
44 src 192.0.1.0/24 dst 192.0.2.0/24
45 dir in priority PRIORITY ptype main
46 tmpl src 192.1.2.45 dst 192.1.2.23
47 proto esp reqid REQID mode tunnel
48 src 192.0.2.0/24 dst 192.0.1.0/24
49 dir out priority PRIORITY ptype main
50 tmpl src 192.1.2.23 dst 192.1.2.45
51 proto esp reqid REQID mode tunnel
52 east #
53 # expect state #2, state #1 responded with INVALID_KE
54 east #
55 if [ -f /var/run/pluto/pluto.pid ]; then grep " authenticated peer " /tmp/pluto.log ; fi
56 "westnet-eastnet-ikev2" #1: responder established IKE SA; authenticated peer using preloaded certificate 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=west.testing.libreswan.org, [email protected]' and 3072-bit PKCS#1 1.5 RSA with SHA1 signature issued by 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, [email protected]'
57 east #
58 if [ -f /var/run/charon.pid -o -f /var/run/strongswan/charon.pid ]; then strongswan status ; fi
59 east #
60