Tobias Brunner
14f7091280
Moved mutex.c to a separate folder in order to cleanly wrap other threading primitives (and utils/mutex.h is now threading.h).
2009-12-23 17:00:58 +01:00
Martin Willi
44ce749360
Store completed authentication rounds permanently on IKE_SA, with flush option
2009-12-01 11:35:30 +01:00
Martin Willi
fb1ae8da52
Added a get_sa() method to the bus, allowing a thread to lookup its IKE_SA
2009-11-30 09:27:14 +01:00
Martin Willi
4952dc11da
Fixed all doxygen warnings
2009-10-22 14:34:10 +02:00
Martin Willi
b262680175
Emit a ALERT_SHUTDOWN_SIGNAL before shutting down the daemon
2009-09-22 17:00:00 +02:00
Martin Willi
7daf5226b7
removed trailing spaces ([[:space:]]+$)
2009-09-04 13:46:09 +02:00
Tobias Brunner
3901937d14
OpenSolaris defines MUTEX_DEFAULT therefore we rename the members of the enums mutex/condvar/rwlock_type_t.
2009-08-14 13:30:59 +02:00
Martin Willi
88957f54f2
raise an alert() if the RADIUS server is not responding
2009-07-16 15:15:39 +02:00
Martin Willi
e85b83c737
added an alert() bus hook to raise critical system errors and notifications
2009-07-16 15:15:39 +02:00
Martin Willi
977ec0c316
implemented ike_down() bus hook
2009-07-09 15:25:16 +02:00
Martin Willi
fa1d3c6629
implemented ike_up() bus hook
2009-07-09 15:25:16 +02:00
Martin Willi
f669f45333
implemented child_up() bus hook
2009-07-09 15:25:15 +02:00
Martin Willi
622b56a52e
implemented ike_rekey()/child_rekey() bus hooks
2009-07-09 15:25:15 +02:00
Martin Willi
7527f43c76
added new listener callbacks to track SAs
2009-07-09 15:25:15 +02:00
Martin Willi
a40cc76bc7
moved listener_t interface definition to a separate file
2009-07-09 15:25:14 +02:00
Martin Willi
133623871d
do not abort notifying listeners if a listener unregisters
2009-07-02 09:38:12 +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
Martin Willi
1490ff4d9b
updated Doxyfile
...
properly close all doxygen groups
fixed remaining doxygen warnings
2009-03-24 17:43:01 +00:00
Martin Willi
4252938811
dynamic logging configuration through strongswan.conf
...
fallback to existing ipsec.conf/stroke loglevel configuration
2008-11-11 10:52:37 +00:00
Martin Willi
5dffdea1d7
added hooks for IKE and CHILD keymat
2008-10-30 12:58:54 +00:00
Martin Willi
a1db79b31a
fixed some compiler warnings
2008-10-27 11:13:33 +00:00
Martin Willi
ad3af574a4
moved updown script invocation to an optional plugin
2008-10-16 11:48:18 +00:00
Martin Willi
e17353fc31
bus uses finally recusive locking
...
other small fixes
2008-10-16 11:32:43 +00:00
Martin Willi
a985db3ff3
reintegrated bus-refactoring branch
2008-10-14 08:52:13 +00:00
Martin Willi
ee93541783
fixed bus args copy on non i386 archs
2008-07-21 14:23:43 +00:00
Martin Willi
c7314e68ab
reverted bus to non-recursive mutex due instability
2008-07-21 11:15:16 +00:00
Martin Willi
a4a3e0c7dc
introduced an additional bus->signal parameter for signal specific data
...
added SIG_IKE/SIG_CHD macros for signal emitting
2008-07-18 15:51:40 +00:00
Martin Willi
a98793adfe
allow but filter recursive listener invocation
2008-07-18 11:05:01 +00:00
Martin Willi
bd07b59079
avoid heap allocation in bus->signal for performance reasons
2008-07-17 11:45:58 +00:00
Martin Willi
552cc11b1f
merged the modularization branch (credentials) back to trunk
2008-03-13 14:14:44 +00:00
Martin Willi
7b36b734a4
fixed callback_job cancellation for threads waiting in the bus
2007-11-19 12:32:28 +00:00
Martin Willi
e101f162ab
refactored bus and interface to resolve threading issues (WIP)
2007-11-15 18:35:54 +00:00
Martin Willi
bd99d1852a
added vsignal todo
2007-10-25 07:49:32 +00:00
Tobias Brunner
c019260e01
backports from the p2p-nat-t branch:
...
* double assignment of function ''destroy'' in some jobs
* typos
2007-07-19 14:12:19 +00:00
Martin Willi
fc2d1c420f
further mobike improvements, regarding to NAT-T
2007-06-27 13:10:55 +00:00
Martin Willi
432b298e40
documentation fixes and updates
2007-06-11 12:11:41 +00:00
Martin Willi
9fe1a1ca76
introduced callback_job:
...
simple asynchronous method invocation
use daemons thread pool for all threads
proper cancellation and cleanups
cancellation mechanism to dynamically unload multithreaded code
unified event_queue and scheduler => scheduler
unified job_queue and thread_pool => processor
removed job_type_t, not really needed
fixes here, there and everywhere
2007-06-11 10:57:19 +00:00
Martin Willi
76042f8471
proper thread cancellation when using the charon->interfaces
2007-05-23 09:08:13 +00:00
Martin Willi
d08b27799a
properly ignoring signals rised by a thread which is in listening state
2007-05-08 12:58:33 +00:00
Martin Willi
586b7474a2
allow to have listening state TRUE while sending singal ourself
2007-05-03 14:22:15 +00:00
Martin Willi
c60c7694d2
merged tasking branch into trunk
2007-02-28 14:04:36 +00:00
Andreas Steffen
1ab9441c48
fixed 64 bit issue
2006-11-01 10:57:08 +00:00
Martin Willi
db7ef62494
better split up of library files "types.h" & "definitions.h"
...
centralized all printf specifier character definitions
reuse of arginfo handlers
more cleanups
fixed more AMD64 issues
added DEBUG_LEVEL compile flag to exclude DBGn() statements
2006-10-31 12:27:59 +00:00
Martin Willi
382b481795
moved typedefs to beginning of files to solve some include problems
...
splitted authenticator to have a separate implementation for each auth_method_t
using va_copy to clone va_lists, should fix proplems on AMD64
some other cleanups
2006-10-30 14:07:05 +00:00
Andreas Steffen
76adc06e52
added some missing 'AUD' entries
2006-10-28 15:24:59 +00:00
Martin Willi
b83806d83d
improved signal handling and emitting
2006-10-26 09:46:56 +00:00
Martin Willi
55bbff11ec
linked list cleanups
...
added list methods invoke(), destroy_offset(), destroy_function()
simplified list destruction when destroying its items
2006-10-24 08:46:17 +00:00
Martin Willi
60356f3375
introduced new logging subsystem using bus:
...
passive listeners can register on the bus
active listeners wait for signals actively
multiplexing allows multiple listeners to receive debug signals
a lot more...
2006-10-18 11:46:13 +00:00
Martin Willi
47f5027807
introduced printf() specifiers for:
...
host_t (%H)
identification_t (%D)
chunk pointers (%B)
memory pointer/length (%b)
added a signaling bus:
receives event and debug messages, sends them to its listeners
stream_logger, sys_logger, file_logger added, listen to bus
some other tweaks here and there
2006-09-27 14:14:44 +00:00