| 1 |
/testing/guestbin/swan-prep |
| 2 |
east # |
| 3 |
ipsec start |
| 4 |
Redirecting to: [initsystem] |
| 5 |
east # |
| 6 |
../../guestbin/wait-until-pluto-started |
| 7 |
east # |
| 8 |
ipsec add west-east |
| 9 |
"west-east": added IKEv1 connection |
| 10 |
east # |
| 11 |
ipsec whack --impair revival |
| 12 |
east # |
| 13 |
../../guestbin/ipsec-kernel-state.sh |
| 14 |
src 192.1.2.45 dst 192.1.2.23 |
| 15 |
proto esp spi 0xSPISPI reqid REQID mode tunnel |
| 16 |
replay-window 0 flag af-unspec |
| 17 |
auth-trunc hmac(sha1) 0xHASHKEY 96 |
| 18 |
enc cbc(aes) 0xENCKEY |
| 19 |
anti-replay esn context: |
| 20 |
seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX |
| 21 |
replay_window 128, bitmap-length 4 |
| 22 |
00000000 00000000 00000000 XXXXXXXX |
| 23 |
src 192.1.2.45 dst 192.1.2.23 |
| 24 |
proto esp spi 0xSPISPI reqid REQID mode tunnel |
| 25 |
replay-window 0 flag af-unspec |
| 26 |
auth-trunc hmac(sha1) 0xHASHKEY 96 |
| 27 |
enc cbc(aes) 0xENCKEY |
| 28 |
anti-replay esn context: |
| 29 |
seq-hi 0x0, seq 0xXX, oseq-hi 0x0, oseq 0xXX |
| 30 |
replay_window 128, bitmap-length 4 |
| 31 |
00000000 00000000 00000000 XXXXXXXX |
| 32 |
east # |
| 33 |
../../guestbin/ipsec-kernel-policy.sh |
| 34 |
src 192.0.1.0/24 dst 192.0.2.0/24 |
| 35 |
dir fwd priority PRIORITY ptype main |
| 36 |
tmpl src 192.1.2.45 dst 192.1.2.23 |
| 37 |
proto esp reqid REQID mode tunnel |
| 38 |
src 192.0.1.0/24 dst 192.0.2.0/24 |
| 39 |
dir in priority PRIORITY ptype main |
| 40 |
tmpl src 192.1.2.45 dst 192.1.2.23 |
| 41 |
proto esp reqid REQID mode tunnel |
| 42 |
east # |
| 43 |
ipsec unroute west-east |
| 44 |
"west-east": terminating SAs using this connection |
| 45 |
"west-east" #3: deleting IPsec SA (QUICK_R1) and sending notification using ISAKMP SA #1 |
| 46 |
ERROR: "west-east" #3: kernel: xfrm XFRM_MSG_DELPOLICY delete response for flow (out): No such file or directory (errno 2) |
| 47 |
ERROR: "west-east" #3: netlink response for Get SA [email protected]: No such process (errno 3) |
| 48 |
"west-east" #3: failed to pull traffic counters from outbound IPsec SA |
| 49 |
"west-east" #3: ESP traffic information: in=0B out=0B |
| 50 |
ERROR: "west-east" #3: netlink response for Del SA [email protected]: No such process (errno 3) |
| 51 |
"west-east" #2: deleting IPsec SA (QUICK_R1) and NOT sending notification |
| 52 |
ERROR: "west-east" #2: netlink response for Get SA [email protected]: No such process (errno 3) |
| 53 |
"west-east" #2: failed to pull traffic counters from outbound IPsec SA |
| 54 |
"west-east" #2: ESP traffic information: in=0B out=0B |
| 55 |
ERROR: "west-east" #2: netlink response for Del SA [email protected]: No such process (errno 3) |
| 56 |
"west-east" #1: deleting ISAKMP SA (MAIN_R3) and sending notification |
| 57 |
east # |
| 58 |
|