Debian Codegraph @

testing/pluto/newoe-18-poc-cop-port-7-transport/east.console.txt

raw
1 /testing/guestbin/swan-prep --nokeys
2 Creating empty NSS database
3 east #
4 ../../guestbin/echo-server.sh -tcp -4 7 -daemon
5 listening on IPv4 TCP port 7
6 east #
7 cp east-ikev2-oe.conf /etc/ipsec.d/ikev2-oe.conf
8 east #
9 cp policies/* /etc/ipsec.d/policies/
10 east #
11 echo "192.1.3.0/24 tcp 7 0" >> /etc/ipsec.d/policies/clear-or-private
12 east #
13 ipsec start
14 Redirecting to: [initsystem]
15 east #
16 ../../guestbin/wait-until-pluto-started
17 east #
18 # give OE policies time to load
19 east #
20 ../../guestbin/wait-for.sh --match 'loaded 10,' -- ipsec auto --status
21 Total IPsec connections: loaded 10, active 0
22 east #
23 echo "initdone"
24 initdone
25 east #
26 ../../guestbin/ipsec-kernel-state.sh
27 src 192.1.2.23 dst 192.1.3.209
28 proto esp spi 0xSPISPI reqid REQID mode transport
29 replay-window 0 flag esn
30 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
31 lastused YYYY-MM-DD HH:MM:SS
32 anti-replay esn context:
33 seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX
34 replay_window 0, bitmap-length 0
35 sel src 192.1.2.23/32 dst 192.1.3.209/32 proto tcp sport 7
36 src 192.1.3.209 dst 192.1.2.23
37 proto esp spi 0xSPISPI reqid REQID mode transport
38 replay-window 0 flag esn
39 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
40 lastused YYYY-MM-DD HH:MM:SS
41 anti-replay esn context:
42 seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX
43 replay_window 128, bitmap-length 4
44 00000000 00000000 00000000 XXXXXXXX
45 sel src 192.1.3.209/32 dst 192.1.2.23/32 proto tcp dport 7
46 east #
47 ../../guestbin/ipsec-kernel-policy.sh
48 src 192.1.2.23/32 dst 192.1.3.209/32 proto tcp sport 7
49 dir out priority PRIORITY ptype main
50 tmpl src 0.0.0.0 dst 0.0.0.0
51 proto esp reqid REQID mode transport
52 src 192.1.3.209/32 dst 192.1.2.23/32 proto tcp dport 7
53 dir in priority PRIORITY ptype main
54 tmpl src 0.0.0.0 dst 0.0.0.0
55 proto esp reqid REQID mode transport
56 src 192.1.2.23/32 dst 192.1.2.253/32
57 dir out priority PRIORITY ptype main
58 src 192.1.2.23/32 dst 192.1.2.254/32
59 dir out priority PRIORITY ptype main
60 src 192.1.2.23/32 dst 192.1.3.253/32
61 dir out priority PRIORITY ptype main
62 src 192.1.2.23/32 dst 192.1.3.254/32
63 dir out priority PRIORITY ptype main
64 src 192.1.2.253/32 dst 192.1.2.23/32
65 dir fwd priority PRIORITY ptype main
66 src 192.1.2.253/32 dst 192.1.2.23/32
67 dir in priority PRIORITY ptype main
68 src 192.1.2.254/32 dst 192.1.2.23/32
69 dir fwd priority PRIORITY ptype main
70 src 192.1.2.254/32 dst 192.1.2.23/32
71 dir in priority PRIORITY ptype main
72 src 192.1.3.253/32 dst 192.1.2.23/32
73 dir fwd priority PRIORITY ptype main
74 src 192.1.3.253/32 dst 192.1.2.23/32
75 dir in priority PRIORITY ptype main
76 src 192.1.3.254/32 dst 192.1.2.23/32
77 dir fwd priority PRIORITY ptype main
78 src 192.1.3.254/32 dst 192.1.2.23/32
79 dir in priority PRIORITY ptype main
80 east #
81 # a tunnel should have established
82 east #
83 grep "^[^|].* established Child SA" /tmp/pluto.log
84 "clear-or-private#192.1.3.0/24-(7--6--0)"[1] ...192.1.3.209 #2: responder established Child SA using #1; IPsec transport [192.1.2.23/32/TCP/7===192.1.3.209/32/TCP] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
85 east #
86