Debian Codegraph @

testing/pluto/addresspool-6in6-strongswan-initiator-ikev2/east.console.txt

raw
1 /testing/guestbin/swan-prep --46
2 east #
3 ipsec start
4 Redirecting to: [initsystem]
5 east #
6 ../../guestbin/wait-until-pluto-started
7 east #
8 ipsec auto --add rw-eastnet-ipv6
9 "rw-eastnet-ipv6": added IKEv2 connection
10 east #
11 ipsec auto --status
12 using kernel interface: xfrm
13
14 interface eth1 [2001:db8:1:2::23]:UDP/4500 (NAT)
15 interface eth1 [2001:db8:1:2::23]:UDP/500
16 interface eth0 [2001:db8:0:2::254]:UDP/4500 (NAT)
17 interface eth0 [2001:db8:0:2::254]:UDP/500
18 interface lo [::1]:UDP/4500 (NAT)
19 interface lo [::1]:UDP/500
20 interface lo 127.0.0.1:UDP/4500 (NAT)
21 interface lo 127.0.0.1:UDP/500
22 interface eth0 192.0.2.254:UDP/4500 (NAT)
23 interface eth0 192.0.2.254:UDP/500
24 interface eth1 192.1.2.23:UDP/4500 (NAT)
25 interface eth1 192.1.2.23:UDP/500
26
27 fips mode=disabled;
28 SElinux=XXXXX
29 seccomp=OFF
30
31 config setup options:
32
33 configdir=/etc, configfile=/etc/ipsec.conf, secrets=/etc/ipsec.secrets, ipsecdir=/etc/ipsec.d
34 sbindir=PATH/sbin, libexecdir=PATH/libexec/ipsec
35 nhelpers=-1, uniqueids=yes, dnssec-enable=yes, shuntlifetime=900s, xfrmlifetime=30s
36 logfile='/tmp/pluto.log', logappend=no, logip=yes, audit-log=yes
37 ddos-cookies-threshold=25000, ddos-max-halfopen=50000, ddos-mode=auto, ikev1-policy=drop
38 ikebuf=0, msg_errqueue=yes, crl-strict=no, crlcheckinterval=0, listen=<any>, nflog-all=0
39 ocsp-enable=no, ocsp-strict=no, ocsp-timeout=2, ocsp-uri=<unset>
40 ocsp-trust-name=<unset>
41 ocsp-cache-size=1000, ocsp-cache-min-age=3600, ocsp-cache-max-age=86400, ocsp-method=get
42 global-redirect=no, global-redirect-to=<unset>
43 debug ...
44
45 nat-traversal: keep-alive=20, nat-ikeport=4500
46 virtual-private (%priv):
47
48 Kernel algorithms supported:
49
50 algorithm ESP encrypt: name=3DES_CBC, keysizemin=192, keysizemax=192
51 algorithm ESP encrypt: name=AES_CBC, keysizemin=128, keysizemax=256
52 algorithm ESP encrypt: name=AES_CCM_12, keysizemin=128, keysizemax=256
53 algorithm ESP encrypt: name=AES_CCM_16, keysizemin=128, keysizemax=256
54 algorithm ESP encrypt: name=AES_CCM_8, keysizemin=128, keysizemax=256
55 algorithm ESP encrypt: name=AES_CTR, keysizemin=128, keysizemax=256
56 algorithm ESP encrypt: name=AES_GCM_12, keysizemin=128, keysizemax=256
57 algorithm ESP encrypt: name=AES_GCM_16, keysizemin=128, keysizemax=256
58 algorithm ESP encrypt: name=AES_GCM_8, keysizemin=128, keysizemax=256
59 algorithm ESP encrypt: name=CAMELLIA_CBC, keysizemin=128, keysizemax=256
60 algorithm ESP encrypt: name=CHACHA20_POLY1305, keysizemin=256, keysizemax=256
61 algorithm ESP encrypt: name=NULL, keysizemin=0, keysizemax=0
62 algorithm ESP encrypt: name=NULL_AUTH_AES_GMAC, keysizemin=128, keysizemax=256
63 algorithm AH/ESP auth: name=AES_CMAC_96, key-length=128
64 algorithm AH/ESP auth: name=AES_XCBC_96, key-length=128
65 algorithm AH/ESP auth: name=HMAC_MD5_96, key-length=128
66 algorithm AH/ESP auth: name=HMAC_SHA1_96, key-length=160
67 algorithm AH/ESP auth: name=HMAC_SHA2_256_128, key-length=256
68 algorithm AH/ESP auth: name=HMAC_SHA2_256_TRUNCBUG, key-length=256
69 algorithm AH/ESP auth: name=HMAC_SHA2_384_192, key-length=384
70 algorithm AH/ESP auth: name=HMAC_SHA2_512_256, key-length=512
71 algorithm AH/ESP auth: name=NONE, key-length=0
72
73 IKE algorithms supported:
74
75 algorithm IKE encrypt: v1id=5, v1name=OAKLEY_3DES_CBC, v2id=3, v2name=3DES, blocksize=8, keydeflen=192
76 algorithm IKE encrypt: v1id=8, v1name=OAKLEY_CAMELLIA_CBC, v2id=23, v2name=CAMELLIA_CBC, blocksize=16, keydeflen=128
77 algorithm IKE encrypt: v1id=-1, v1name=n/a, v2id=20, v2name=AES_GCM_16, blocksize=16, keydeflen=128
78 algorithm IKE encrypt: v1id=-1, v1name=n/a, v2id=19, v2name=AES_GCM_12, blocksize=16, keydeflen=128
79 algorithm IKE encrypt: v1id=-1, v1name=n/a, v2id=18, v2name=AES_GCM_8, blocksize=16, keydeflen=128
80 algorithm IKE encrypt: v1id=13, v1name=OAKLEY_AES_CTR, v2id=13, v2name=AES_CTR, blocksize=16, keydeflen=128
81 algorithm IKE encrypt: v1id=7, v1name=OAKLEY_AES_CBC, v2id=12, v2name=AES_CBC, blocksize=16, keydeflen=128
82 algorithm IKE encrypt: v1id=-1, v1name=n/a, v2id=28, v2name=CHACHA20_POLY1305, blocksize=16, keydeflen=256
83 algorithm IKE PRF: name=HMAC_MD5, hashlen=16
84 algorithm IKE PRF: name=HMAC_SHA1, hashlen=20
85 algorithm IKE PRF: name=HMAC_SHA2_256, hashlen=32
86 algorithm IKE PRF: name=HMAC_SHA2_384, hashlen=48
87 algorithm IKE PRF: name=HMAC_SHA2_512, hashlen=64
88 algorithm IKE PRF: name=AES_XCBC, hashlen=16
89 algorithm IKE DH Key Exchange: name=MODP1536, bits=1536
90 algorithm IKE DH Key Exchange: name=MODP2048, bits=2048
91 algorithm IKE DH Key Exchange: name=MODP3072, bits=3072
92 algorithm IKE DH Key Exchange: name=MODP4096, bits=4096
93 algorithm IKE DH Key Exchange: name=MODP6144, bits=6144
94 algorithm IKE DH Key Exchange: name=MODP8192, bits=8192
95 algorithm IKE DH Key Exchange: name=DH19, bits=512
96 algorithm IKE DH Key Exchange: name=DH20, bits=768
97 algorithm IKE DH Key Exchange: name=DH21, bits=1056
98 algorithm IKE DH Key Exchange: name=DH31, bits=256
99
100 stats db_ops: {curr_cnt, total_cnt, maxsz} :context={0,0,0} trans={0,0,0} attrs={0,0,0}
101
102 Connection list:
103
104 "rw-eastnet-ipv6": 2001:db8:0:2::/64===2001:db8:1:2::23[@east,MS+S=C]...%any[+MC+S=C]==={2001:db8:0:3:1::/97}; unrouted; my_ip=unset; their_ip=unset;
105 "rw-eastnet-ipv6": host: oriented; local: 2001:db8:1:2::23; remote: %any;
106 "rw-eastnet-ipv6": my_updown=ipsec _updown;
107 "rw-eastnet-ipv6": xauth us:none, xauth them:none, my_username=[any]; their_username=[any]
108 "rw-eastnet-ipv6": our auth:secret, their auth:secret, our autheap:none, their autheap:none;
109 "rw-eastnet-ipv6": modecfg info: us:server, them:client, modecfg policy:push, dns:unset, domains:unset, cat:unset;
110 "rw-eastnet-ipv6": sec_label:unset;
111 "rw-eastnet-ipv6": ike_life: 28800s; ipsec_life: 28800s; ipsec_max_bytes: 2^63B; ipsec_max_packets: 2^63; replay_window: 128; rekey_margin: 540s; rekey_fuzz: 100%;
112 "rw-eastnet-ipv6": iptfs: no; fragmentation: yes; packet-size: 0; max-queue-size: 0; drop-time: 0; init-delay: 0; reorder-window: 0;
113 "rw-eastnet-ipv6": retransmit-interval: 9999ms; retransmit-timeout: 99s; iketcp:no; iketcp-port:4500;
114 "rw-eastnet-ipv6": initial-contact:no; cisco-unity:no; fake-strongswan:no; send-vendorid:no; send-no-esp-tfc:no;
115 "rw-eastnet-ipv6": policy: IKEv2+PSK+ENCRYPT+TUNNEL+PFS+IKEV2_ALLOW_NARROWING+IKE_FRAG_ALLOW+ESN_NO+ESN_YES;
116 "rw-eastnet-ipv6": v2-auth-hash-policy: none;
117 "rw-eastnet-ipv6": conn_prio: 64,97,0; interface: eth1; metric: 0; mtu: unset; sa_prio:auto; sa_tfc:none;
118 "rw-eastnet-ipv6": nflog-group: unset; mark: unset; vti-iface:unset; vti-routing:no; vti-shared:no; nic-offload:no;
119 "rw-eastnet-ipv6": our idtype: ID_FQDN; our id=@east; their idtype: %none; their id=(none)
120 "rw-eastnet-ipv6": liveness: passive; dpddelay:0s; retransmit-timeout:60s
121 "rw-eastnet-ipv6": nat-traversal: encapsulation:auto; keepalive:20s
122 "rw-eastnet-ipv6": routing: unrouted;
123 "rw-eastnet-ipv6": conn serial: $1;
124
125 Total IPsec connections: loaded 1, active 0
126
127 State Information: DDoS cookies not required, Accepting new IKE connections
128 IKE SAs: total(0), half-open(0), open(0), authenticated(0), anonymous(0)
129 IPsec SAs: total(0), authenticated(0), anonymous(0)
130
131 Bare Shunt list:
132
133 east #
134 echo "initdone"
135 initdone
136 east #
137 if [ -f /var/run/pluto/pluto.pid ]; then ../../guestbin/ipsec-kernel-state.sh ; fi
138 src 2001:db8:1:2::23 dst 2001:db8:1:2::45
139 proto esp spi 0xSPISPI reqid REQID mode tunnel
140 replay-window 0 flag af-unspec
141 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
142 lastused YYYY-MM-DD HH:MM:SS
143 src 2001:db8:1:2::45 dst 2001:db8:1:2::23
144 proto esp spi 0xSPISPI reqid REQID mode tunnel
145 replay-window 0 flag af-unspec
146 aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
147 lastused YYYY-MM-DD HH:MM:SS
148 anti-replay esn context:
149 seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX
150 replay_window 128, bitmap-length 4
151 00000000 00000000 00000000 XXXXXXXX
152 east #
153 if [ -f /var/run/pluto/pluto.pid ]; then ../../guestbin/ipsec-kernel-policy.sh ; fi
154 src ::/0 dst ::/0 proto ipv6-icmp type 135
155 dir fwd priority PRIORITY ptype main
156 src ::/0 dst ::/0 proto ipv6-icmp type 135
157 dir in priority PRIORITY ptype main
158 src ::/0 dst ::/0 proto ipv6-icmp type 135
159 dir out priority PRIORITY ptype main
160 src ::/0 dst ::/0 proto ipv6-icmp type 136
161 dir fwd priority PRIORITY ptype main
162 src ::/0 dst ::/0 proto ipv6-icmp type 136
163 dir in priority PRIORITY ptype main
164 src ::/0 dst ::/0 proto ipv6-icmp type 136
165 dir out priority PRIORITY ptype main
166 src 2001:db8:0:2::/64 dst 2001:db8:0:3:1::/128
167 dir out priority PRIORITY ptype main
168 tmpl src 2001:db8:1:2::23 dst 2001:db8:1:2::45
169 proto esp reqid REQID mode tunnel
170 src 2001:db8:0:3:1::/128 dst 2001:db8:0:2::/64
171 dir fwd priority PRIORITY ptype main
172 tmpl src 2001:db8:1:2::45 dst 2001:db8:1:2::23
173 proto esp reqid REQID mode tunnel
174 src 2001:db8:0:3:1::/128 dst 2001:db8:0:2::/64
175 dir in priority PRIORITY ptype main
176 tmpl src 2001:db8:1:2::45 dst 2001:db8:1:2::23
177 proto esp reqid REQID mode tunnel
178 east #
179 if [ -f /var/run/charon.pid -o -f /var/run/strongswan/charon.pid ]; then strongswan status ; fi
180 east #
181