aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/smp/smp.c
Commit message (Collapse)AuthorAgeFilesLines
* Use exact mask when calling umask(2)Tobias Brunner2013-10-291-1/+1
| | | | | | Due to the previous negation the high bits of the mask were set, which at least some versions of the Android build system prevent with a compile-time check.
* ike-cfg: remove the to be obsoleted allow any parameter in get_my/other_addrMartin Willi2013-09-041-2/+2
|
* capabilities: Some plugins don't actually require capabilities at runtimeTobias Brunner2013-07-181-1/+1
|
* child-sa: replace get_traffic_selectors() with create_ts_enumerator()Martin Willi2013-07-171-1/+3
| | | | | Not directly returning a linked list allows us to change the internals of the CHILD_SA transparently.
* capabilities: CAP_CHOWN might be required by many plugins opening UNIX socketsTobias Brunner2013-06-251-0/+6
| | | | | But as the sockets will be created with the user/group of the running process this might not be required as no change may be needed.
* capabilities: Move global capabilities_t instance to libstrongswanTobias Brunner2013-06-251-2/+2
|
* smp: Use plugin featuresTobias Brunner2013-06-111-2/+12
|
* Use %x to print uint32 as long ints are 64-bit long on x64 LinuxTobias Brunner2012-09-281-1/+1
|
* Refactored heavily #ifdefd capability code to its own libstrongswan classMartin Willi2012-07-041-1/+2
|
* Centralized thread cancellation in processor_tTobias Brunner2012-06-251-10/+5
| | | | | | | | | | This ensures that no threads are active when plugins and the rest of the daemon are unloaded. callback_job_t was simplified a lot in the process as its main functionality is now contained in processor_t. The parent-child relationships were abandoned as these were only needed to simplify job cancellation.
* added missing parameter in get_my_addr() and get_other_addr() callsAndreas Steffen2012-06-091-2/+4
|
* Loggers specify what log messages they want to receive during registration.Tobias Brunner2012-05-021-2/+2
| | | | | | | This also allows us to generate the log message only once for all loggers that need it (avoids calls to custom printf specifier callbacks). To update the log levels loggers can simply be registered again.
* Merge branch 'ikev1'Martin Willi2012-05-021-6/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/encoding/generator.c src/libcharon/encoding/payloads/notify_payload.c src/libcharon/encoding/payloads/notify_payload.h src/libcharon/encoding/payloads/payload.c src/libcharon/network/receiver.c src/libcharon/sa/authenticator.c src/libcharon/sa/authenticator.h src/libcharon/sa/ikev2/tasks/ike_init.c src/libcharon/sa/task_manager.c src/libstrongswan/credentials/auth_cfg.c
| * Pass IKE version to peer config enumerator, filter configsMartin Willi2012-03-201-1/+1
| |
| * Do not ignore configs for IKEv1 in charon anymoreMartin Willi2012-03-201-5/+0
| |
| * Use enum to define IKE version on peer_cfg_t.Tobias Brunner2012-03-201-1/+1
| | | | | | | | Replaced all those magic numbers.
* | Fixed null-pointer dereference in smp plugin.Tobias Brunner2012-04-261-3/+7
| |
* | Don't cast second argument of mem_printf_hook (%b) to size_t.Tobias Brunner2012-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Also treat the given number as unsigned int. Due to the printf hook registration the second argument of mem_printf_hook (if called via printf etc.) is always of type int*. Casting this to a size_t pointer and then dereferencing that as int does not work on big endian machines if int is smaller than size_t (e.g. on ppc64). In order to make this change work if the argument is of a type larger than int, size_t for instance, the second argument for %b has to be casted to (u_)int.
* | smp: Use proper signed type to get return value of read(2).Tobias Brunner2012-03-271-1/+1
|/
* bus->listen() and the controller wrappers accept a timeout to wait for callbacksMartin Willi2011-08-261-5/+5
|
* Replaced ike_sa_t.create_child_sa_iterator with enumerator.Tobias Brunner2011-07-061-3/+3
| | | | | This required two new methods on ike_sa_t. One returns the number of CHILD_SAs and one allows to remove a CHILD_SA.
* Use CRITICAL job priority class for long running dispatcher jobsMartin Willi2011-05-161-1/+2
|
* Added a non-blocking, skipping variant of IKE_SA enumeratorMartin Willi2011-05-161-2/+4
|
* Added a (not yet implemented) plugin_t method to reload plugin configurationMartin Willi2011-04-151-0/+1
|
* Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵Martin Willi2011-04-151-0/+7
| | | | over plugin_t
* Migrated remaining plugin_t implementations to INIT/METHOD macrosMartin Willi2011-04-151-6/+10
|
* Refer to scheduler and processor via lib and not hydra.Tobias Brunner2010-09-021-3/+2
|
* Refer to processor via hydra and not charon.Tobias Brunner2010-09-021-2/+3
|
* Moving charon to libcharon.Tobias Brunner2010-03-191-0/+768