/testing/guestbin/swan-prep
west #
 ../bin/algo-west-pluto.sh
protocol=ah
initiator_stack=netkey
responder_stack=netkey
version=ikev1
encrypt=aes integ=sha1
proto=authenticate algs= sha1
check the stack is netkey
	protostack=netkey
confirm that the network is alive
destination -I 192.0.1.254 192.0.2.254 is alive
ensure that clear text does not get through
down
Redirecting to: [initsystem]
testing sha1
+
+ authenticate-ikev1-sha1
+
+ ipsec whack --name authenticate-ikev1-sha1 --ikev1-allow --psk --esp sha1 --authenticate --pfs --no-esn --id @west --host 192.1.2.45 --nexthop 192.1.2.23 --client 192.0.1.0/24 --to --id @east --host 192.1.2.23 --nexthop=192.1.2.45 --client 192.0.2.0/24
002 added connection description "authenticate-ikev1-sha1"
+
002 "authenticate-ikev1-sha1" #1: initiating Main Mode
1v1 "authenticate-ikev1-sha1" #1: STATE_MAIN_I1: sent MI1, expecting MR1
1v1 "authenticate-ikev1-sha1" #1: STATE_MAIN_I2: sent MI2, expecting MR2
1v1 "authenticate-ikev1-sha1" #1: STATE_MAIN_I3: sent MI3, expecting MR3
002 "authenticate-ikev1-sha1" #1: Peer ID is ID_FQDN: '@east'
004 "authenticate-ikev1-sha1" #1: STATE_MAIN_I4: ISAKMP SA established {auth=PRESHARED_KEY cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048}
002 "authenticate-ikev1-sha1" #2: initiating Quick Mode PSK+AUTHENTICATE+TUNNEL+PFS+UP+IKEV1_ALLOW+ESN_NO
1v1 "authenticate-ikev1-sha1" #2: STATE_QUICK_I1: sent QI1, expecting QR1
004 "authenticate-ikev1-sha1" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {AH=>0xAHAH <0xAHAH xfrm=HMAC_SHA1_96 NATOA=none NATD=none DPD=passive}
+
up
+
002 "authenticate-ikev1-sha1": terminating SAs using this connection
002 "authenticate-ikev1-sha1" #2: deleting state (STATE_QUICK_I2) and sending notification
005 "authenticate-ikev1-sha1" #2: AH traffic information: in=84B out=84B
002 "authenticate-ikev1-sha1" #1: deleting state (STATE_MAIN_I4) and sending notification
+
west #
 ../../pluto/bin/ipsec-look.sh
west NOW
XFRM state:
XFRM policy:
XFRM done
IPSEC mangle TABLES
NEW_IPSEC_CONN mangle TABLES
ROUTING TABLES
default via 192.1.2.254 dev eth1
192.0.1.0/24 dev eth0 proto kernel scope link src 192.0.1.254
192.0.2.0/24 via 192.1.2.23 dev eth1
192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.45
NSS_CERTIFICATES
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI
west #
 ../bin/check-for-core.sh
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

