Fixes in tnc scenarios
This commit is contained in:
@@ -10,7 +10,7 @@ exchange PA-TNC attributes.
|
|||||||
<b>carol</b> sends information on her operating system consisting of the 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>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>
|
<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
|
<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>
|
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
|
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
|
dave::iptables-restore < /etc/iptables.rules
|
||||||
carol::echo 0 > /proc/sys/net/ipv4/ip_forward
|
carol::echo 0 > /proc/sys/net/ipv4/ip_forward
|
||||||
dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id
|
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::cd /etc/pts; cat tables.sql data.sql | sqlite3 config.db
|
||||||
moon::cat /etc/tnc_config
|
moon::cat /etc/tnc_config
|
||||||
carol::cat /etc/tnc_config
|
carol::cat /etc/tnc_config
|
||||||
|
|||||||
@@ -13,7 +13,9 @@ charon {
|
|||||||
}
|
}
|
||||||
tnc-pdp {
|
tnc-pdp {
|
||||||
server = aaa.strongswan.org
|
server = aaa.strongswan.org
|
||||||
secret = gv6URkSs
|
radius {
|
||||||
|
secret = gv6URkSs
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user