--- west.console.txt 1970-01-01 00:00:00.000000000 +0000 +++ OUTPUT/west.console.txt 2019-08-26 13:10:53.351952530 +0000 @@ -0,0 +1,82 @@ +/testing/guestbin/swan-prep +west # + ipsec start +Redirecting to: [initsystem] +west # + /testing/pluto/bin/wait-until-pluto-started +west # + ipsec auto --add multi +002 added connection description "multi/1x1" +002 added connection description "multi/1x2" +002 added connection description "multi/1x3" +002 added connection description "multi/1x4" +002 added connection description "multi/2x1" +002 added connection description "multi/2x2" +002 added connection description "multi/2x3" +002 added connection description "multi/2x4" +002 added connection description "multi/3x1" +002 added connection description "multi/3x2" +002 added connection description "multi/3x3" +002 added connection description "multi/3x4" +002 added connection description "multi/4x1" +002 added connection description "multi/4x2" +002 added connection description "multi/4x3" +002 added connection description "multi/4x4" +west # + #ipsec whack --impair suppress-retransmits +west # + echo "initdone" +initdone +west # + # probably best to attach pluto on east to gdb +west # + ipsec auto --up multi +000 initiating all conns with alias='multi' +002 "multi/4x4" #1: initiating v2 parent SA +1v2 "multi/4x4" #1: initiate +1v2 "multi/4x4" #1: STATE_PARENT_I1: sent v2I1, expected v2R1 +010 "multi/4x4" #1: STATE_PARENT_I1: retransmission; will wait 0.5 seconds for response +010 "multi/4x4" #1: STATE_PARENT_I1: retransmission; will wait 1 seconds for response +010 "multi/4x4" #1: STATE_PARENT_I1: retransmission; will wait 2 seconds for response +010 "multi/4x4" #1: STATE_PARENT_I1: retransmission; will wait 4 seconds for response +010 "multi/4x4" #1: STATE_PARENT_I1: retransmission; will wait 8 seconds for response +west # + echo done +done +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 # + ipsec stop +Redirecting to: [initsystem] +Shutting down pluto IKE daemon +whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) +.......... +Attempt to shut Pluto down failed! Trying kill +/etc/init.d/ipsec: line 162: kill: p: invalid signal specification +west # + # on east ipsec stop will not work pluto is not started with ipsec start +west # + pidof pluto && kill `pidof pluto` +west # + grep leak /tmp/pluto.log +leak-detective enabled +west # +west # + ../bin/check-for-core.sh +west # + if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi +