1234567891011121314151617181920212223242526 |
- moon::iptables-restore < /etc/iptables.rules
- carol::iptables-restore < /etc/iptables.rules
- dave::iptables-restore < /etc/iptables.rules
- carol::echo 0 > /proc/sys/net/ipv4/ip_forward
- dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id
- moon::sed -i "s/NOW/`date +%s`/g" /etc/pts/data1.sql
- moon::sed -i "s:DEBIAN_VERSION:\`cat /etc/debian_version\`:" /etc/pts/data1.sql
- moon::cd /usr/local/share/strongswan/templates/database/imv; cat tables.sql data.sql /etc/pts/data1.sql | sqlite3 /etc/db.d/config.db
- moon::cat /etc/tnc_config
- carol::cat /etc/tnc_config
- dave::cat /etc/tnc_config
- carol::rm /etc/swanctl/rsa/*
- dave::rm /etc/swanctl/rsa/*
- carol::rm /etc/swanctl/x509/*
- dave::rm /etc/swanctl/x509/*
- moon::systemctl start strongswan
- carol::systemctl start strongswan
- dave::systemctl start strongswan
- moon::expect-connection rw-allow
- moon::expect-connection rw-isolate
- carol::expect-connection home
- carol::swanctl --initiate --child home 2> /dev/null
- dave::expect-connection home
- dave::swanctl --initiate --child home 2> /dev/nullmoon::ipsec attest --packages --product 'Debian 7.9 x86_64'
- moon::ipsec attest --sessions
- moon::ipsec attest --devices
|