--- east.console.txt 1970-01-01 00:00:00.000000000 +0000 +++ OUTPUT/east.console.txt 2019-08-26 13:24:36.098146929 +0000 @@ -0,0 +1,110 @@ +/testing/guestbin/swan-prep +east # + ipsec start +Redirecting to: [initsystem] +east # + /testing/pluto/bin/wait-until-pluto-started +east # + ipsec auto --add east +002 added connection description "east" +east # + ping -n -I 192.0.2.254 192.0.1.254 & +[x] PID +east # + echo "initdone" +PING 192.0.1.254 (192.0.1.254) from 192.0.2.254 : 56(84) bytes of data. +64 bytes from 192.0.1.254: icmp_seq=1 ttl=64 time=0.XXX ms +initdone +east # + ipsec whack --trafficstatus +64 bytes from 192.0.1.254: icmp_seq=3 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=4 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=5 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=6 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=7 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=8 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=9 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=10 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=11 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=12 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=13 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=14 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=15 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=16 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=17 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=18 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=19 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=20 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=21 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=22 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=23 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=24 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=25 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=26 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=27 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=28 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=29 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=30 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=31 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=32 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=33 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=34 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=35 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=36 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=37 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=38 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=39 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=40 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=41 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=42 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=43 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=44 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=45 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=46 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=47 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=48 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=49 ttl=64 time=0.XXX ms +64 bytes from 192.0.1.254: icmp_seq=50 ttl=64 time=0.XXX ms +006 #4: "east", type=ESP, add_time=1234567890, inBytes=1428, outBytes=1428, id='@west' +east # + ipsec status |grep STATE_ +000 #1: "east":500 STATE_PARENT_R2 (received v2I2, PARENT SA established); EVENT_SA_REKEY in XXs; newest ISAKMP; idle; +000 #4: "east":500 STATE_V2_IPSEC_R (IPsec SA established); EVENT_SA_REKEY in XXs; newest IPSEC; eroute owner; isakmp#1; idle; +east # + ../../pluto/bin/ipsec-look.sh +64 bytes from 192.0.1.254: icmp_ ttl=64 time=0.XXX ms +east NOW +XFRM state: +src 192.1.2.45 dst 192.1.2.23 + proto esp spi 0xSPISPI reqid REQID mode tunnel + aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 +src 192.1.2.23 dst 192.1.2.45 + proto esp spi 0xSPISPI reqid REQID mode tunnel + aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 +XFRM policy: +src 192.0.1.0/24 dst 192.0.2.0/24 + dir fwd priority 1042407 ptype main + tmpl src 192.1.2.45 dst 192.1.2.23 +src 192.0.1.0/24 dst 192.0.2.0/24 + dir in priority 1042407 ptype main + tmpl src 192.1.2.45 dst 192.1.2.23 +src 192.0.2.0/24 dst 192.0.1.0/24 + dir out priority 1042407 ptype main + tmpl src 192.1.2.23 dst 192.1.2.45 +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 via 192.1.2.45 dev eth1 +192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.254 +192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.23 +NSS_CERTIFICATES +Certificate Nickname Trust Attributes + SSL,S/MIME,JAR/XPI +east # +east # + ../bin/check-for-core.sh +east # + if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi +