Fixes in tnc scenarios

This commit is contained in:
Andreas Steffen
2013-08-19 11:44:51 +02:00
parent 10c7ca2399
commit f859645b12
3 changed files with 5 additions and 2 deletions
@@ -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
@@ -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
@@ -13,7 +13,9 @@ charon {
}
tnc-pdp {
server = aaa.strongswan.org
secret = gv6URkSs
radius {
secret = gv6URkSs
}
}
}
}