Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | pluto: Adapted kernel.c to changed kernel interface. | Tobias Brunner | 2010-09-02 | 1 | -47/+45 | |
| | ||||||
* | Adapted child_sa_t to changed kernel interface. | Tobias Brunner | 2010-09-02 | 1 | -25/+49 | |
| | ||||||
* | Fixing installation of trap policies (SPI=0) in kernel interface. | Tobias Brunner | 2010-09-02 | 7 | -51/+59 | |
| | ||||||
* | pluto: Do not close all file descriptors on startup, just redirect stdin, ↵ | Tobias Brunner | 2010-09-02 | 1 | -16/+8 | |
| | | | | | | | stdout and stderr to /dev/null. Otherwise the pipe used to synchronize pluto->events with the main thread would be closed. | |||||
* | pluto: Added a generic event queue. | Tobias Brunner | 2010-09-02 | 6 | -1/+292 | |
| | | | | | This allows to easily execute arbitrary callbacks in the context of the pluto main thread (e.g. in order to synchronize with threads from the thread-pool). | |||||
* | pluto: Fixed the reqid that is passed to the updown script. | Tobias Brunner | 2010-09-02 | 1 | -1/+1 | |
| | ||||||
* | pluto: Migrated setup_half_ipsec_sa to libhydra's kernel interface. | Tobias Brunner | 2010-09-02 | 1 | -352/+113 | |
| | ||||||
* | pluto: Removed unneeded get_proto_reqid. | Tobias Brunner | 2010-09-02 | 1 | -18/+0 | |
| | | | | We will use the same reqid for all protocols, as in charon. | |||||
* | pluto: Added missing return_on in out_sa. | Tobias Brunner | 2010-09-02 | 1 | -2/+2 | |
| | ||||||
* | pluto: Use time_monotonic() instead of time() for use time calculation. | Tobias Brunner | 2010-09-02 | 2 | -2/+2 | |
| | | | | That's because get_sa_info now returns a monotonic timestamp. | |||||
* | pluto: Removed KLIPS specific code from was_eroute_idle. | Tobias Brunner | 2010-09-02 | 1 | -89/+4 | |
| | ||||||
* | pluto: Migrated get_sa_info to libhydra's kernel interface. | Tobias Brunner | 2010-09-02 | 1 | -42/+56 | |
| | ||||||
* | pluto: Migrated teardown_half_ipsec_sa to libhydra's kernel interface. | Tobias Brunner | 2010-09-02 | 1 | -92/+40 | |
| | ||||||
* | pluto: Adapted sag_eroute to the new signature of eroute_connection. | Tobias Brunner | 2010-09-02 | 1 | -43/+18 | |
| | ||||||
* | pluto: Migrated raw_eroute to libhydra's kernel interface. | Tobias Brunner | 2010-09-02 | 1 | -61/+132 | |
| | | | | | | 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. | |||||
* | pluto: Added a function to create a traffic_selector_t from an ip_subnet. | Tobias Brunner | 2010-09-02 | 1 | -0/+14 | |
| | ||||||
* | pluto: Migrated update_ipsec_sa to libhydra's kernel interface. | Tobias Brunner | 2010-09-02 | 1 | -20/+21 | |
| | ||||||
* | pluto: Functions to convert IKEv1 ESP algos to IKEv2 identifiers added. | Tobias Brunner | 2010-09-02 | 2 | -3/+45 | |
| | ||||||
* | pluto: Refactored IKEv2/IKEv1 crypto algorithm conversion functions. | Tobias Brunner | 2010-09-02 | 1 | -165/+145 | |
| | ||||||
* | Do not overwrite the original mode when installing policies. | Tobias Brunner | 2010-09-02 | 1 | -4/+5 | |
| | | | | The mode is later used to decide if a route has to be installed. | |||||
* | pluto: Removed KLIPS specific algorithm detection. | Tobias Brunner | 2010-09-02 | 2 | -61/+0 | |
| | ||||||
* | pluto: Removed KLIPS specific bare shunt scanning. | Tobias Brunner | 2010-09-02 | 5 | -340/+0 | |
| | ||||||
* | Added support for different policy types in kernel_netlink plugin. | Tobias Brunner | 2010-09-02 | 1 | -41/+45 | |
| | ||||||
* | Added an option to specify the type of a policy to kernel_ipsec.add_policy. | Tobias Brunner | 2010-09-02 | 7 | -27/+43 | |
| | | | | | This will later allow us to support pluto's passthrough and drop policies in charon. | |||||
* | pluto: Migrated get_my_cpi to libhydra's kernel interface. | Tobias Brunner | 2010-09-02 | 3 | -82/+10 | |
| | ||||||
* | pluto: Migrated get_ipsec_spi to libhydra's kernel interface. | Tobias Brunner | 2010-09-02 | 1 | -46/+20 | |
| | ||||||
* | Added support for combined IPComp/ESP/AH policies in kernel_netlink plugin. | Tobias Brunner | 2010-09-02 | 1 | -31/+32 | |
| | ||||||
* | Replaced the protocol argument in add_policy with an optional SPI for an AH SA. | Tobias Brunner | 2010-09-02 | 8 | -34/+53 | |
| | ||||||
* | Initialize the thread pool in pluto. | Tobias Brunner | 2010-09-02 | 1 | -0/+10 | |
| | ||||||
* | Refer to scheduler and processor via lib and not hydra. | Tobias Brunner | 2010-09-02 | 37 | -103/+79 | |
| | ||||||
* | Moved scheduler and thread pool to libstrongswan. | Tobias Brunner | 2010-09-02 | 15 | -44/+43 | |
| | ||||||
* | Moved all kernel plugins to libhydra. | Tobias Brunner | 2010-09-02 | 29 | -54/+50 | |
| | ||||||
* | Moved ipsec_transform_t to kernel_ipsec.h in libhydra. | Tobias Brunner | 2010-09-02 | 11 | -52/+33 | |
| | | | | | Because of this libfreeswan, pluto, starter etc. now depend on that file (and libhydra). This resolved some duplicate declarations. | |||||
* | Refer to kernel interface via hydra and not charon. | Tobias Brunner | 2010-09-02 | 24 | -144/+161 | |
| | ||||||
* | Moved kernel interface to libhydra. | Tobias Brunner | 2010-09-02 | 16 | -60/+61 | |
| | ||||||
* | Removed references to protocol_id_t from kernel interface. | Tobias Brunner | 2010-09-02 | 10 | -199/+193 | |
| | | | | | Instead we use the actual IP protocol identifier (the conversion now happens in child_sa_t and kernel_handler_t). | |||||
* | Migrated child_sa_t to INIT/METHOD macros. | Tobias Brunner | 2010-09-02 | 1 | -202/+132 | |
| | ||||||
* | Moved roam job creation to kernel event handler. | Tobias Brunner | 2010-09-02 | 3 | -21/+56 | |
| | ||||||
* | Refer to scheduler via hydra and not charon. | Tobias Brunner | 2010-09-02 | 14 | -29/+32 | |
| | ||||||
* | Moved scheduler_t to libhydra. | Tobias Brunner | 2010-09-02 | 10 | -22/+24 | |
| | ||||||
* | Moved migrate job creation to kernel event handler. | Tobias Brunner | 2010-09-02 | 3 | -15/+22 | |
| | ||||||
* | Moved update SA job creation to kernel event handler. | Tobias Brunner | 2010-09-02 | 4 | -19/+22 | |
| | ||||||
* | Moved delete/rekey CHILD_SA job creation to kernel event handler. | Tobias Brunner | 2010-09-02 | 4 | -53/+39 | |
| | ||||||
* | Moved acquire job creation to kernel event handler. | Tobias Brunner | 2010-09-02 | 4 | -21/+31 | |
| | ||||||
* | Added kernel event handler stub. | Tobias Brunner | 2010-09-02 | 5 | -0/+120 | |
| | ||||||
* | All kernel listener hooks are optional. | Tobias Brunner | 2010-09-02 | 2 | -5/+11 | |
| | ||||||
* | Added listener handling to kernel interface. | Tobias Brunner | 2010-09-02 | 2 | -2/+202 | |
| | ||||||
* | Added an interface for kernel event listeners. | Tobias Brunner | 2010-09-02 | 3 | -0/+96 | |
| | ||||||
* | Some minor comment fixes. | Tobias Brunner | 2010-09-02 | 1 | -14/+20 | |
| | ||||||
* | Some whitespace and code style fixes. | Tobias Brunner | 2010-09-02 | 4 | -25/+33 | |
| |