diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-08-19 11:44:51 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-08-19 11:44:51 +0200 |
commit | f859645b1236a6e8086239df03715db215433066 (patch) | |
tree | d81a5f8abd4a766791e62f6f2dea70bf9ffea6e2 /testing | |
parent | 10c7ca2399fd74ceb98ba72c88606a909293c829 (diff) | |
download | strongswan-f859645b1236a6e8086239df03715db215433066.tar.bz2 strongswan-f859645b1236a6e8086239df03715db215433066.tar.xz |
Fixes in tnc scenarios
Diffstat (limited to 'testing')
-rw-r--r-- | testing/tests/tnc/tnccs-20-os/description.txt | 2 | ||||
-rw-r--r-- | testing/tests/tnc/tnccs-20-os/pretest.dat | 1 | ||||
-rw-r--r-- | testing/tests/tnc/tnccs-20-pdp/hosts/alice/etc/strongswan.conf | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/testing/tests/tnc/tnccs-20-os/description.txt b/testing/tests/tnc/tnccs-20-os/description.txt index f660a0b63..941113434 100644 --- a/testing/tests/tnc/tnccs-20-os/description.txt +++ b/testing/tests/tnc/tnccs-20-os/description.txt @@ -10,7 +10,7 @@ exchange PA-TNC attributes. <b>carol</b> sends information on her operating system consisting of the PA-TNC attributes <em>Product Information</em>, <em>String Version</em>, <em>Numeric Version</em>, <em>Operational Status</em>, <em>Forwarding Enabled</em>, <em>Factory Default Password Enabled</em> -and <em>Device ID> up-front, whereas <b>dave</b> must be prompted by the IMV to do so via an +and <em>Device ID</em> up-front, whereas <b>dave</b> must be prompted by the IMV to do so via an <em>Attribute Request</em> PA-TNC attribute. <b>carol</b> is then prompted to send a list of installed packages using the <em>Installed Packages</em> PA-TNC attribute. Since <b>dave</b> successfully connected to the VPN gateway shortly before, no new list of installed packages is diff --git a/testing/tests/tnc/tnccs-20-os/pretest.dat b/testing/tests/tnc/tnccs-20-os/pretest.dat index 333ac7462..610e88b8c 100644 --- a/testing/tests/tnc/tnccs-20-os/pretest.dat +++ b/testing/tests/tnc/tnccs-20-os/pretest.dat @@ -3,6 +3,7 @@ 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/data.sql moon::cd /etc/pts; cat tables.sql data.sql | sqlite3 config.db moon::cat /etc/tnc_config carol::cat /etc/tnc_config diff --git a/testing/tests/tnc/tnccs-20-pdp/hosts/alice/etc/strongswan.conf b/testing/tests/tnc/tnccs-20-pdp/hosts/alice/etc/strongswan.conf index 70da7766a..ec4956c31 100644 --- a/testing/tests/tnc/tnccs-20-pdp/hosts/alice/etc/strongswan.conf +++ b/testing/tests/tnc/tnccs-20-pdp/hosts/alice/etc/strongswan.conf @@ -13,7 +13,9 @@ charon { } tnc-pdp { server = aaa.strongswan.org - secret = gv6URkSs + radius { + secret = gv6URkSs + } } } } |