| 1 |
/testing/guestbin/swan-prep --nokeys |
| 2 |
Creating empty NSS database |
| 3 |
east # |
| 4 |
/testing/x509/import.sh real/mainec/`hostname`.all.p12 |
| 5 |
ipsec pk12util -w nss-pw -i real/mainec/east.all.p12 |
| 6 |
pk12util: PKCS12 IMPORT SUCCESSFUL |
| 7 |
ipsec certutil -M -n mainec -t CT,, |
| 8 |
east # |
| 9 |
ipsec start |
| 10 |
Redirecting to: [initsystem] |
| 11 |
east # |
| 12 |
../../guestbin/wait-until-pluto-started |
| 13 |
east # |
| 14 |
ipsec auto --add westnet-eastnet-ikev2 |
| 15 |
"westnet-eastnet-ikev2": added IKEv2 connection |
| 16 |
east # |
| 17 |
echo "initdone" |
| 18 |
initdone |
| 19 |
east # |
| 20 |
if [ -f /var/run/pluto/pluto.pid ]; then ../../guestbin/ipsec-kernel-state.sh ; fi |
| 21 |
src 192.1.2.23 dst 192.1.2.45 |
| 22 |
proto esp spi 0xSPISPI reqid REQID mode tunnel |
| 23 |
replay-window 0 flag af-unspec |
| 24 |
aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 |
| 25 |
lastused YYYY-MM-DD HH:MM:SS |
| 26 |
src 192.1.2.45 dst 192.1.2.23 |
| 27 |
proto esp spi 0xSPISPI reqid REQID mode tunnel |
| 28 |
replay-window 0 flag af-unspec |
| 29 |
aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 |
| 30 |
lastused YYYY-MM-DD HH:MM:SS |
| 31 |
anti-replay esn context: |
| 32 |
seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX |
| 33 |
replay_window 128, bitmap-length 4 |
| 34 |
00000000 00000000 00000000 XXXXXXXX |
| 35 |
east # |
| 36 |
if [ -f /var/run/pluto/pluto.pid ]; then ../../guestbin/ipsec-kernel-policy.sh ; fi |
| 37 |
src 192.0.1.0/24 dst 192.0.2.0/24 |
| 38 |
dir fwd priority PRIORITY ptype main |
| 39 |
tmpl src 192.1.2.45 dst 192.1.2.23 |
| 40 |
proto esp reqid REQID mode tunnel |
| 41 |
src 192.0.1.0/24 dst 192.0.2.0/24 |
| 42 |
dir in priority PRIORITY ptype main |
| 43 |
tmpl src 192.1.2.45 dst 192.1.2.23 |
| 44 |
proto esp reqid REQID mode tunnel |
| 45 |
src 192.0.2.0/24 dst 192.0.1.0/24 |
| 46 |
dir out priority PRIORITY ptype main |
| 47 |
tmpl src 192.1.2.23 dst 192.1.2.45 |
| 48 |
proto esp reqid REQID mode tunnel |
| 49 |
east # |
| 50 |
if [ -f /var/run/charon.pid -o -f /var/run/strongswan/charon.pid ]; then strongswan status ; fi |
| 51 |
east # |
| 52 |
|