File: west.console.txt

package info (click to toggle)
libreswan 5.2-2.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 81,644 kB
  • sloc: ansic: 129,988; sh: 32,018; xml: 20,646; python: 10,303; makefile: 3,022; javascript: 1,506; sed: 574; yacc: 511; perl: 264; awk: 52
file content (46 lines) | stat: -rw-r--r-- 1,370 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/testing/guestbin/swan-prep --hostkeys
Creating NSS database containing host keys
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet
"westnet-eastnet": added IKEv1 connection
west #
 echo "initdone"
initdone
west #
 # wait for east to initiate to us
west #
 sleep 10
west #
 ../../guestbin/ping-once.sh --up -I 192.0.1.254 192.0.2.254
up
west #
 # should show non-zero traffic counters
west #
 ipsec whack --trafficstatus
#2: "westnet-eastnet", type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='@east'
west #
 # sending delete/notify should cause east to re-initiate
west #
 ipsec auto --down westnet-eastnet
"westnet-eastnet": initiating delete of connection's IPsec SA #2 and ISAKMP SA #1
"westnet-eastnet" #2: deleting IPsec SA (QUICK_R2) and sending notification using ISAKMP SA #1
"westnet-eastnet" #2: ESP traffic information: in=84B out=84B
"westnet-eastnet" #1: deleting ISAKMP SA (MAIN_R3) and sending notification
west #
 # give Delete/Notify some time
west #
 sleep 10
west #
 # A new IPsec SA should be established (older versions would take 30 seconds)
west #
 # traffic counters should be zero
west #
 ipsec whack --trafficstatus
#4: "westnet-eastnet", type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@east'
west #