Debian Codegraph @

testing/pluto/certoe-17-asymmetric-dual-clients-behind-nat-01/east.console.txt

raw
1 /testing/guestbin/swan-prep --x509
2 Preparing X.509 files
3 east #
4 ipsec certutil -D -n road
5 east #
6 cp east-ikev2-oe.conf /etc/ipsec.d/ikev2-oe.conf
7 east #
8 cp policies/* /etc/ipsec.d/policies/
9 east #
10 echo "192.1.3.0/24" >> /etc/ipsec.d/policies/clear-or-private
11 east #
12 ipsec restart
13 Redirecting to: [initsystem]
14 east #
15 ../../guestbin/wait-until-pluto-started
16 east #
17 ipsec whack --impair suppress_retransmits
18 east #
19 # give OE policies time to load
20 east #
21 ../../guestbin/wait-for.sh --match 'loaded 3' -- ipsec auto --status
22 Total IPsec connections: loaded 3, active 0
23 east #
24 echo "initdone"
25 initdone
26 east #
27 # A tunnel should have established with non-zero byte counters
28 east #
29 ipsec whack --trafficstatus
30 #2: "clear-or-private#192.1.2.254/32"[1] ...192.1.2.254==={10.0.10.1/32}, type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='ID_NULL', lease=10.0.10.1/32
31 east #
32 grep "^[^|].* established Child SA" /tmp/pluto.log
33 "clear-or-private#192.1.2.254/32"[1] ...192.1.2.254==={10.0.10.1/32} #2: responder established Child SA using #1; IPsec tunnel [192.1.2.23/32===10.0.10.1/32] {ESPinUDP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE NATD=192.1.2.254:EPHEM DPD=passive}
34 east #
35 grep -e 'auth method: ' -e 'hash algorithm identifier' -e "^[^|].* established IKE SA" OUTPUT/*pluto.log
36 OUTPUT/east.pluto.log:| parsing 2 raw bytes of IKEv2 Notify Payload into hash algorithm identifier (network ordered)
37 OUTPUT/east.pluto.log:| parsing 2 raw bytes of IKEv2 Notify Payload into hash algorithm identifier (network ordered)
38 OUTPUT/east.pluto.log:| parsing 2 raw bytes of IKEv2 Notify Payload into hash algorithm identifier (network ordered)
39 OUTPUT/east.pluto.log:| emitting 2 raw bytes of hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_256 into IKEv2 Notify Payload
40 OUTPUT/east.pluto.log:| hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_256: 00 02
41 OUTPUT/east.pluto.log:| emitting 2 raw bytes of hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_384 into IKEv2 Notify Payload
42 OUTPUT/east.pluto.log:| hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_384: 00 03
43 OUTPUT/east.pluto.log:| emitting 2 raw bytes of hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_512 into IKEv2 Notify Payload
44 OUTPUT/east.pluto.log:| hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_512: 00 04
45 OUTPUT/east.pluto.log:| auth method: IKEv2_AUTH_NULL (0xd)
46 OUTPUT/east.pluto.log:"clear-or-private#192.1.2.254/32"[1] ...192.1.2.254 #1: responder established IKE SA; authenticated peer using authby=null and ID_NULL 'ID_NULL'
47 OUTPUT/east.pluto.log:| auth method: IKEv2_AUTH_DIGITAL_SIGNATURE (0xe)
48 OUTPUT/road.pluto.log:| emitting 2 raw bytes of hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_256 into IKEv2 Notify Payload
49 OUTPUT/road.pluto.log:| hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_256: 00 02
50 OUTPUT/road.pluto.log:| emitting 2 raw bytes of hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_384 into IKEv2 Notify Payload
51 OUTPUT/road.pluto.log:| hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_384: 00 03
52 OUTPUT/road.pluto.log:| emitting 2 raw bytes of hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_512 into IKEv2 Notify Payload
53 OUTPUT/road.pluto.log:| hash algorithm identifier IKEv2_HASH_ALGORITHM_SHA2_512: 00 04
54 OUTPUT/road.pluto.log:| parsing 2 raw bytes of IKEv2 Notify Payload into hash algorithm identifier (network ordered)
55 OUTPUT/road.pluto.log:| parsing 2 raw bytes of IKEv2 Notify Payload into hash algorithm identifier (network ordered)
56 OUTPUT/road.pluto.log:| parsing 2 raw bytes of IKEv2 Notify Payload into hash algorithm identifier (network ordered)
57 OUTPUT/road.pluto.log:| auth method: IKEv2_AUTH_NULL (0xd)
58 OUTPUT/road.pluto.log:| auth method: IKEv2_AUTH_DIGITAL_SIGNATURE (0xe)
59 OUTPUT/road.pluto.log:"private-or-clear#192.1.2.0/24"[1] ...192.1.2.23 #1: initiator established IKE SA; authenticated peer certificate 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, [email protected]' and 3nnn-bit RSASSA-PSS with SHA2_512 digital signature issued by 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, [email protected]'
60 east #
61