Debian Codegraph @

testing/pluto/ikev2-ikeport-4500-initiator-ipv4/west.console.txt

raw
1 /testing/guestbin/swan-prep --46
2 west #
3 ipsec start
4 Redirecting to: [initsystem]
5 west #
6 ../../guestbin/wait-until-pluto-started
7 west #
8 ipsec auto --add west
9 "west": added IKEv2 connection
10 west #
11 ipsec whack --impair suppress_retransmits
12 west #
13 echo "initdone"
14 initdone
15 west #
16 ipsec auto --up west
17 "west" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
18 "west" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/4500
19 "west" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/4500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
20 "west" #1: sent IKE_AUTH request to 192.1.2.23:UDP/4500
21 "west" #1: initiator established IKE SA; authenticated peer using authby=secret and ID_FQDN '@east'
22 "west" #2: initiator established Child SA using #1; IPsec tunnel [192.0.1.0/24===192.0.2.0/24] {ESP/ESN=>0xESPESP <0xESPESP xfrm=AES_GCM_16_256-NONE DPD=passive}
23 west #
24 ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254
25 up
26 west #
27 ipsec whack --trafficstatus
28 #2: "west", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@east'
29 west #
30 echo done
31 done
32 west #
33 ../../guestbin/ipsec-kernel-state.sh
34 src 192.1.2.45 dst 192.1.2.23
35 proto esp spi 0xSPISPI reqid REQID mode tunnel
36 replay-window 0 flag af-unspec esn
37 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
38 lastused YYYY-MM-DD HH:MM:SS
39 anti-replay esn context:
40 seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX
41 replay_window 0, bitmap-length 0
42 src 192.1.2.23 dst 192.1.2.45
43 proto esp spi 0xSPISPI reqid REQID mode tunnel
44 replay-window 0 flag af-unspec esn
45 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
46 lastused YYYY-MM-DD HH:MM:SS
47 anti-replay esn context:
48 seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX
49 replay_window 128, bitmap-length 4
50 00000000 00000000 00000000 XXXXXXXX
51 west #
52 ../../guestbin/ipsec-kernel-policy.sh
53 src 192.0.1.0/24 dst 192.0.2.0/24
54 dir out priority PRIORITY ptype main
55 tmpl src 192.1.2.45 dst 192.1.2.23
56 proto esp reqid REQID mode tunnel
57 src 192.0.2.0/24 dst 192.0.1.0/24
58 dir fwd priority PRIORITY ptype main
59 tmpl src 192.1.2.23 dst 192.1.2.45
60 proto esp reqid REQID mode tunnel
61 src 192.0.2.0/24 dst 192.0.1.0/24
62 dir in priority PRIORITY ptype main
63 tmpl src 192.1.2.23 dst 192.1.2.45
64 proto esp reqid REQID mode tunnel
65 src ::/0 dst ::/0 proto ipv6-icmp type 135
66 dir fwd priority PRIORITY ptype main
67 src ::/0 dst ::/0 proto ipv6-icmp type 135
68 dir in priority PRIORITY ptype main
69 src ::/0 dst ::/0 proto ipv6-icmp type 135
70 dir out priority PRIORITY ptype main
71 src ::/0 dst ::/0 proto ipv6-icmp type 136
72 dir fwd priority PRIORITY ptype main
73 src ::/0 dst ::/0 proto ipv6-icmp type 136
74 dir in priority PRIORITY ptype main
75 src ::/0 dst ::/0 proto ipv6-icmp type 136
76 dir out priority PRIORITY ptype main
77 west #
78