394eb35b0c
some task queueing improvements: - do not pass CHILD_SAs to task constructor, might not be valid anymore during execution (late lookup) - use sub-tasks to delete CHILD/IKE_SA after rekeying, as we want to execute the delete before additional queued tasks
Martin Willi2008-12-01 18:38:28 +00:00
9413628b87
token enumerator missed the last token if it contains only a single char
Martin Willi2008-11-27 09:21:52 +00:00
d2de674b9a
checkin of non-existing IKE_SAs removed unneeded checkin() return values
Martin Willi2008-11-26 14:32:55 +00:00
09f407a14f
removed private parser function pointers, allows compiler to inline
Martin Willi2008-11-26 10:54:08 +00:00
98bcdfe2c9
removed private generator function pointers, allows compiler to inline
Martin Willi2008-11-26 10:42:54 +00:00
e2cb07d713
inlined some short chunk functions, showed up in the profiler
Martin Willi2008-11-26 10:08:36 +00:00
4fd233a73e
memxor() tweaks, as it is heavily used in xcbc
Martin Willi2008-11-26 10:06:59 +00:00
69e9698b17
allow to globally disable DOS protection by setting charon.dos_protection to no.
Tobias Brunner2008-11-26 09:22:19 +00:00
999072ea02
optimized the scheduler for performance by replacing the linked list with a heap.
Tobias Brunner2008-11-25 19:56:05 +00:00
6df2731e78
replacing the pthread_mutex in scheduler_t with the wrapped implementation. added a method to condvar_t which allows to wait for an absolute timeout.
Tobias Brunner2008-11-25 19:30:02 +00:00
ed6146ffbe
performance optimization for the DOS protection. * half-open SAs per peer are tracked in a hash table * charon.dos_protection setting replaced with charon.cookie_threshold and charon.block_threshold * chunk_hash function added
Tobias Brunner2008-11-25 13:16:05 +00:00
28dd27be64
fixed crash due to missing function call parameter
Andreas Steffen2008-11-25 08:11:57 +00:00
895a1156d5
use static IPsec policy iptables rule for alice in mobike scenario
Andreas Steffen2008-11-25 08:11:14 +00:00
f1f09810fb
fixed set_message_id() on IKE_SA added missing bus->message() hook invocation whitespace cleanups
Martin Willi2008-11-24 13:59:30 +00:00
addfea95df
moved the IPV6_IPSEC_POLICY definition to the ipsec plugins, fixes uClibc build
Martin Willi2008-11-24 08:22:05 +00:00
18e2788fbe
added a "load_tester.auth" option: "pubkey" (default) or "psk"
Martin Willi2008-11-23 11:58:41 +00:00
88d4acd4de
proper cancellation of load-testing initiators
Martin Willi2008-11-23 11:17:30 +00:00
a20abb81e9
added a MODP_NULL Diffie Hellman group to avoid calculation overhead in load-testing
Martin Willi2008-11-22 16:14:55 +00:00
8f45ece098
expecting int sized length arguments to chunk_split, as vararg functions use integers
Martin Willi2008-11-21 08:11:24 +00:00
cdee592e38
fixing Makefile of the nm plugin (avoids including a .svn directory in the distribution)
Tobias Brunner2008-11-20 14:46:03 +00:00
ba2ecf6831
optimized ike_sa_manager for concurrent access (default behavior is still as before, needs configuration in strongswan.conf).
Tobias Brunner2008-11-20 13:30:23 +00:00
3aaf7908d1
refactored and cleaned up child_sa interface replaced add/update calls by a install() call allocating SPIs always externally support installation of non-allocated CHILD_SAs some other cleanups
Martin Willi2008-11-19 15:31:27 +00:00
9dd1229407
fixing compilation on systems lacking linux/xfrm.h
Tobias Brunner2008-11-18 14:28:05 +00:00
0d1a57e496
setting default port of own address to have a proper fallback if src addr lookup fails
Martin Willi2008-11-18 10:10:36 +00:00
32f59c56f1
consider interfaces we do not monitor as up (e.g. lo) fixes load-testing against 127.0.0.1
Martin Willi2008-11-18 09:52:28 +00:00
49653b6bc3
separated updown listener to its own class caching interface names to properly remove rules if interface has changed
Martin Willi2008-11-17 09:29:27 +00:00
08c6ed9f14
fixed virtual IP re-installation failure in MOBIKE scenarios introduced with changeset 4662
Andreas Steffen2008-11-17 00:01:34 +00:00
faf9569fdb
moved ike_initiator flag to IKE_SAs condition bitfield
Martin Willi2008-11-12 16:07:17 +00:00
b8cbb6451c
ported some hard-to-merge cherries back to trunk :-/ shame, svn, shame: this was ways to complicated we should consider a switch to git...
Martin Willi2008-11-12 15:09:24 +00:00
9fa5c75f48
fixing keylength bug at the right place: we usually don't touch output parameters if operations fails
Martin Willi2008-11-12 08:27:48 +00:00
dbc277d908
fixed AES-CCM/GCM authenticated encryption by eliminating generation of superfluous generation of integrity keying material
Andreas Steffen2008-11-12 04:02:10 +00:00
479f295049
fixed compiler warnings issued by: gcc 4.3 curl.h gcc type-checking glibc with enabled FORTIFY_SOURCE checking
Martin Willi2008-11-11 18:37:19 +00:00
3d2dbebd70
#defing out compress algs to avoid compiler warning
Martin Willi2008-11-11 18:35:10 +00:00
d94cadd69a
updated method signature of add_policy
Martin Willi2008-11-11 18:33:48 +00:00