aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/ha/ha_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* Use standard unsigned integer typesAndreas Steffen2016-03-241-1/+1
|
* ha: Delete cache entry inside the locked mutexThomas Egerer2016-03-231-0/+2
| | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
* ha: Skip SA for sync messages when resyncing HA segmentsTobias Brunner2015-05-261-1/+11
|
* ha: Perform child rekeying outside of CHILD_SA enumeratorThomas Egerer2015-02-191-7/+22
| | | | | | | | | | | | | | | | When rekey_child_sa is called while enumerating the children of an IKE_SA, and the child to be rekeyed is redundant a QUICK_DELETE task is queued instead of a QUICK_MODE task. This alters the IKE_SA's list of children (ike_sa_t::child_sas) invalidating the current element of the child_sa_enumerator. The enumerate function of linked_list_t will then advance to an element with unpredictable contents most likely resulting in an segmentation violation. A similar behavior should be observed when delete_child_sa is called. This patch creates a list of protocol/spi values while holding the child_sa_enumerator and performs the rekeying (deletion of redundant) chlidren after releasing the enumerator. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
* Properly hash pointers for hash tables where appropriateTobias Brunner2014-03-311-17/+1
| | | | | Simply using the pointer is not optimal for our hash table implementation, which simply masks the key to determine the bucket.
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-2/+2
|
* Added support for Phase1 IV synchronization to HA pluginMartin Willi2012-03-201-0/+17
|
* Do not query CHILD_SA during delete if they already expiredMartin Willi2012-03-201-1/+2
|
* Don't rekey but delete CHILD_SA to resying against NATed Windows clientsMartin Willi2011-08-191-3/+18
|
* Replaced ike_sa_t.create_child_sa_iterator with enumerator.Tobias Brunner2011-07-061-4/+4
| | | | | 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-2/+2
|
* Added a non-blocking, skipping variant of IKE_SA enumeratorMartin Willi2011-05-161-1/+1
|
* Scheduler and processor have been moved to libstrongswan.Tobias Brunner2010-09-021-1/+1
| | | | | Also reverts 0c21dc000d3cd5c82eb22c4481e6459978456364 as the dependency to libcharon is no longer required.
* Use a sync message cache to resynchronize IKE_SAs without rekeyingMartin Willi2010-07-261-0/+362