Commit Graph

4241 Commits

Author SHA1 Message Date
Martin Willi 34d240a6e3 manage synced SAs in IKE_SA Manager, tag them with IKE_PASSIVE state 2010-04-07 13:55:12 +02:00
Tobias Brunner 9ed6341d3f Adding support for debug groups in libstrongswan's logger. 2010-04-06 12:47:40 +02:00
Tobias Brunner 3fdee23f18 Move debug groups from charon's bus.h to libstrongswan's debug.h. 2010-04-06 12:47:40 +02:00
Tobias Brunner a5ec302547 Moved attr plugin from libcharon to libhydra. 2010-04-06 12:47:40 +02:00
Tobias Brunner c9235353f8 Use a read-write lock in stroke_attribute to increase concurrency. 2010-04-06 12:47:39 +02:00
Tobias Brunner 8c9f5bad8b Migrated stroke_attribute_t to METHOD/INIT macros. 2010-04-06 12:47:38 +02:00
Tobias Brunner ac5fb545c5 Extracted in-memory IP address pool from stroke plugin to libhydra. 2010-04-06 12:47:38 +02:00
Martin Willi 84aa96e5f5 Invoke updown hook if IKE_SA delete is enforced in deleting state 2010-04-06 12:11:28 +02:00
Martin Willi 360ef1606f Fixed handling of IKE_SAs without a virtual IP in farp plugin 2010-03-30 10:24:47 +02:00
Martin Willi 28df533393 Accept messages with a "sufficient" payload if other payloads (such as V) follow 2010-03-26 16:26:09 +01:00
Tobias Brunner 18c68f22c7 Revert "Use the same formatting as in the Makefiles of the other plugins. Makes refactorings easier."
This reverts commit e91b116a62. Missed to
notice commit 89bf11d204.
2010-03-26 10:47:09 +01:00
Tobias Brunner e91b116a62 Use the same formatting as in the Makefiles of the other plugins. Makes refactorings easier. 2010-03-26 10:40:14 +01:00
Martin Willi 89bf11d204 Respect line with in Makefile.am's, other cosmetics 2010-03-25 14:54:56 +01:00
Martin Willi e40a629d4c Added libhydra include to farp plugin 2010-03-25 14:41:51 +01:00
Martin Willi f8e99e012a Implemented ARP sniffing and spoofing functionality 2010-03-25 14:39:32 +01:00
Martin Willi dc70a5bb0b Use message hook to catch virtual IP, as it is not yet set in ike_updown 2010-03-25 14:39:32 +01:00
Martin Willi 479a7b7d17 Added locking to farp listener 2010-03-25 14:39:32 +01:00
Martin Willi 660e16f5b2 Added a listener to the farp plugin that keeps track of active virtual IPs 2010-03-25 14:39:32 +01:00
Martin Willi 0d7b48a388 Added a farp plugin stop to spoof ARP requests 2010-03-25 14:39:32 +01:00
Martin Willi 0e1689e98f Migrated dhcp plugin to moved attribute manager 2010-03-25 14:33:22 +01:00
Martin Willi b262429e0b Include configuration payloads for DNS/WINS server received via DHCP 2010-03-25 14:29:10 +01:00
Martin Willi 913eb69692 Send DHCP RELEASE on virtual IP release 2010-03-25 14:29:10 +01:00
Martin Willi 045833c79d Release virtual IPs with the same identity as we acquired it 2010-03-25 14:29:10 +01:00
Martin Willi e06a6154e2 Added identity_lease option to create random or identity based DHCP leases 2010-03-25 14:28:29 +01:00
Martin Willi 4f0932ecfe Added DHCP request construction, ACK processing 2010-03-25 14:28:29 +01:00
Martin Willi 20ee54d06f Added reception of DHCP responses via PACKET socket 2010-03-25 14:28:29 +01:00
Martin Willi ddc93db612 DHCP plugin framework, send DHCP Discover upon IP request 2010-03-25 14:28:28 +01:00
Martin Willi beaa048eed Added DHCP plugin stub. 2010-03-25 14:28:28 +01:00
Tobias Brunner 58f86d0f0f Changed all usages of lib->attributes to hydra->attributes. 2010-03-24 18:54:26 +01:00
Tobias Brunner 567d3f1463 Attributes moved from libstrongswan to libhydra.
The attribute_manager_t instance is now located on the new hydra object
instead of the lib object.
2010-03-24 18:53:10 +01:00
Tobias Brunner 52bff307e1 Init/deinit libhydra in charon and pluto. 2010-03-24 18:53:10 +01:00
Tobias Brunner 75dc019252 Moving attr-sql plugin from libstrongswan to libhydra. 2010-03-24 18:53:09 +01:00
Tobias Brunner dc9ddba6e3 Adapted test_pool to the libstrongswan threading. 2010-03-24 18:51:52 +01:00
Tobias Brunner d7e977aced Fixed some Doxygen warnings. 2010-03-24 15:45:06 +01:00
Tobias Brunner cf46ff6875 Use vstr/gmp as shared libraries in the Android build. 2010-03-23 11:39:58 +01:00
Tobias Brunner d92b337fe9 Do not indent the source file lists in Android.mk files so we can easily compare them to the lists in the Makefile.am files. 2010-03-19 13:34:53 +01:00
Tobias Brunner 0f5a043989 Use wildcards to gather plugin source files. 2010-03-19 13:34:53 +01:00
Tobias Brunner 52c7257366 Adding support for the build of libcharon (and charon) on Android. 2010-03-19 13:34:53 +01:00
Tobias Brunner 78060ba063 Do not link libcharon to libstrongswan.
Linking to libstrongswan breaks the integrity-tests because libtool
relinks libcharon to libstrongswan on install, thus changing the
checksum.
2010-03-19 13:34:53 +01:00
Tobias Brunner bd3f8ea30b Convert charon into libcharon. 2010-03-19 13:34:52 +01:00
Tobias Brunner 08c5572602 Moving charon to libcharon. 2010-03-19 13:34:52 +01:00