Commit Graph

311 Commits

Author SHA1 Message Date
Reto Buerki 0cc4063799 Use do_on_exit() in build scripts for cleanup 2013-01-17 15:22:11 +01:00
Reto Buerki 9a045eef8e Provide do_on_exit() function
This function allows to register an exit action which executes when the
calling script terminates.
2013-01-17 15:22:11 +01:00
Reto Buerki 7c2ef58e86 Import testing.conf file in function.sh
This is needed to have access to $LOGFILE and possibly other config
settings.
2013-01-17 15:22:10 +01:00
Reto Buerki 261cf0e395 Drop build-hostconfig script
Use processed host configurations directly instead.
2013-01-17 15:22:10 +01:00
Reto Buerki 2d1577d661 Update build-umlhostfs script to new log format 2013-01-17 15:22:10 +01:00
Reto Buerki bf3ff0e585 Update build-umlrootfs script to new log format 2013-01-17 15:22:10 +01:00
Reto Buerki 5828e434bd Update build-umlkernel script to new log format 2013-01-17 15:22:10 +01:00
Reto Buerki fb2aab414a Use red color in die() function
This is the function where red color SHOULD be used.
2013-01-17 15:22:10 +01:00
Reto Buerki b86866579a Move execute wrappers to function.sh file 2013-01-17 15:22:09 +01:00
Reto Buerki 9574bf7a5e Use log_action, log_status in build-baseimage script 2013-01-17 15:22:09 +01:00
Reto Buerki c120f25e60 Provide log_action and log_status functions
These two functions are used to log action descriptions and the
corresponding command exit status in a consistent way.
2013-01-17 15:22:09 +01:00
Reto Buerki 3c9df38c5e Add chroot() helper function 2013-01-17 15:22:09 +01:00
Reto Buerki 3b75c7ddc8 Use execute wrapper to disable root password 2013-01-17 15:22:09 +01:00
Tobias Brunner 18bce26ea6 Use key(and password-)less SSH authentication 2013-01-17 15:22:09 +01:00
Reto Buerki beff82dd98 Adjust strongSwan version handling in HTML output 2013-01-17 15:22:08 +01:00
Tobias Brunner ffe710ae71 Patch AVP parsing in EAP-TTLS module in FreeRADIUS 2013-01-17 15:22:08 +01:00
Tobias Brunner d47b751850 Add recipes for libtnc and TNC@FHH 2013-01-17 15:22:08 +01:00
Tobias Brunner b460fb1dd2 Drop SHAREDTREE in favor of mounting the compile dir 2013-01-17 15:22:08 +01:00
Tobias Brunner 633bee03fc Patch EAP-SIM module in FreeRADIUS 2013-01-17 15:22:08 +01:00
Reto Buerki 108040800d Add recipe for iptables 2012-12-18 16:00:21 +01:00
Reto Buerki adbb5cbd43 Add freeradius recipe 2012-12-18 16:00:21 +01:00
Reto Buerki e61ce6ee02 Factor out building of strongswan into own Makefile
Small Makefiles (recipes) are used to install software from source into
the root UML image.
2012-12-18 16:00:21 +01:00
Reto Buerki aa5803e0e3 testing: Switch to Debian based guest images
Instead of extracting a downloaded Gentoo filesystem tree into a file
containing a reiserfs filesystem, create an ext3 filesystem inside a
sparse file, mount it and debootstrap an up-to-date Debian system. Use
this image as base for all UML guest images.

Also, drop support for the various consoles and use xterm
unconditionally.
2012-12-18 16:00:21 +01:00
Andreas Steffen e9f47ee2d5 created OS IMC/IMV pair 2012-10-09 23:58:36 +02:00
Martin Willi f728ae590b Build unity plugin in strongSwan test suite 2012-09-18 17:17:49 +02:00
Tobias Brunner 6d30954ae8 Removed the unneeded socket-raw plugin 2012-09-14 14:10:14 +02:00
Andreas Steffen 9ce931f3af added ikev2/rw-eap-dynamic scenario 2012-09-12 12:15:17 +02:00
Andreas Steffen f2fc138e8e upgraded UML options to 5.0.0 2012-06-19 19:34:26 +02:00
Andreas Steffen be982b4c03 enable xauth-eap plugin in UML scenarios 2012-05-25 17:02:39 +02:00
Andreas Steffen 9fc69a0c81 two new options for 5.0.0 UML testing 2012-05-02 21:13:14 +02:00
Andreas Steffen 5ff8fe5d48 activated cmac plugin in UML test suites 2012-04-22 22:22:25 +02:00
Andreas Steffen 70fd2d1af7 created tnc-pdp policy decision point plugin 2012-03-13 16:27:16 +01:00
Andreas Steffen 6b4e0dd504 added ikev2/rw-pkcs8 scenario 2012-02-03 11:10:13 +01:00
Andreas Steffen 034b792b90 added Attestation IMC/IMV to UML build 2011-12-18 18:07:47 +01:00
Andreas Steffen 19e9bdda1f added UML support for IF-MAP interface 2011-12-12 17:00:50 +01:00
Andreas Steffen d9cdab9249 added ITA Scanner IMC/IMV pair which detects open server ports on TNC clients 2011-07-04 21:40:25 +02:00
Andreas Steffen a420b4736f output strongswan.conf and daemon.log on RADIUS hosts with strongSwan IMV 2011-06-01 21:38:03 +02:00
Andreas Steffen 83348c80e4 added the ikev2/rw-eap-tnc-20 scenario based on the RFC 5792 PA-TNC protocol 2011-05-30 21:31:50 +02:00
Andreas Steffen 8afbc768f3 added ikev2/rw-whitelist scenario 2011-05-12 21:11:01 +02:00
Andreas Steffen 1be296dfb2 implemented the PEAP tunneling protocol as an EAP plugin 2011-04-06 14:42:02 +02:00
Andreas Steffen 788fc89cc2 build the af-alg plugin in the UML test environment 2011-03-17 22:53:09 +01:00
Andreas Steffen 35c58deb67 move sleep into host start if statement 2011-01-31 08:18:34 +01:00
Andreas Steffen b6a8cfab4b additional UML configuration options 2011-01-31 05:47:05 +01:00
Andreas Steffen 1f201db699 enabled ha plugin in UML scenarios 2010-11-20 21:52:40 +01:00
Tobias Brunner 7ec11936e8 testing: Reduce testing runtime by reusing SSH sessions.
By using the ControlMaster and ControlPath options, existing SSH sessions
are reused (a session to each host is opened at the beginning of a test
run).  Also, RC4 is used as encryption algorithm to further improve the
performance.  These changes reduce the runtime by over 20%.
2010-10-14 14:01:26 +02:00
Andreas Steffen 8dcc56dcc0 created tnc-imc and tnc-imv plugins 2010-10-07 23:31:23 +02:00
Andreas Steffen 4e8e74fcfa moved TNCCS layer out of eap_tnc plugin 2010-09-28 23:34:04 +02:00
Andreas Steffen f9cfb5c836 display configuration and log of FreeRadius servers 2010-09-02 22:19:37 +02:00
Tobias Brunner 80c0328eec testing: Print output of 'make oldconfig' to STDOUT, besides logging it. 2010-09-02 19:04:23 +02:00
Tobias Brunner f32c0ce7b6 testing: Only sleep after a host has actually been started. 2010-09-02 19:04:22 +02:00
Tobias Brunner ad808bc2a2 testing: Build strongSwan a bit faster using make -j. 2010-09-02 19:04:22 +02:00
Tobias Brunner 38dd45c480 testing: Force the UML Kernel to x86. 2010-09-02 19:04:22 +02:00
Andreas Steffen d93e2e5409 created an eap-tnc method hull 2010-08-30 15:36:34 +02:00
Andreas Steffen 906680029d enable the ccm and gcm plugins in the UML scenarios 2010-08-20 12:47:44 +02:00
Andreas Steffen 4618430f83 enable the eap-ttls and ctr plugins in the uml scenarios 2010-08-14 21:40:05 +02:00
Andreas Steffen 9dffc26b73 --enable eap-tls and --disable-load-warning in uml build 2010-08-04 07:48:19 +02:00
Andreas Steffen fccf00576f activate --enable-addrblock configure option in UML scenarios 2010-07-13 21:04:20 +02:00
Andreas Steffen 4c9b5e742a updated options in testing.conf 2010-05-02 11:47:24 +02:00
Andreas Steffen 3ad78f0239 compile dhcp and farp plugins in UMLs 2010-03-28 22:40:20 +02:00
Andreas Steffen 0ef84e5e4d enable build of socket-default plugin 2010-03-11 21:53:18 +01:00
Andreas Steffen bc3162d806 build eap-aka-3gpp2 plugin in UML scenarios 2009-10-15 15:22:48 +02:00
Andreas Steffen 0e9ded6838 removed serpent and twofish plugins - use gcrypt instead 2009-06-18 07:27:40 +02:00
Andreas Steffen 9e533e3d8e --enable-test-vectors and --enable-gcrypt in UML scenarios 2009-06-16 18:06:16 +02:00
Andreas Steffen 1bfb8007c2 got rid of libcrypto 2009-05-15 01:28:48 +02:00
Tobias Brunner 8c5d72cd0b removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
Martin Willi a44bb9345f merged multi-auth branch back into trunk 2009-04-14 10:34:24 +00:00
Andreas Steffen 0ada62af06 enable eap-radius plugin in uml scenarios 2009-03-25 07:26:53 +00:00
Andreas Steffen 423c72d017 added ikev2/rw-eap-mschapv2 scenario 2009-02-19 22:02:28 +00:00
Andreas Steffen f2780731b0 corrected typo 2008-10-13 22:54:09 +00:00
Andreas Steffen 35c365c2e3 add support of --enable-eap-sim-file and --enable-kernel-pfkey configuration options 2008-10-13 00:09:44 +00:00
Andreas Steffen 41b1cd6b87 wait 5 seconds before deactivating eth1 interface on alice 2008-10-07 04:56:50 +00:00
Andreas Steffen a625146517 enable-eap-identity in UML scenarios 2008-08-26 19:17:14 +00:00
Andreas Steffen da4ad32547 moved copying of tables.sql after the strongswan installation 2008-06-05 07:25:27 +00:00
Andreas Steffen 76340368a6 divided ipsec.sql into tables.sql and data.sql 2008-05-31 08:53:48 +00:00
Andreas Steffen 2e6749af0a activate --enable-openssl option in uml scenarios 2008-05-28 14:13:40 +00:00
Andreas Steffen 231be8df87 do not preserve ownership of copied files 2008-05-12 20:06:58 +00:00
Andreas Steffen 276a6969f6 corrected gnome-terminal's --show-menubar option 2008-05-08 08:22:07 +00:00
Andreas Steffen ab40f2edc7 add symbolic link to hash-and-url certs 2008-04-19 07:48:53 +00:00
Andreas Steffen babaaa3c11 support of SQL databases in UML scenarios 2008-04-06 12:05:42 +00:00
Andreas Steffen 1c65129148 adapted configure options in testing.conf and build-umlrootfs 2008-03-29 19:33:02 +00:00
Tobias Brunner e74bc8e51d changed external interface to the mediation extension. 2008-03-27 12:31:35 +00:00
Martin Willi b820f8aa8e reverted accidentally commited testing config 2008-03-13 14:20:20 +00:00
Martin Willi 552cc11b1f merged the modularization branch (credentials) back to trunk 2008-03-13 14:14:44 +00:00
Andreas Steffen 2df655134c activated svn:keywords on all UML scripts 2008-03-01 10:25:52 +00:00
Andreas Steffen 7a691623c1 support of gnome-terminal in UML testing 2008-02-29 20:17:28 +00:00
Andreas Steffen 37940132a4 take down eth1 interface on alice via ssh 2008-02-29 17:00:07 +00:00
Andreas Steffen 13aa41d663 added support of --enable-eap-sim 2008-02-14 21:25:38 +00:00
Andreas Steffen af0de6272d disable eth1 interface of UML host alice after booting 2008-02-14 21:24:54 +00:00
Andreas Steffen e044510e5a set --enable-eap-aka in UML scenarios 2007-12-19 00:47:56 +00:00
Andreas Steffen 5af3a03396 added USE_P2P UML compile option 2007-11-26 00:29:52 +00:00
Andreas Steffen 4565d23782 added RCSID 2007-10-08 20:18:34 +00:00
Andreas Steffen effdbc7c70 activated the libstrongswan integrity test 2007-10-02 19:10:24 +00:00
Andreas Steffen 90b21fde11 use cgecho for green output 2007-08-03 10:58:45 +00:00
Andreas Steffen 13763a385c suppress stderr in start-switches script 2007-07-04 18:50:21 +00:00
Andreas Steffen c598ac6360 changes in uml configuration to allow mobike 2007-07-02 09:52:20 +00:00
Andreas Steffen 0749196612 cecho changes in UML scripts 2007-05-23 22:24:47 +00:00
Andreas Steffen e47a7a131d reinsert SHAREDTREE 2007-04-04 05:29:20 +00:00
Andreas Steffen c056d929b2 --enable-ldap without value 3 2007-04-04 05:26:21 +00:00
Andreas Steffen 4ebaa476f1 remove /etc/resolv.conf 2007-03-15 15:00:51 +00:00
Andreas Steffen 28bd885e03 added apache2/ocsp log directory to winnetou 2007-03-15 14:18:26 +00:00
Andreas Steffen 564c7a684b create apach2/ocsp/ logging directory on winnetou 2007-03-15 13:49:59 +00:00
Andreas Steffen d4f0e636b5 create /var/log/apache2/ocsp on winnetou 2007-03-15 13:33:42 +00:00
Andreas Steffen 053ce451b1 use uml_mconsole to check end of booting process 2007-01-11 20:07:05 +00:00
Andreas Steffen ade9743ec4 fixed due to new logging concept 2006-10-27 17:54:06 +00:00
Martin Willi 1279eda042 added tcpdumpcount function from NATT guys
added possibility to mount the strongswan tree into all UMLs
added script for installing from shared tree in all UMLs
added script to shut down all UMLs properly
2006-07-13 12:43:52 +00:00
Andreas Steffen 6981aca04f added USE_LEAK_DETECTIVE option 2006-07-03 08:36:47 +00:00
Andreas Steffen fc0afb6810 created IPv6 environment 2006-06-06 05:41:21 +00:00
Martin Willi 5ade114fd5 - using hubs instead of switches, which allows us
to sniff the traffic from the host system.
2006-05-23 10:08:12 +00:00
Martin Willi 1e93135408 - updated testsuite to autotools 2006-05-17 14:24:18 +00:00
Martin Willi 9820c0e208 - applied patch from andreas
- pem loading
	- secrets file parsing
	- ikev2 testcase
	- some other additions here and there
2006-05-04 07:55:42 +00:00
Martin Willi 997358a6c4 - import of strongswan-2.7.0
- applied patch for charon
2006-04-28 07:14:48 +00:00