/testing/guestbin/swan-prep --x509 --x509name west Preparing X.509 files east # westckaid=$(ipsec showhostkey --list | sed -e 's/.*ckaid: //') east # /testing/guestbin/swan-prep --x509 Preparing X.509 files east # eastckaid=$(ipsec showhostkey --list | sed -e 's/.*ckaid: //') east # echo west ckaid: $westckaid east ckaid: $eastckaid west ckaid: <> east ckaid: <> east # sed -i -e "s/WESTCKAID/$westckaid/" -e "s/EASTCKAID/$eastckaid/" /etc/ipsec.conf sed: cannot rename /etc/sedAtUPqY: Device or resource busy east # ipsec start Redirecting to: [initsystem] east # /testing/pluto/bin/wait-until-pluto-started east # ipsec auto --add westnet-eastnet-ikev2 while loading 'westnet-eastnet-ikev2': invalid leftckaid: unknown character in input invalid rightckaid: unknown character in input addconn, in config '/etc/ipsec.conf', ignoring: invalid leftckaid: unknown character in input invalid rightckaid: unknown character in input conn westnet-eastnet-ikev2 did not load properly east # ipsec auto --status | grep westnet-eastnet-ikev2 east # echo "initdone" initdone east # ../../pluto/bin/ipsec-look.sh east 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 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 Libreswan test CA for mainca - Libreswan CT,, east u,u,u hashsha1 P,, nic P,, north P,, road P,, west P,, west-ec P,, east # ../bin/check-for-core.sh east # if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi east #