6938 Commits

Author SHA1 Message Date
Tobias Brunner
ae9d5e7ce1 Option to enable duplicheck plugin fixed. 2011-05-26 12:37:41 +02:00
Andreas Steffen
13eeb1d22a version bump to 4.5.3dr1 2011-05-25 21:34:22 +02:00
Martin Willi
35c9347921 Use better packing of leak-detective memory_header to align pointers 2011-05-25 19:56:47 +02:00
Martin Willi
eb4f4551a1 Summarize leaks with identical backtraces, as we do it with memusage 2011-05-25 19:56:43 +02:00
Martin Willi
0eef27074d Don't use a strongswan.conf in checksum_builder, disables checksumming 2011-05-25 11:06:25 +02:00
Martin Willi
f147b731e0 Force link of checksum builder against libhydra/libcharon 2011-05-25 10:40:30 +02:00
Martin Willi
3dbc5dfeda Checksum plugins only for components we actually build 2011-05-25 10:33:14 +02:00
Martin Willi
628f285778 Fix strict aliasing warning 2011-05-25 10:09:16 +02:00
Tobias Brunner
617061072b Renamed option to enable unit tests as plugin is named unit-tester.
To correctly enable a plugin the names used in the ARG_ENABL_SET and
ADD_PLUGIN macros have to match (and they have, of course, to match the
plugin's name).
2011-05-24 19:28:54 +02:00
Tobias Brunner
ee0fb2ab81 Keep count of remaining elements to enumerate in hashtable_t.
This improves performance during enumeration as not all buckets have to be
checked.
2011-05-24 19:23:45 +02:00
Tobias Brunner
8af0177189 Replaced linked_list_t usage in hashtable_t with custom list implementation.
With this change inserting elements into a hashtable_t object is now
nearly as fast as inserting them into a linked_list_t object, whereas
before it was up to seven times slower.  Additionally, the memory
footprint of a hashtable is now significantly smaller.  The lookup
performance is also nearly doubled.
2011-05-24 19:23:45 +02:00
Tobias Brunner
c74ece334d pluto: Made helper functions in event_queue static. 2011-05-24 19:23:45 +02:00
Tobias Brunner
b3c4475076 Compiler warning fixed. 2011-05-24 19:23:45 +02:00
Martin Willi
8ed3c9fba5 Enable strict-aliasing warnings, we should really get rid of them 2011-05-24 12:04:35 +02:00
Martin Willi
d45b242b60 Fix memwipe() of leading unaligned bytes 2011-05-24 11:49:20 +02:00
Martin Willi
8c1bfe6545 Link libstrongswan against libdumm, fixes build of ruby extension 2011-05-20 14:59:17 +02:00
Martin Willi
4ae7f7d13e Use spaces in Makefile.am identation, autotools don't like tabs 2011-05-20 10:09:09 +02:00
Martin Willi
afd53de627 Add md5 to script plugins 2011-05-20 10:08:57 +02:00
Martin Willi
b8509b7164 Link libstrongswan directly to dumm/irdumm, fixes build with newer binutils 2011-05-19 15:47:40 +02:00
Martin Willi
513701f41b Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variable 2011-05-19 15:47:40 +02:00
Tobias Brunner
d30df6ff3d stroke: Usage output updated. 2011-05-16 18:47:52 +02:00
Tobias Brunner
92abe2bd68 Update working thread count without allocation. 2011-05-16 18:28:03 +02:00
Tobias Brunner
21692169b9 Make sure working thread count is correctly updated 2011-05-16 15:24:16 +02:00
Martin Willi
4baf1f3bfe Migrated controller_t to INIT/METHOD macros 2011-05-16 15:24:15 +02:00
Martin Willi
83245de0ac Provide get_priority() method in controller jobs 2011-05-16 15:24:15 +02:00
Martin Willi
c8972da757 Added a load tester strongswan.conf option to throttle initiation 2011-05-16 15:24:15 +02:00
Martin Willi
8606725676 Migrated load_tester_listern to INIT/METHOD macros 2011-05-16 15:24:15 +02:00
Martin Willi
a4c040d536 Added strongswan.conf option to override half open IKE_SA timeout 2011-05-16 15:24:15 +02:00
Martin Willi
14bf2f689d Use CRITICAL job priority class for long running dispatcher jobs 2011-05-16 15:24:15 +02:00
Martin Willi
1c8f58adb9 Introduce a highest priority job for critical thread services 2011-05-16 15:24:15 +02:00
Martin Willi
4cf6f101d8 Show total and half-open SA count in statusall 2011-05-16 15:24:15 +02:00
Martin Willi
9a96ba4b6e Added a get_count() method to IKE_SA manager 2011-05-16 15:24:15 +02:00
Martin Willi
a836cf8085 Fixed identiation in private_ike_sa_manager 2011-05-16 15:24:15 +02:00
Martin Willi
c6089e252d Added a callback_job constructor supporting custom priorities 2011-05-16 15:24:15 +02:00
Martin Willi
0b04bdde30 Added a DPD option for load-tester 2011-05-16 15:24:14 +02:00
Martin Willi
015c15688c Don't simulate traffic on load-tester kernel interface 2011-05-16 15:24:14 +02:00
Martin Willi
c726b1a6a5 Show how many threads are active in each class in statusall 2011-05-16 15:24:14 +02:00
Martin Willi
877fdcf0b8 Count number of threads active in each class, and reserve threads only if none active 2011-05-16 15:24:14 +02:00
Martin Willi
a694b481ee Added a statusallnb stroke command to show status non-blocking 2011-05-16 15:24:14 +02:00
Martin Willi
a2302d2322 Added init_limit_half_open and a init_limit_job_load (replacing job_threshold) options, some refactorings 2011-05-16 15:24:14 +02:00
Martin Willi
a1bf879a43 Added preshared_key/eap_password load_tester options to set custom credentials 2011-05-16 15:24:14 +02:00
Martin Willi
ac96ca80eb Added initiator/responder_id load tester options to enforce different identities 2011-05-16 15:24:14 +02:00
Martin Willi
187bf24e4d Migrated load_tester_config to INIT/METHOD macros 2011-05-16 15:24:13 +02:00
Martin Willi
8e67b5413c Migrated load_tester_creds to INIT/METHOD macros 2011-05-16 15:24:13 +02:00
Martin Willi
e13819507e Fix load tester shared key enumerator, provide dedicated EAP password 2011-05-16 15:24:13 +02:00
Martin Willi
69c3eca0e9 Added a non-blocking, skipping variant of IKE_SA enumerator 2011-05-16 15:24:13 +02:00
Martin Willi
3f06403705 Added a job_threshold option to drop IKE_SA_INITs if a certain job load reached 2011-05-16 15:24:13 +02:00
Martin Willi
06f0ede759 Use high priority for retransmit/dpd/keepalive jobs 2011-05-16 15:24:13 +02:00
Martin Willi
ea69c70d0e Use job priorities in process_message job based on exchange types 2011-05-16 15:24:13 +02:00
Martin Willi
68f56418cd Reserve threads for job priority classes based on strongswan.conf options 2011-05-16 15:24:13 +02:00