If the IKEv2 initiator acting as a TNC server receives invalid TNC measurements from the IKEv2 responder acting as a TNC clienti, the exchange of PB-TNC batches is continued until the IKEv2 responder acting as a TNC server has also finished its TNC measurements. In the past if these measurements in the other direction were correct the IKEv2 responder acting as EAP server declared the IKEv2 EAP authentication successful and the IPsec connection was established even though the TNC measurement verification on the EAP peer side failed. The fix adds an "allow" group membership on each endpoint if the corresponding TNC measurements of the peer are successful. By requiring a "allow" group membership in the IKEv2 connection definition the IPsec connection succeeds only if the TNC measurements on both sides are valid.
26 lines
467 B
Bash
26 lines
467 B
Bash
#!/bin/bash
|
|
#
|
|
# This configuration file provides information on the
|
|
# guest instances used for this test
|
|
|
|
# All guest instances that are required for this test
|
|
#
|
|
VIRTHOSTS="moon winnetou sun"
|
|
|
|
# Corresponding block diagram
|
|
#
|
|
DIAGRAM="m-w-s.png"
|
|
|
|
# Guest instances on which tcpdump is to be started
|
|
#
|
|
TCPDUMPHOSTS="sun"
|
|
|
|
# Guest instances on which IPsec is started
|
|
# Used for IPsec logging purposes
|
|
#
|
|
IPSECHOSTS="moon sun"
|
|
|
|
# charon controlled by swanctl
|
|
#
|
|
SWANCTL=1
|