Martin Willi
b1f2f05c92
Merge branch 'ikev1-clean' into ikev1-master
...
Conflicts:
configure.in
man/ipsec.conf.5.in
src/libcharon/daemon.c
src/libcharon/plugins/eap_ttls/eap_ttls_peer.c
src/libcharon/plugins/eap_radius/eap_radius_accounting.c
src/libcharon/plugins/eap_radius/eap_radius_forward.c
src/libcharon/plugins/farp/farp_listener.c
src/libcharon/sa/ike_sa.c
src/libcharon/sa/keymat.c
src/libcharon/sa/task_manager.c
src/libcharon/sa/trap_manager.c
src/libstrongswan/plugins/x509/x509_cert.c
src/libstrongswan/utils.h
Applied lost changes of moved files keymat.c and task_manager.c.
Updated listener_t.message hook signature in new plugins.
2012-03-20 17:57:53 +01:00
Tobias Brunner
1726795fa9
Store the major IKE version on ike_sa_id_t.
2012-03-20 17:31:40 +01:00
Martin Willi
aa3b53e716
Adopt children after syncing a rekeyed IKEv1 SA
2012-03-20 17:31:38 +01:00
Martin Willi
fed5c33440
Synchronize IKEv1 DPD sequence numbers
2012-03-20 17:31:38 +01:00
Martin Willi
b226fd300d
Sync remote virtual IP for IKEv1 SAs
2012-03-20 17:31:38 +01:00
Martin Willi
868d92a402
Sync new IKE_SA condition/extension flags
2012-03-20 17:31:37 +01:00
Martin Willi
c8531b7e69
Added support for Phase1 IV synchronization to HA plugin
2012-03-20 17:31:37 +01:00
Martin Willi
47b8f6ef4b
Invoke bus_t.message hook twice, once plain and parsed, once encoded and encrypted
2012-03-20 17:31:37 +01:00
Martin Willi
ae92641806
Create IKEv1 keymat hasher explicitly on sync
2012-03-20 17:31:37 +01:00
Martin Willi
8bcd9bd161
Added support to sync IKEv1 SAs key material in HA plugin
2012-03-20 17:31:37 +01:00
Martin Willi
23f9e7a18d
Pass IKEv1 specific keymat to ike_keys hook
2012-03-20 17:31:37 +01:00
Martin Willi
264514826c
Use a more complete implementation of a HA specific diffie_hellman_t
2012-03-20 17:31:37 +01:00
Martin Willi
c3f1839ab7
Apply proposal to a HA synced IKE_SA
2012-03-20 17:31:37 +01:00
Martin Willi
6bc6f67b0f
Updated HA plugin to new IKEv2 specific keymat functions
2012-03-20 17:31:37 +01:00
Martin Willi
5ce59d4c06
Added an aggressive mode peer_cfg option
2012-03-20 17:31:34 +01:00
Martin Willi
3a925f74ab
Do not query CHILD_SA during delete if they already expired
2012-03-20 17:31:31 +01:00
Martin Willi
17ec1c74de
Don't compare initiator flag in IKE_SA manager, pass initiator parameter to IKE_SA constructor
2012-03-20 17:30:47 +01:00
Tobias Brunner
0b611540ef
Store IKE version of an SA on ike_sa_t.
2012-03-20 17:30:43 +01:00
Tobias Brunner
f7a8fcedc0
Use enum to define IKE version on peer_cfg_t.
...
Replaced all those magic numbers.
2012-03-20 17:30:41 +01:00
Tobias Brunner
cd6b5bf8e9
Clear peer addresses during HA update.
2012-03-09 10:30:37 +01:00
Tobias Brunner
94bbc60256
Renamed list of additional peer addresses as it now stores all known addresses.
2012-03-09 10:17:42 +01:00
Martin Willi
e5747e7a83
Check if ClusterIP directory could be opened before enumerating it
2012-02-06 10:51:39 +01:00
Tobias Brunner
35a1986142
Fixed additional typos in comments and log messages.
2012-01-12 11:42:42 +01:00
Thomas Jarosch
88d180c7d8
Fix file descriptor leak
...
Credit goes to "cppcheck".
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com >
2011-08-29 09:10:28 +02:00
Martin Willi
bff1025201
Don't rekey but delete CHILD_SA to resying against NATed Windows clients
2011-08-19 09:16:17 +02:00
Martin Willi
f54bcf35af
Sync newer IKE_SA condition/extension flags in ha plugin
2011-08-19 09:16:16 +02:00
Martin Willi
caa451557f
ha plugin does not need Linux headers anymore
2011-08-02 17:08:41 +02:00
Martin Willi
6e5118e9e3
Check for kernel version and use appropriate jhash version in HA plugin
2011-08-02 17:00:59 +02:00
Martin Willi
b93d77ce67
Fix parentheses in write() to CLUSTERIP control files
2011-07-14 15:56:10 +02:00
Tobias Brunner
572abc6cbd
Replaced ike_sa_t.create_additional_address_iterator with enumerator.
2011-07-06 09:43:45 +02:00
Tobias Brunner
4bbce1ef37
Replaced ike_sa_t.create_child_sa_iterator with enumerator.
...
This required two new methods on ike_sa_t. One returns the number of
CHILD_SAs and one allows to remove a CHILD_SA.
2011-07-06 09:43:45 +02:00
Martin Willi
14bf2f689d
Use CRITICAL job priority class for long running dispatcher jobs
2011-05-16 15:24:15 +02:00
Martin Willi
69c3eca0e9
Added a non-blocking, skipping variant of IKE_SA enumerator
2011-05-16 15:24:13 +02:00
Martin Willi
98788537be
Synchronize ESN support in HA plugin
2011-04-20 12:26:58 +02:00
Martin Willi
c55818ebb0
Added a (not yet implemented) plugin_t method to reload plugin configuration
2011-04-15 10:07:13 +02:00
Martin Willi
787b5884aa
Added a get_name() function to plugin_t, create_plugin_enumerator enumerates over plugin_t
2011-04-15 10:07:12 +02:00
Martin Willi
60b71def1a
Use wrapped threading functions in ha plugin
2011-01-20 15:52:29 +01:00
Andreas Steffen
1c7a729100
set tfcv3 flag TRUE in ha_dispatcher
2010-12-26 23:10:57 +01:00
Martin Willi
37788b1d06
Added a TFC padding option to child_cfg
2010-12-20 09:45:39 +01:00
Andreas Steffen
c616d84c3f
start and route connections defined in an SQL database via start_action field and ipsec up %startall command
2010-11-28 11:57:49 +01:00
Martin Willi
bb16217581
Store proposal number in proposal_t to reuse it in the selected proposal
...
According to RFC 5996 3.3.1, we MUST reuse the proposal number of
the selected proposal in the SA payload reply.
2010-10-28 15:08:14 +02:00
Martin Willi
185c2669d5
Set ownership of all HA ClusterIP control files
2010-10-20 14:55:26 +02:00
Martin Willi
384b69d964
Set ownership/permissions of HA control socket
2010-10-20 14:54:51 +02:00
Tobias Brunner
f6697eadb9
Scheduler and processor have been moved to libstrongswan.
...
Also reverts 0c21dc000d as the dependency
to libcharon is no longer required.
2010-09-02 19:04:23 +02:00
Tobias Brunner
bb381e26c6
Refer to scheduler and processor via lib and not hydra.
2010-09-02 19:04:18 +02:00
Tobias Brunner
61e8e73206
Refer to scheduler via hydra and not charon.
2010-09-02 19:01:24 +02:00
Tobias Brunner
c5f7146b17
Refer to processor via hydra and not charon.
2010-09-02 19:01:22 +02:00
Martin Willi
ba31fe1fd6
Use a seperate section for each nested struct member in INIT macro
2010-08-18 12:15:03 +02:00
Tobias Brunner
56bceda7b5
Fixed compiler warnings.
2010-08-03 19:00:46 +02:00
Martin Willi
98d0343870
Implemented a HA enabled in-memory address pool
2010-07-28 10:06:19 +02:00