Tobias Brunner
d6dc0a21fb
incremental version of chunk_hash
2008-12-10 13:43:51 +00:00
Martin Willi
d5d5bc0f16
using rwlock to parallel build credentials
2008-12-09 15:57:51 +00:00
Martin Willi
5e5b2dc105
use thread-safe variant of gmtime
2008-12-09 15:00:30 +00:00
Martin Willi
20fbc4277e
fixed hashtable->get_count() after doubling table size
2008-12-09 11:13:52 +00:00
Martin Willi
aa5c5d3fde
removed debugging leftovers
2008-12-08 19:15:38 +00:00
Martin Willi
df68b54f4e
basic x509 certificate generation
2008-12-08 15:29:36 +00:00
Martin Willi
9eb85cffe1
whitelisted another pthread_setspecific implementation
2008-12-08 15:27:24 +00:00
Martin Willi
d21b3549f7
accept NULL values in hashtable enumerator
2008-12-05 12:34:17 +00:00
Martin Willi
19e0010f51
hashtable enumerator enumerates over both, key and values
2008-12-05 10:01:52 +00:00
Tobias Brunner
ffa6450695
fixed off by one error
2008-12-04 16:33:39 +00:00
Martin Willi
0442562516
leak whitelisting of OPENSSL_config()
2008-12-04 09:23:53 +00:00
Andreas Steffen
9c674e7214
fixed refactoring error in openac
2008-12-04 04:34:49 +00:00
Tobias Brunner
83c42156a2
add support for smartcards in charon by using the ENGINE API provided by OpenSSL, based on patches by Michael Roßberg.
2008-12-03 10:12:20 +00:00
Tobias Brunner
c3bdc3cd7f
enable quoted tokens in the token enumerator
2008-12-03 10:03:59 +00:00
Tobias Brunner
81736d7d24
added memstr and extract_token_str helper functions
2008-12-03 09:45:58 +00:00
Tobias Brunner
0948edbbff
adding general purpose hash table
2008-12-03 09:32:16 +00:00
Martin Willi
efd0fe21e4
ref_get()/ref_put() use atomic gcc operations if supported, thanks to Thomas Jarosch for the patch
2008-12-02 12:14:32 +00:00
Martin Willi
f464d75070
added time.h include for struct tm
2008-12-02 08:46:15 +00:00
Martin Willi
9413628b87
token enumerator missed the last token if it contains only a single char
2008-11-27 09:21:52 +00:00
Martin Willi
e2cb07d713
inlined some short chunk functions, showed up in the profiler
2008-11-26 10:08:36 +00:00
Martin Willi
4fd233a73e
memxor() tweaks, as it is heavily used in xcbc
2008-11-26 10:06:59 +00:00
Tobias Brunner
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.
2008-11-25 19:30:02 +00:00
Tobias Brunner
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
2008-11-25 13:16:05 +00:00
Martin Willi
a20abb81e9
added a MODP_NULL Diffie Hellman group to avoid calculation overhead in load-testing
2008-11-22 16:14:55 +00:00
Martin Willi
8f45ece098
expecting int sized length arguments to chunk_split, as vararg functions use integers
2008-11-21 08:11:24 +00:00
Martin Willi
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...
2008-11-12 15:09:24 +00:00
Martin Willi
479f295049
fixed compiler warnings issued by:
...
gcc 4.3
curl.h gcc type-checking
glibc with enabled FORTIFY_SOURCE checking
2008-11-11 18:37:19 +00:00
Tobias Brunner
ea625fabf9
merging kernel_klips plugin back into trunk
2008-11-11 09:22:00 +00:00
Martin Willi
c198fc5548
whitelisting localtime_r
2008-11-10 16:44:27 +00:00
Martin Willi
f821bfb2b3
fixed leak in host_create_from_string("%any")
2008-11-10 16:42:05 +00:00
Martin Willi
c9ef4cee46
settings section enumeration
...
printf style key lookup
2008-11-07 15:08:53 +00:00
Andreas Steffen
e2764b3937
use of host_create_any() for %any address
2008-11-07 05:15:19 +00:00
Martin Willi
ebf0e20ae7
fixed leak
...
fixed build if !HAVE_BACKTRACE
2008-11-06 14:05:58 +00:00
Martin Willi
e76078e877
use read-write locks in crypto factory for parallelization
2008-11-05 16:21:57 +00:00
Martin Willi
27ed987ef7
wrapped all pthread_rwlock_t in profilable rwlock_t
2008-11-05 16:12:54 +00:00
Martin Willi
c1be64eaff
wrapped rwlock with profiling support
2008-11-05 15:51:57 +00:00
Martin Willi
0214012508
threshhold and ./configure option for lock profiler
2008-11-05 14:36:57 +00:00
Martin Willi
f7237cf37a
separated backtrace functionality from leak_detective, used in
...
leak_detective
mutex profiling
signal handler
2008-11-05 13:58:19 +00:00
Martin Willi
2abc66b977
proper cleanup of openssl locking code
2008-11-05 12:37:37 +00:00
Martin Willi
a492eb2033
fixed iterator regression introduced in [4577]
2008-11-05 11:55:17 +00:00
Martin Willi
3ac5a0db8c
replaced most pthread_mutex/cond_t by wrapped mutex/condvar_t variant
2008-11-05 11:29:56 +00:00
Martin Willi
2662806b2c
get rid of unused iterator hook functions
2008-11-05 08:37:09 +00:00
Martin Willi
e13389a7f7
got rid of deprecated create_iterator_locked()
2008-11-05 08:32:38 +00:00
Martin Willi
e10b0d0fc0
simple mutex profiler
2008-11-05 07:57:26 +00:00
Andreas Steffen
61670ba284
support of %any address string
2008-11-05 04:53:45 +00:00
Andreas Steffen
7c4fd176db
handle 0.0.0.0 string and af == AF_INET6
2008-11-05 00:41:46 +00:00
Martin Willi
7854475f42
OpenSSL requires a signature length of exactly RSA_size()
2008-11-04 14:05:42 +00:00
Martin Willi
d4f08fe324
removed superfluous get_other_public_value in diffie_hellman_t interface
2008-11-04 13:12:11 +00:00
Martin Willi
ddd7e6c656
fixed bignum export if BN_num_bytes() != DH_size()
2008-11-04 13:05:00 +00:00
Martin Willi
dcbea444ee
fixed memleak
2008-11-04 13:01:36 +00:00