--- east.console.txt 2019-09-20 17:49:12.277192182 +0000 +++ OUTPUT/east.console.txt 2019-09-21 07:23:29.341844431 +0000 @@ -26,23 +26,11 @@ ../../pluto/bin/ipsec-look.sh east NOW XFRM state: -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 -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 XFRM policy: src 192.1.2.23/32 dst 192.1.2.253/32 dir out priority 1564639 ptype main src 192.1.2.23/32 dst 192.1.2.254/32 dir out priority 1564639 ptype main -src 192.1.2.23/32 dst 192.1.3.209/32 - dir out priority 1564639 ptype main - tmpl src 192.1.2.23 dst 192.1.3.209 - proto esp reqid REQID mode tunnel src 192.1.2.23/32 dst 192.1.3.253/32 dir out priority 1564639 ptype main src 192.1.2.23/32 dst 192.1.3.254/32 @@ -55,14 +43,6 @@ dir fwd priority 1564639 ptype main src 192.1.2.254/32 dst 192.1.2.23/32 dir in priority 1564639 ptype main -src 192.1.3.209/32 dst 192.1.2.23/32 - dir fwd priority 1564639 ptype main - tmpl src 192.1.3.209 dst 192.1.2.23 - proto esp reqid REQID mode tunnel -src 192.1.3.209/32 dst 192.1.2.23/32 - dir in priority 1564639 ptype main - tmpl src 192.1.3.209 dst 192.1.2.23 - proto esp reqid REQID mode tunnel src 192.1.3.253/32 dst 192.1.2.23/32 dir fwd priority 1564639 ptype main src 192.1.3.253/32 dst 192.1.2.23/32 @@ -91,21 +71,34 @@ west-ec P,, east # ipsec whack --trafficstatus -006 #2: "clear-or-private#192.1.3.0/24"[1] ...192.1.3.209, type=ESP, add_time=1234567890, inBytes=168, outBytes=168, id='ID_NULL' +whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) east # # A tunnel should have established east # grep "negotiated connection" /tmp/pluto.log -"clear-or-private#192.1.3.0/24"[1] ...192.1.3.209 #2: negotiated connection [192.1.2.23-192.1.2.23:0-65535 0] -> [192.1.3.209-192.1.3.209:0-65535 0] east # # you should see both RSA and NULL east # grep IKEv2_AUTH_ /tmp/pluto.log -| auth method: IKEv2_AUTH_NULL (0xd) -| auth method: IKEv2_AUTH_RSA (0x1) east # east # ../bin/check-for-core.sh +CORE FOUND: /tmp/core.road.pluto.15642 +[New LWP 15642] +[Thread debugging using libthread_db enabled] +Using host libthread_db library "/lib64/libthread_db.so.1". +Core was generated by `PATH/libexec/ipsec/pluto --config /etc/ipsec.conf'. +Program terminated with signal SIGABRT, Aborted. +#0 0x00007fbc087ece75 in raise () from /lib64/libc.so.6 +#0 0x00007fbc087ece75 in raise () from /lib64/libc.so.6 +#1 0x00007fbc087d7895 in abort () from /lib64/libc.so.6 +#2 0x0000557847eacecb in lswlog_passert_suffix (buf=buf@entry=0x7ffcc2d65730, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 +#3 0x0000557847e9e2e8 in lsw_passert_fail (where=..., fmt=fmt@entry=0x557847efb624 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 +#4 0x0000557847e3a586 in free_signal_handlers () at /home/build/libreswan/programs/pluto/server.c:624 +#5 free_pluto_event_list () at /home/build/libreswan/programs/pluto/server.c:671 +#6 0x0000557847e370c9 in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 +#7 0x0000557847dfd907 in create_lock () at /home/build/libreswan/programs/pluto/plutomain.c:272 +#8 main (argc=, argv=) at /home/build/libreswan/programs/pluto/plutomain.c:1458 east # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi