added ITA Scanner IMC/IMV pair to tnccs-20 and tnccs-20-block scenarios
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 4 Jul 2011 19:44:22 +0000 (21:44 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 4 Jul 2011 19:44:22 +0000 (21:44 +0200)
testing/tests/tnc/tnccs-20-block/hosts/carol/etc/tnc_config
testing/tests/tnc/tnccs-20-block/hosts/dave/etc/tnc_config
testing/tests/tnc/tnccs-20-block/hosts/moon/etc/strongswan.conf
testing/tests/tnc/tnccs-20-block/hosts/moon/etc/tnc_config
testing/tests/tnc/tnccs-20-block/posttest.dat
testing/tests/tnc/tnccs-20-block/pretest.dat
testing/tests/tnc/tnccs-20/hosts/carol/etc/tnc_config
testing/tests/tnc/tnccs-20/hosts/dave/etc/strongswan.conf
testing/tests/tnc/tnccs-20/hosts/dave/etc/tnc_config
testing/tests/tnc/tnccs-20/hosts/moon/etc/strongswan.conf
testing/tests/tnc/tnccs-20/hosts/moon/etc/tnc_config

index a39922d..b02ff82 100644 (file)
@@ -1,3 +1,4 @@
 #IMC configuration file for strongSwan client 
 
-IMC "Test" /usr/local/libexec/ipsec/plugins/libstrongswan-imc-test.so
+IMC "Test"     /usr/local/libexec/ipsec/plugins/libstrongswan-imc-test.so
+IMC "Scanner"  /usr/local/libexec/ipsec/plugins/libstrongswan-imc-scanner.so
index a39922d..b02ff82 100644 (file)
@@ -1,3 +1,4 @@
 #IMC configuration file for strongSwan client 
 
-IMC "Test" /usr/local/libexec/ipsec/plugins/libstrongswan-imc-test.so
+IMC "Test"     /usr/local/libexec/ipsec/plugins/libstrongswan-imc-test.so
+IMC "Scanner"  /usr/local/libexec/ipsec/plugins/libstrongswan-imc-scanner.so
index 20caf8e..45ec189 100644 (file)
@@ -17,3 +17,13 @@ charon {
     }
   }
 }
+
+libimcv {
+  plugins {
+    imv-scanner {
+      closed_port_policy = yes
+      tcp_ports = 22
+      udp_ports = 500 4500
+    }
+  }
+}
index 5028bc8..d904fbe 100644 (file)
@@ -1,3 +1,4 @@
-#IMV configuration file for strongSwan client 
+#IMV configuration file for strongSwan server 
 
-IMV "Test" /usr/local/libexec/ipsec/plugins/libstrongswan-imv-test.so
+IMV "Test"     /usr/local/libexec/ipsec/plugins/libstrongswan-imv-test.so
+IMV "Scanner"  /usr/local/libexec/ipsec/plugins/libstrongswan-imv-scanner.so
index 7cebd7f..50bb7e1 100644 (file)
@@ -4,3 +4,4 @@ dave::ipsec stop
 moon::/etc/init.d/iptables stop 2> /dev/null
 carol::/etc/init.d/iptables stop 2> /dev/null
 dave::/etc/init.d/iptables stop 2> /dev/null
+dave::/etc/init.d/apache2 stop 2> /dev/null
index c332f13..7b0a42f 100644 (file)
@@ -1,6 +1,7 @@
 moon::/etc/init.d/iptables start 2> /dev/null
 carol::/etc/init.d/iptables start 2> /dev/null
 dave::/etc/init.d/iptables start 2> /dev/null
+dave::/etc/init.d/apache2 start 2> /dev/null
 moon::cat /etc/tnc_config
 carol::cat /etc/tnc_config
 dave::cat /etc/tnc_config
index d3d574c..b02ff82 100644 (file)
@@ -1,3 +1,4 @@
 #IMC configuration file for strongSwan client 
 
 IMC "Test"     /usr/local/libexec/ipsec/plugins/libstrongswan-imc-test.so
+IMC "Scanner"  /usr/local/libexec/ipsec/plugins/libstrongswan-imc-scanner.so
index ef052ce..1f907df 100644 (file)
@@ -7,6 +7,9 @@ charon {
     eap-tnc {
       protocol = tnccs-2.0
     }
+    tnc-imc {
+      preferred_language = ru, pl  , de
+    }
   }
 }
 
index d3d574c..b02ff82 100644 (file)
@@ -1,3 +1,4 @@
 #IMC configuration file for strongSwan client 
 
 IMC "Test"     /usr/local/libexec/ipsec/plugins/libstrongswan-imc-test.so
+IMC "Scanner"  /usr/local/libexec/ipsec/plugins/libstrongswan-imc-scanner.so
index eb615ff..f340576 100644 (file)
@@ -20,5 +20,10 @@ libimcv {
     imv-test {
       rounds = 1
     }
+    imv-scanner {
+      closed_port_policy = yes 
+      udp_ports = 500 4500
+      tcp_ports = 22
+    }
   }
 }
index 0b5ff57..d904fbe 100644 (file)
@@ -1,3 +1,4 @@
 #IMV configuration file for strongSwan server 
 
 IMV "Test"     /usr/local/libexec/ipsec/plugins/libstrongswan-imv-test.so
+IMV "Scanner"  /usr/local/libexec/ipsec/plugins/libstrongswan-imv-scanner.so