diff --git a/testing/tests/ikev2/rw-eap-tnc-radius/description.txt b/testing/tests/ikev2/rw-eap-tnc-radius/description.txt index 8d08ae4c8..7eebd3d4d 100644 --- a/testing/tests/ikev2/rw-eap-tnc-radius/description.txt +++ b/testing/tests/ikev2/rw-eap-tnc-radius/description.txt @@ -7,4 +7,4 @@ The strong EAP-TTLS tunnel protects the ensuing weak client authentication based In a next step the EAP-TNC protocol is used within the EAP-TTLS tunnel to determine the health of carol and dave via the IF-TNCCS 1.1 client-server interface. carol passes the health test and dave fails. Based on these measurements the -clients are connected by gateway moon to the "rw-access" and "rw-isolate" subnets, respectively. +clients are connected by gateway moon to the "rw-allow" and "rw-isolate" subnets, respectively. diff --git a/testing/tests/ikev2/rw-eap-tnc-radius/evaltest.dat b/testing/tests/ikev2/rw-eap-tnc-radius/evaltest.dat index 1ab0d7e5e..1b8584a0c 100644 --- a/testing/tests/ikev2/rw-eap-tnc-radius/evaltest.dat +++ b/testing/tests/ikev2/rw-eap-tnc-radius/evaltest.dat @@ -6,11 +6,11 @@ dave::cat /var/log/daemon.log::authentication of 'moon.strongswan.org' with RSA dave::cat /var/log/daemon.log::TNCCS-Recommendation.*isolate::YES dave::cat /var/log/daemon.log::EAP method EAP_TTLS succeeded, MSK established ::YES dave::cat /var/log/daemon.log::CHILD_SA home{1} established.*TS 192.168.0.200/32 === 10.1.0.16/28::YES -moon::cat /var/log/daemon.log::received RADIUS attribute Filter-Id: 'access'::YES +moon::cat /var/log/daemon.log::received RADIUS attribute Filter-Id: 'allow'::YES moon::cat /var/log/daemon.log::authentication of 'carol@strongswan.org' with EAP successful::YES moon::cat /var/log/daemon.log::received RADIUS attribute Filter-Id: 'isolate'::YES moon::cat /var/log/daemon.log::authentication of 'dave@strongswan.org' with EAP successful::YES -moon::ipsec statusall::rw-access.*10.1.0.0/28 === 192.168.0.100/32::YES +moon::ipsec statusall::rw-allow.*10.1.0.0/28 === 192.168.0.100/32::YES moon::ipsec statusall::rw-isolate.*10.1.0.16/28 === 192.168.0.200/32::YES carol::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES carol::ping -c 1 PH_IP_VENUS::64 bytes from PH_IP_ALICE: icmp_seq=1::NO diff --git a/testing/tests/ikev2/rw-eap-tnc-radius/hosts/alice/etc/raddb/sites-available/inner-tunnel-second b/testing/tests/ikev2/rw-eap-tnc-radius/hosts/alice/etc/raddb/sites-available/inner-tunnel-second index 1a246122c..f91bccc72 100644 --- a/testing/tests/ikev2/rw-eap-tnc-radius/hosts/alice/etc/raddb/sites-available/inner-tunnel-second +++ b/testing/tests/ikev2/rw-eap-tnc-radius/hosts/alice/etc/raddb/sites-available/inner-tunnel-second @@ -18,7 +18,7 @@ post-auth { if (control:TNC-Status == "Access") { update reply { Tunnel-Type := ESP - Filter-Id := "access" + Filter-Id := "allow" } } elsif (control:TNC-Status == "Isolate") { diff --git a/testing/tests/ikev2/rw-eap-tnc-radius/hosts/moon/etc/ipsec.conf b/testing/tests/ikev2/rw-eap-tnc-radius/hosts/moon/etc/ipsec.conf index f54a651b0..33dcdcfb0 100755 --- a/testing/tests/ikev2/rw-eap-tnc-radius/hosts/moon/etc/ipsec.conf +++ b/testing/tests/ikev2/rw-eap-tnc-radius/hosts/moon/etc/ipsec.conf @@ -11,8 +11,8 @@ conn %default keyingtries=1 keyexchange=ikev2 -conn rw-access - rightgroups=access +conn rw-allow + rightgroups=allow leftsubnet=10.1.0.0/28 also=rw-eap auto=add