Andreas Steffen [Sun, 28 Mar 2010 20:33:30 +0000 (22:33 +0200)]
moved attr-sql plugin to libhydra in pool scenarios
Martin Willi [Fri, 26 Mar 2010 15:25:04 +0000 (16:25 +0100)]
Accept messages with a "sufficient" payload if other payloads (such as V) follow
Tobias Brunner [Fri, 26 Mar 2010 09:47:09 +0000 (10:47 +0100)]
Revert "Use the same formatting as in the Makefiles of the other plugins. Makes refactorings easier."
This reverts commit
e91b116a622bbfb20cd66268ca4cb91d620984ad. Missed to
notice commit
89bf11d204cb934ea9109aa077c8514515d538f6.
Tobias Brunner [Fri, 26 Mar 2010 09:40:14 +0000 (10:40 +0100)]
Use the same formatting as in the Makefiles of the other plugins. Makes refactorings easier.
Martin Willi [Thu, 25 Mar 2010 13:54:56 +0000 (14:54 +0100)]
Respect line with in Makefile.am's, other cosmetics
Martin Willi [Thu, 25 Mar 2010 13:47:23 +0000 (14:47 +0100)]
Added NEWS about the farp plugin
Martin Willi [Thu, 25 Mar 2010 13:41:51 +0000 (14:41 +0100)]
Added libhydra include to farp plugin
Martin Willi [Fri, 19 Mar 2010 15:56:21 +0000 (16:56 +0100)]
Implemented ARP sniffing and spoofing functionality
Martin Willi [Fri, 19 Mar 2010 15:54:21 +0000 (16:54 +0100)]
Use message hook to catch virtual IP, as it is not yet set in ike_updown
Martin Willi [Fri, 19 Mar 2010 12:49:37 +0000 (13:49 +0100)]
Added locking to farp listener
Martin Willi [Fri, 19 Mar 2010 12:29:28 +0000 (13:29 +0100)]
Added a listener to the farp plugin that keeps track of active virtual IPs
Martin Willi [Fri, 19 Mar 2010 11:08:41 +0000 (11:08 +0000)]
Added a farp plugin stop to spoof ARP requests
Martin Willi [Thu, 25 Mar 2010 13:39:10 +0000 (14:39 +0100)]
Added NEWS for dhcp plugin
Martin Willi [Thu, 25 Mar 2010 13:33:05 +0000 (14:33 +0100)]
Migrated dhcp plugin to moved attribute manager
Martin Willi [Wed, 24 Mar 2010 14:28:14 +0000 (15:28 +0100)]
Include configuration payloads for DNS/WINS server received via DHCP
Martin Willi [Wed, 24 Mar 2010 13:52:11 +0000 (14:52 +0100)]
Send DHCP RELEASE on virtual IP release
Martin Willi [Wed, 24 Mar 2010 13:23:56 +0000 (14:23 +0100)]
Release virtual IPs with the same identity as we acquired it
Martin Willi [Wed, 24 Mar 2010 10:22:54 +0000 (11:22 +0100)]
Added identity_lease option to create random or identity based DHCP leases
Martin Willi [Wed, 24 Mar 2010 10:08:59 +0000 (11:08 +0100)]
Added DHCP request construction, ACK processing
Martin Willi [Wed, 24 Mar 2010 09:21:30 +0000 (10:21 +0100)]
Added reception of DHCP responses via PACKET socket
Martin Willi [Tue, 23 Mar 2010 16:18:18 +0000 (17:18 +0100)]
DHCP plugin framework, send DHCP Discover upon IP request
Martin Willi [Mon, 22 Mar 2010 13:39:33 +0000 (14:39 +0100)]
Added DHCP plugin stub.
Martin Willi [Thu, 25 Mar 2010 10:24:58 +0000 (11:24 +0100)]
Added libhydra include to scepclient
Tobias Brunner [Wed, 24 Mar 2010 16:46:56 +0000 (17:46 +0100)]
Link libhydra to checksum_builder so the hydra object is defined.
Tobias Brunner [Wed, 24 Mar 2010 16:46:29 +0000 (17:46 +0100)]
Changed all usages of lib->attributes to hydra->attributes.
Tobias Brunner [Wed, 24 Mar 2010 16:40:15 +0000 (17:40 +0100)]
Attributes moved from libstrongswan to libhydra.
The attribute_manager_t instance is now located on the new hydra object
instead of the lib object.
Tobias Brunner [Wed, 24 Mar 2010 14:39:02 +0000 (15:39 +0100)]
Fixing Doxygen for libhydra.
Tobias Brunner [Wed, 24 Mar 2010 14:25:35 +0000 (15:25 +0100)]
Segment check added for libhydra.
Tobias Brunner [Wed, 24 Mar 2010 14:24:50 +0000 (15:24 +0100)]
Fixed deinit for charon --version.
Tobias Brunner [Wed, 24 Mar 2010 14:22:10 +0000 (15:22 +0100)]
Init/deinit libhydra in charon and pluto.
Tobias Brunner [Wed, 24 Mar 2010 14:18:12 +0000 (15:18 +0100)]
Adding libhydra_init, which is currently only needed for integrity checks.
Tobias Brunner [Wed, 24 Mar 2010 10:58:44 +0000 (11:58 +0100)]
Link pluto and charon to libhydra, fixes monolithic build.
Tobias Brunner [Wed, 24 Mar 2010 10:26:37 +0000 (11:26 +0100)]
Moving attr-sql config in strongswan.conf to libhydra.
Tobias Brunner [Wed, 24 Mar 2010 10:00:11 +0000 (11:00 +0100)]
Fixing integrity-checks after moving the attr-sql plugin and adding libhydra.
Tobias Brunner [Wed, 24 Mar 2010 09:59:31 +0000 (10:59 +0100)]
Moving attr-sql plugin from libstrongswan to libhydra.
Tobias Brunner [Wed, 24 Mar 2010 09:37:01 +0000 (10:37 +0100)]
Adding libhydra stub.
Tobias Brunner [Wed, 24 Mar 2010 17:51:52 +0000 (18:51 +0100)]
Adapted test_pool to the libstrongswan threading.
Tobias Brunner [Wed, 24 Mar 2010 16:54:07 +0000 (17:54 +0100)]
Link libcharon to checksum_builder in order to get rid of the fake symbols.
Tobias Brunner [Wed, 24 Mar 2010 14:45:06 +0000 (15:45 +0100)]
Fixed some Doxygen warnings.
Tobias Brunner [Wed, 24 Mar 2010 11:03:08 +0000 (12:03 +0100)]
Fixed compiler warning.
Heiko Hund [Tue, 23 Mar 2010 21:30:01 +0000 (22:30 +0100)]
Fixed ipsec pool --batch command
--batch mode has shown to be buggy in very obscure ways in the first real
life tests. For example a batch file
--del pool1
--replace pool2 --addresses file1
returned the error "/usr/libexec/ipsec/pool: unrecognized option '--lace'"
which was gone after moving the --del behind --replace. With the patch
from below applied everything works like a charm. From the info on the
man page it seem to be unrelated to this problem, though:
A program that scans multiple argument vectors, or
rescans the same vector more than once, and wants to
make use of GNU extensions such as '+' and '-' at the
start of optstring, or changes the value of
POSIXLY_CORRECT between scans, must reinitialize
getopt() by resetting optind to 0, rather than the
traditional value of 1. (Resetting to 0 forces the
invocation of an internal initialization routine that
rechecks POSIXLY_CORRECT and checks for GNU exten-
sions in optstring.)
Signed-off-by: Heiko Hund <hhund@astaro.com>
Tobias Brunner [Tue, 23 Mar 2010 10:39:58 +0000 (11:39 +0100)]
Use vstr/gmp as shared libraries in the Android build.
Tobias Brunner [Mon, 22 Mar 2010 10:32:20 +0000 (11:32 +0100)]
Missed to include charon's Android.mk in the distribution.
Martin Willi [Fri, 19 Mar 2010 16:17:54 +0000 (17:17 +0100)]
Added charon to .gitignore
Tobias Brunner [Tue, 16 Mar 2010 16:31:13 +0000 (17:31 +0100)]
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.
Tobias Brunner [Tue, 16 Mar 2010 16:20:03 +0000 (17:20 +0100)]
Use wildcards to gather plugin source files.
Tobias Brunner [Tue, 16 Mar 2010 16:18:58 +0000 (17:18 +0100)]
Adding support for the build of libcharon (and charon) on Android.
Tobias Brunner [Tue, 16 Mar 2010 10:06:39 +0000 (11:06 +0100)]
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.
Tobias Brunner [Tue, 16 Mar 2010 10:05:01 +0000 (11:05 +0100)]
Explicitly link charon to libstrongswan.
Also fixed the reference to the pthread library.
Gerd von Egidy [Sun, 14 Mar 2010 21:01:17 +0000 (22:01 +0100)]
Don't indirectly link dependent libraries.
The default behaviour for ld allows users to 'indirectly' link to required
objects/libraries through intermediate objects/libraries. While this is
convenient, it can also be dangerous because it makes your program's
dependencies tied to the dependencies of other objects.
Beginning with Fedora 13 this will be changed and you need to explicitly
link all dependent libraries.
More details can be found here:
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
This patch fixes all such cases in strongSwan.
Tobias Brunner [Fri, 12 Mar 2010 16:20:36 +0000 (17:20 +0100)]
Make integrity tests compatible with libcharon.
This does currently not work because libtool relinks libcharon on
install, thus changing the checksum.
Tobias Brunner [Fri, 12 Mar 2010 16:12:05 +0000 (17:12 +0100)]
Replacing the original charon with a small wrapper around libcharon.
Tobias Brunner [Fri, 12 Mar 2010 15:56:54 +0000 (16:56 +0100)]
Convert charon into libcharon.
Tobias Brunner [Fri, 12 Mar 2010 15:45:46 +0000 (16:45 +0100)]
Moving charon to libcharon.
Martin Willi [Fri, 19 Mar 2010 09:25:12 +0000 (10:25 +0100)]
Removed strayed code fragment
Heiko Hund [Tue, 16 Mar 2010 20:11:52 +0000 (21:11 +0100)]
ipsec pool --batch command
Introduce the --batch command which reads several ipsec pool commands
and their arguments from a file or STDIN. Useful if you need to run
serveral commands atomically from a configuration daemon or likewise.
Signed-off-by: Heiko Hund <hhund@astaro.com>
Heiko Hund [Tue, 16 Mar 2010 20:11:51 +0000 (21:11 +0100)]
ipsec pool error return status
Fix the error return status of the ipsec pool command. Also make --del for
attributes succeed if no --server option was given.
Signed-off-by: Heiko Hund <hhund@astaro.com>
Heiko Hund [Tue, 16 Mar 2010 20:11:50 +0000 (21:11 +0100)]
ipsec pool --replace command
Introduce the pool --replace command as an alternative to --add. Also change
the current behavior of allowing duplicate pool names so that, --add with
an existing name fails and --replace removes the existing pool before
adding the new one.
Signed-off-by: Heiko Hund <hhund@astaro.com>
Heiko Hund [Tue, 16 Mar 2010 20:11:49 +0000 (21:11 +0100)]
--addresses option for ipsec pool --add command
Introduce the --addresses option for --add that can be used to add a pool
containing non-contiguous addresses. Additionally it allows to preclaim
certain addresses for certain roadwarrior IDs. See the second chunk of
the patch for a more detailed description.
Signed-off-by: Heiko Hund <hhund@astaro.com>
Martin Willi [Wed, 17 Mar 2010 17:48:25 +0000 (18:48 +0100)]
Introduced ipsec.conf NTLM keyword for NT hashes
Martin Willi [Wed, 17 Mar 2010 15:58:22 +0000 (16:58 +0100)]
EAP-MSCHAPv2 can use stored NT hashes in addition to plaintext passwords
Thomas Egerer [Fri, 12 Mar 2010 08:37:51 +0000 (09:37 +0100)]
lookup exclusion for several arbitrary routing tables
Tobias Brunner [Tue, 16 Mar 2010 11:42:58 +0000 (12:42 +0100)]
Fixing a compiler warning when building with -Wextra.
Andreas Steffen [Mon, 15 Mar 2010 14:13:26 +0000 (15:13 +0100)]
setting the two most significant bits assures an RSA modulus of maximum bit size
Andreas Steffen [Sun, 14 Mar 2010 18:41:40 +0000 (19:41 +0100)]
we don't accept a serial number with leading zeroes
Tobias Brunner [Tue, 9 Mar 2010 08:01:28 +0000 (09:01 +0100)]
Reordered the name and sname construction.
Tobias Brunner [Fri, 12 Mar 2010 16:27:05 +0000 (17:27 +0100)]
Fixed a bug in pluto's x509 handling.
This bug would have lead to a segmentation fault, if no public key could
have been extracted from a certificate.
Andreas Steffen [Fri, 12 Mar 2010 02:29:18 +0000 (03:29 +0100)]
deleted old strongSwan VIDs
Andreas Steffen [Thu, 11 Mar 2010 20:53:18 +0000 (21:53 +0100)]
enable build of socket-default plugin
Andreas Steffen [Thu, 11 Mar 2010 20:32:36 +0000 (21:32 +0100)]
mixed IKEv1/IKEv2 scenarios require socket-raw
Martin Willi [Thu, 11 Mar 2010 09:51:16 +0000 (10:51 +0100)]
Added a very minimalistic SMTP client to send mails via a local Exim
Martin Willi [Thu, 11 Mar 2010 07:52:48 +0000 (08:52 +0100)]
Do not disable the default-socket if it was enabled explicitly
Martin Willi [Thu, 11 Mar 2010 07:50:12 +0000 (08:50 +0100)]
Set a xy_given variable for a --enable/disable-xy option
This additional variable allows a check if an option was
explicitly given or implicitly set using the default.
Martin Willi [Tue, 9 Mar 2010 14:03:57 +0000 (15:03 +0100)]
Add a getter for the HTTP referer
Andreas Steffen [Wed, 10 Mar 2010 09:46:49 +0000 (10:46 +0100)]
fix 64bit issue with time_t from database
Tobias Brunner [Tue, 9 Mar 2010 16:41:40 +0000 (17:41 +0100)]
Adding socket-default to the plugin list in all test cases.
Tobias Brunner [Tue, 9 Mar 2010 16:15:16 +0000 (17:15 +0100)]
Provide the Diffie Hellman parameters from a central location, so that we do not have to replicate them in every plugin that implements the DH interface.
The main reason for this change is that Android's libcrypto does not
include the get_rfcX_prime_Y functions by default. Therefore we would
have had to replicate the primes a third time.
Tobias Brunner [Mon, 8 Mar 2010 16:18:47 +0000 (17:18 +0100)]
Adding the OpenSSL plugin to the Android build.
Tobias Brunner [Mon, 8 Mar 2010 14:33:42 +0000 (15:33 +0100)]
Fixing integrity tests after renaming the plugin constructors.
Tobias Brunner [Mon, 8 Mar 2010 14:26:09 +0000 (15:26 +0100)]
Adding a helper function that translates single characters in a string.
Tobias Brunner [Mon, 8 Mar 2010 12:59:26 +0000 (13:59 +0100)]
Replaced the deprecated RSA_generate_key with RSA_generate_key_ex.
Martin Willi [Mon, 8 Mar 2010 11:40:45 +0000 (12:40 +0100)]
Implemented the PRF_KEYED_SHA1 algorithm in the openssl plugin
Martin Willi [Mon, 8 Mar 2010 08:36:46 +0000 (09:36 +0100)]
Removed accidentally commited files from tree, ignore tarballs and patches
Andreas Steffen [Sun, 7 Mar 2010 20:11:57 +0000 (21:11 +0100)]
removed unwanted commits
Andreas Steffen [Sun, 7 Mar 2010 19:51:34 +0000 (20:51 +0100)]
critical keyUsage extension must be parsed
Andreas Steffen [Sun, 7 Mar 2010 16:52:04 +0000 (17:52 +0100)]
recognize strongSwan VID
Andreas Steffen [Sun, 7 Mar 2010 16:27:53 +0000 (17:27 +0100)]
set Certificate Sign and CRL Sign flags in keyUsage extension if CA is true
Tobias Brunner [Fri, 5 Mar 2010 13:57:22 +0000 (14:57 +0100)]
Make Android.mk depend on configure.in, so it gets rebuilt if the version number got changed.
Tobias Brunner [Fri, 5 Mar 2010 13:24:56 +0000 (14:24 +0100)]
parser.l includes y.tab.h, so it must be built first
Tobias Brunner [Fri, 5 Mar 2010 13:19:17 +0000 (14:19 +0100)]
Ignore the generated y.output.
Tobias Brunner [Fri, 5 Mar 2010 12:32:27 +0000 (13:32 +0100)]
Do not hardcode the path to the strongSwan sources.
Tobias Brunner [Fri, 5 Mar 2010 12:23:43 +0000 (13:23 +0100)]
Ignore the generated Android.mk
Tobias Brunner [Fri, 5 Mar 2010 12:11:58 +0000 (13:11 +0100)]
Generate the main Android.mk, so the version number is not hardcoded.
We include the generated file in the distribution, so users won't
have run configure if they are building for Android.
Tobias Brunner [Fri, 5 Mar 2010 10:05:32 +0000 (11:05 +0100)]
Build libstrongswan before building any plugins during the non-monolithic build (as it was before).
Martin Willi [Fri, 5 Mar 2010 07:52:09 +0000 (08:52 +0100)]
scepclient still depends on libfreeswan
Martin Willi [Thu, 4 Mar 2010 07:42:18 +0000 (08:42 +0100)]
Remove the invalid cast in time() parameter, as reported by Marius Tomaschewski.
Tobias Brunner [Wed, 3 Mar 2010 16:37:20 +0000 (17:37 +0100)]
Disabling warnings about arithmethic with void* on Android.
Tobias Brunner [Wed, 3 Mar 2010 16:35:19 +0000 (17:35 +0100)]
Fixing a bug on platforms where size_t is unsigned.
Tobias Brunner [Wed, 3 Mar 2010 16:34:49 +0000 (17:34 +0100)]
The parsed timeval is unsigned.
Tobias Brunner [Wed, 3 Mar 2010 16:34:06 +0000 (17:34 +0100)]
The return value of snprintf is int not size_t.