--- road.console.txt 2019-08-24 18:12:56.115679494 +0000 +++ OUTPUT/road.console.txt 2019-08-26 13:21:56.089749074 +0000 @@ -6,7 +6,6 @@ ip route del default road # ip tuntap add mode tun tun0 -[ 00.00] tun: Universal TUN/TAP device driver VERSION road # ifconfig tun0 10.11.12.13/24 road # @@ -28,6 +27,7 @@ road # ipsec start Redirecting to: [initsystem] +changing /proc/sys/net/core/xfrm_acq_expires from 30 to 10 road # /testing/pluto/bin/wait-until-pluto-started road # @@ -45,13 +45,8 @@ road # ping -n -c 5 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. -64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.XXX ms -64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.XXX ms -64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.XXX ms -64 bytes from 192.1.2.23: icmp_seq=5 ttl=64 time=0.XXX ms --- 192.1.2.23 ping statistics --- -5 packets transmitted, 4 received, 20% packet loss, time XXXX -rtt min/avg/max/mdev = 0.XXX/0.XXX/0.XXX/0.XXX ms +5 packets transmitted, 0 received, 100% packet loss, time XXXX road # # wait on OE retransmits and rekeying road # @@ -60,7 +55,6 @@ # should show established tunnel and no bare shunts road # ipsec whack --trafficstatus -006 #2: "private-or-clear#192.1.2.23/32"[1] ...192.1.2.23, type=ESP, add_time=1234567890, inBytes=336, outBytes=336, id='ID_NULL' road # ipsec whack --shuntstatus 000 Bare Shunt list: @@ -70,14 +64,10 @@ road # ping -n -c 2 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. -64 bytes from 192.1.2.23: icmp_seq=1 ttl=64 time=0.XXX ms -64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.XXX ms --- 192.1.2.23 ping statistics --- -2 packets transmitted, 2 received, 0% packet loss, time XXXX -rtt min/avg/max/mdev = 0.XXX/0.XXX/0.XXX/0.XXX ms +2 packets transmitted, 0 received, 100% packet loss, time XXXX road # ipsec whack --trafficstatus -006 #2: "private-or-clear#192.1.2.23/32"[1] ...192.1.2.23, type=ESP, add_time=1234567890, inBytes=504, outBytes=504, id='ID_NULL' road # echo "waiting on east to send delete for this IPsec SA" waiting on east to send delete for this IPsec SA @@ -97,8 +87,6 @@ ip xfrm pol src 192.1.3.209/32 dst 192.1.2.23/32 dir out priority 1564639 ptype main - tmpl src 0.0.0.0 dst 0.0.0.0 - proto esp reqid 0 mode transport src 192.1.2.253/32 dst 10.11.12.13/32 dir fwd priority 1564639 ptype main src 192.1.2.253/32 dst 10.11.12.13/32 @@ -158,28 +146,10 @@ sleep 5 road # ip xfrm state -src 192.1.2.23 dst 192.1.3.209 - proto esp spi 0xSPISPI reqid REQID mode tunnel - replay-window 32 flag af-unspec - aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 -src 192.1.3.209 dst 192.1.2.23 - proto esp spi 0xSPISPI reqid REQID mode tunnel - replay-window 32 flag af-unspec - aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128 road # ip xfrm pol src 192.1.3.209/32 dst 192.1.2.23/32 dir out priority 1564639 ptype main - tmpl src 192.1.3.209 dst 192.1.2.23 - proto esp reqid 16441 mode tunnel -src 192.1.2.23/32 dst 192.1.3.209/32 - dir fwd priority 1564639 ptype main - tmpl src 192.1.2.23 dst 192.1.3.209 - proto esp reqid 16441 mode tunnel -src 192.1.2.23/32 dst 192.1.3.209/32 - dir in priority 1564639 ptype main - tmpl src 192.1.2.23 dst 192.1.3.209 - proto esp reqid 16441 mode tunnel src 192.1.2.253/32 dst 10.11.12.13/32 dir fwd priority 1564639 ptype main src 192.1.2.253/32 dst 10.11.12.13/32 @@ -232,7 +202,6 @@ # should show established tunnel and no bare shunts road # ipsec whack --trafficstatus -006 #4: "private-or-clear#192.1.2.23/32"[2] ...192.1.2.23, type=ESP, add_time=1234567890, inBytes=0, outBytes=0, id='ID_NULL' road # ipsec whack --shuntstatus 000 Bare Shunt list: @@ -242,19 +211,14 @@ road # ping -n -c 2 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. -64 bytes from 192.1.2.23: icmp_seq=1 ttl=64 time=0.XXX ms -64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.XXX ms --- 192.1.2.23 ping statistics --- -2 packets transmitted, 2 received, 0% packet loss, time XXXX -rtt min/avg/max/mdev = 0.XXX/0.XXX/0.XXX/0.XXX ms +2 packets transmitted, 0 received, 100% packet loss, time XXXX road # ipsec whack --trafficstatus -006 #4: "private-or-clear#192.1.2.23/32"[2] ...192.1.2.23, type=ESP, add_time=1234567890, inBytes=168, outBytes=168, id='ID_NULL' road # # both ends should show a tunnel road # ipsec whack --trafficstatus -006 #4: "private-or-clear#192.1.2.23/32"[2] ...192.1.2.23, type=ESP, add_time=1234567890, inBytes=168, outBytes=168, id='ID_NULL' road # road # ../bin/check-for-core.sh