Tobias Brunner
44643c2d01
pluto: Removed unneeded get_proto_reqid.
...
We will use the same reqid for all protocols, as in charon.
2010-09-02 19:04:21 +02:00
Tobias Brunner
717d60f13f
pluto: Added missing return_on in out_sa.
2010-09-02 19:04:21 +02:00
Tobias Brunner
1d61bcaabd
pluto: Use time_monotonic() instead of time() for use time calculation.
...
That's because get_sa_info now returns a monotonic timestamp.
2010-09-02 19:04:21 +02:00
Tobias Brunner
91f44a8bfc
pluto: Removed KLIPS specific code from was_eroute_idle.
2010-09-02 19:04:21 +02:00
Tobias Brunner
013698d51e
pluto: Migrated get_sa_info to libhydra's kernel interface.
2010-09-02 19:04:21 +02:00
Tobias Brunner
95898bcc56
pluto: Migrated teardown_half_ipsec_sa to libhydra's kernel interface.
2010-09-02 19:04:20 +02:00
Tobias Brunner
3ecf66c9e3
pluto: Adapted sag_eroute to the new signature of eroute_connection.
2010-09-02 19:04:20 +02:00
Tobias Brunner
952487d689
pluto: Migrated raw_eroute to libhydra's kernel interface.
...
This introduces a new struct to pass the protocol information like spis.
Also adapted eroute_connection and the simple calls of raw_eroute to
the new signature.
2010-09-02 19:04:20 +02:00
Tobias Brunner
deea15f04e
pluto: Added a function to create a traffic_selector_t from an ip_subnet.
2010-09-02 19:04:20 +02:00
Tobias Brunner
230aa11fb4
pluto: Migrated update_ipsec_sa to libhydra's kernel interface.
2010-09-02 19:04:20 +02:00
Tobias Brunner
1ad497c78f
pluto: Functions to convert IKEv1 ESP algos to IKEv2 identifiers added.
2010-09-02 19:04:20 +02:00
Tobias Brunner
7dd0c17cd4
pluto: Refactored IKEv2/IKEv1 crypto algorithm conversion functions.
2010-09-02 19:04:20 +02:00
Tobias Brunner
6da26f3008
Do not overwrite the original mode when installing policies.
...
The mode is later used to decide if a route has to be installed.
2010-09-02 19:04:20 +02:00
Tobias Brunner
afc4505e11
pluto: Removed KLIPS specific algorithm detection.
2010-09-02 19:04:19 +02:00
Tobias Brunner
54f42e350e
pluto: Removed KLIPS specific bare shunt scanning.
2010-09-02 19:04:19 +02:00
Tobias Brunner
749d3cccaf
Added support for different policy types in kernel_netlink plugin.
2010-09-02 19:04:19 +02:00
Tobias Brunner
bd7a2f3bfc
Added an option to specify the type of a policy to kernel_ipsec.add_policy.
...
This will later allow us to support pluto's passthrough and drop
policies in charon.
2010-09-02 19:04:19 +02:00
Tobias Brunner
6a066ad19b
pluto: Migrated get_my_cpi to libhydra's kernel interface.
2010-09-02 19:04:19 +02:00
Tobias Brunner
89f0cca111
pluto: Migrated get_ipsec_spi to libhydra's kernel interface.
2010-09-02 19:04:19 +02:00
Tobias Brunner
55be07a15f
Added support for combined IPComp/ESP/AH policies in kernel_netlink plugin.
2010-09-02 19:04:19 +02:00
Tobias Brunner
b4872c1e09
Replaced the protocol argument in add_policy with an optional SPI for an AH SA.
2010-09-02 19:04:19 +02:00
Tobias Brunner
c5fb6882f2
Initialize the thread pool in pluto.
2010-09-02 19:04:19 +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
e18556e9e9
Moved scheduler and thread pool to libstrongswan.
2010-09-02 19:04:18 +02:00
Tobias Brunner
062a602216
Moved all kernel plugins to libhydra.
2010-09-02 19:01:26 +02:00
Tobias Brunner
08c0d340b8
Moved ipsec_transform_t to kernel_ipsec.h in libhydra.
...
Because of this libfreeswan, pluto, starter etc. now depend on that
file (and libhydra). This resolved some duplicate declarations.
2010-09-02 19:01:25 +02:00
Tobias Brunner
f6659688ab
Refer to kernel interface via hydra and not charon.
2010-09-02 19:01:25 +02:00
Tobias Brunner
6f449d2efd
Moved kernel interface to libhydra.
2010-09-02 19:01:25 +02:00
Tobias Brunner
9f166d9ac2
Removed references to protocol_id_t from kernel interface.
...
Instead we use the actual IP protocol identifier (the conversion now happens in
child_sa_t and kernel_handler_t).
2010-09-02 19:01:25 +02:00
Tobias Brunner
9d94174242
Migrated child_sa_t to INIT/METHOD macros.
2010-09-02 19:01:25 +02:00
Tobias Brunner
ba26508d05
Moved roam job creation to kernel event handler.
2010-09-02 19:01:25 +02:00
Tobias Brunner
61e8e73206
Refer to scheduler via hydra and not charon.
2010-09-02 19:01:24 +02:00
Tobias Brunner
8c387909eb
Moved scheduler_t to libhydra.
2010-09-02 19:01:24 +02:00
Tobias Brunner
4e258e63c3
Moved migrate job creation to kernel event handler.
2010-09-02 19:01:24 +02:00
Tobias Brunner
01563352e8
Moved update SA job creation to kernel event handler.
2010-09-02 19:01:24 +02:00
Tobias Brunner
a22853b302
Moved delete/rekey CHILD_SA job creation to kernel event handler.
2010-09-02 19:01:24 +02:00
Tobias Brunner
81f6ec276b
Moved acquire job creation to kernel event handler.
2010-09-02 19:01:23 +02:00
Tobias Brunner
09ae31f13a
Added kernel event handler stub.
2010-09-02 19:01:23 +02:00
Tobias Brunner
f7f3d87ed7
All kernel listener hooks are optional.
2010-09-02 19:01:23 +02:00
Tobias Brunner
c560ddeb25
Added listener handling to kernel interface.
2010-09-02 19:01:23 +02:00
Tobias Brunner
bd50254ca9
Added an interface for kernel event listeners.
2010-09-02 19:01:23 +02:00
Tobias Brunner
1989c75e9e
Some minor comment fixes.
2010-09-02 19:01:23 +02:00
Tobias Brunner
211943be23
Some whitespace and code style fixes.
2010-09-02 19:01:23 +02:00
Tobias Brunner
74f15e9320
Do not include files from libcharon in libhydra.
2010-09-02 19:01:22 +02:00
Tobias Brunner
07500cda69
Move callback_job_t to libhydra.
2010-09-02 19:01:22 +02:00
Tobias Brunner
222a64d892
Fixing Doxygen groups after moving processor.
2010-09-02 19:01:22 +02:00
Tobias Brunner
c5f7146b17
Refer to processor via hydra and not charon.
2010-09-02 19:01:22 +02:00
Tobias Brunner
633fbe4fde
Move processor_t (thread-pool) to libhydra.
2010-09-02 19:01:22 +02:00
Martin Willi
dbb7c0306c
Support different hash/sig algorithms in handshake signing, including ECDSA
2010-09-02 13:07:25 +02:00
Martin Willi
99dcaea9bd
Added TLS ClientCertificateType identifiers
2010-09-02 13:07:24 +02:00