Reto Buerki
619c5430b8
Drop unneeded UMLKERNEL variable
2013-01-17 16:54:53 +01:00
Reto Buerki
bf48ee33e5
Rename UMLTESTDIR variable to TESTDIR
2013-01-17 16:54:53 +01:00
Reto Buerki
36a3fe90d8
Drop cecho functions
2013-01-17 16:54:53 +01:00
Reto Buerki
8cb4628ff9
Use log_action function in do-tests script
2013-01-17 16:54:53 +01:00
Reto Buerki
1102a8c1cc
Remove executable bit from testing.conf
2013-01-17 16:54:52 +01:00
Reto Buerki
9b3316ed27
Use qemu/KVM virtualization instead of UML
...
Guest and network configuration is setup using the libvirt
virtualization API. The [start|stop]_testing scripts have been updated
accordingly.
qemu/KVM does not currently support a hostfs, so the shared build tree
mount has been dropped for now.
2013-01-17 16:54:52 +01:00
Martin Willi
16ef69d70a
Pass a constructor callback to create TNCCS server instances while dispatching
2013-01-17 16:34:34 +01:00
Reto Buerki
f9df3d06b5
Rename build-umlkernel script to build-guestkernel
2013-01-17 15:22:11 +01:00
Reto Buerki
62a277cfae
Move ROOTFSDIR declaration to testing.conf
2013-01-17 15:22:11 +01:00
Reto Buerki
ee1cd88c7a
Prefix all recipes with a number
2013-01-17 15:22:11 +01:00
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
Reto Buerki
6022f37aec
Simplify test starting and stopping logic
...
Reduce the coupling of the different scripts.
make-testing : Build the testing environment
start-testing : Start switches and guests
do-tests : Run tests
stop-testing : Stop switches and guests
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
669fc9f9ec
Copy and display host specific tcpdump.log files
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
Tobias Brunner
d94f6a2ff6
Don't generate do-tests
2013-01-17 15:22:08 +01:00
Reto Buerki
533177003c
Adapt test configurations
...
Adapt test configurations to the new Debian-based system.
2013-01-17 15:22:07 +01:00
Martin Willi
04a9a99bc1
Create pt_tls_client with separate server address and identity
2013-01-16 16:36:57 +01:00
Martin Willi
bb5037a5e5
Create pt_tls_dispatcher with separate server address and identity
2013-01-16 15:02:14 +01:00
Martin Willi
18d56a1891
Add a libpttls providing NEA PT-TLS / TNC IF-T for TLS transport layer
2013-01-16 13:53:32 +01:00
Martin Willi
435348f406
Send TLS close notify during tls_socket_t destruction
2013-01-15 17:43:05 +01:00
Martin Willi
7bbf7aa97a
Send TLS close notify if application returns SUCCESS
2013-01-15 17:43:05 +01:00
Martin Willi
c43e8fdec4
Block TLS read when sending data, but have to wait for the handshake data first
2013-01-15 17:43:05 +01:00
Martin Willi
9191e5e11a
TNCCS plugins don't depend on EAP-TNC, but can be used by other transports, too
2013-01-15 17:43:05 +01:00
Martin Willi
7fb81886b9
Add a bio_reader_t constructor variant freeing passed data during destruction
2013-01-15 17:43:05 +01:00
Martin Willi
ee90c78998
Use a more POSIXy tls_socket interface with more flexibility.
...
If an unsufficient read buffer is provided, application data gets cached
for subsequent read() calls.
2013-01-15 17:43:05 +01:00
Martin Willi
47af9848a2
Add a chunk_from_str() initializer that does not include 0-terminator
2013-01-15 17:43:05 +01:00
Martin Willi
1449e6dd55
Reseed rdrand after every 128bit sample only
2013-01-15 17:41:54 +01:00
Andreas Steffen
13b2804204
version bump to 5.0.2rc1
2013-01-15 02:41:22 +01:00
Tobias Brunner
30abe1fd19
android: Properly escape apostrophes in Ukrainian translation
2013-01-14 17:23:52 +01:00
Tobias Brunner
b9cda4f3e1
android: Implement kernel_net_t.get_interface via JNI
...
This is now required to properly accept/install a virtual IP address.
Fixes #275 .
2013-01-14 17:22:56 +01:00
Tobias Brunner
53ce5c4c91
android: Moved chunk_from_byte_array and byte_array_from_chunk helper functions
2013-01-14 17:19:58 +01:00
Tobias Brunner
ecff0e5685
android: Set OPENSSL_NO_CMS in Android.mk as it is not set in opensslconf.h on Android
2013-01-14 17:16:18 +01:00
Tobias Brunner
66bb4f63b2
Properly send IKEv1 packets if no ike_cfg is known yet
...
This applies for error notifies.
2013-01-14 12:14:16 +01:00