7 years agocharon: Set CLOEXEC flag on daemon PID file and /dev/(u)random source FDs
Martin Willi [Tue, 24 Jun 2014 12:43:38 +0000 (14:43 +0200)]
charon: Set CLOEXEC flag on daemon PID file and /dev/(u)random source FDs

On Fedora, SELinux complains about these open file descriptors when the
updown script invokes iptables. While it seems difficult to set the flag
on all file descriptors, this at least fixes those covered by the SELinux

As these two cases are in code executed while the daemon is still single
threaded, we avoid the use of atomic but not fully portable fdopen("e") or
open(O_CLOEXEC) calls.

Fixes #519.

7 years agoutils: Add wrappers for memcpy(3), memmove(3) and memset(3)
Tobias Brunner [Tue, 24 Jun 2014 12:52:42 +0000 (14:52 +0200)]
utils: Add wrappers for memcpy(3), memmove(3) and memset(3)

These wrappers guarantee that calls to these functions are noops if the
number of bytes is 0, as calling them with NULL pointers is undefined
according to the C standard, even if the number of bytes is 0 (most
implementations probably ignore the pointers anyway in this case, but
lets make sure).

7 years agopki: Also check for MAX_COMMANDS when building getopt_long arguments
Tobias Brunner [Fri, 20 Jun 2014 15:55:48 +0000 (17:55 +0200)]
pki: Also check for MAX_COMMANDS when building getopt_long arguments

Completes 87e53819a6 and 0a8c399a21.

7 years agoAuxiliary swid_tagstats table boosts performance
Andreas Steffen [Mon, 23 Jun 2014 11:32:50 +0000 (13:32 +0200)]
Auxiliary swid_tagstats table boosts performance

7 years agoMerge branch 'algorithm-order'
Tobias Brunner [Fri, 20 Jun 2014 14:22:15 +0000 (16:22 +0200)]
Merge branch 'algorithm-order'

Restores the behavior we had before 2e22333fb (except for RNGs), that is,
algorithms are stored in the registration order again.  Which is not optimal
as we must rely on plugins to register them in a sensible order, but ordering
them by identifier definitely caused weaker algorithms to be proposed first
in the default proposal, which was even worse.

7 years agounit-tests: Add tests for DH factory
Tobias Brunner [Wed, 18 Jun 2014 15:25:47 +0000 (17:25 +0200)]
unit-tests: Add tests for DH factory

7 years agocrypto-factory: Only sort RNGs by algorithm identifier
Tobias Brunner [Fri, 20 Jun 2014 07:07:05 +0000 (09:07 +0200)]
crypto-factory: Only sort RNGs by algorithm identifier

Others remain in the order in which they were added, grouped by
algorithm identifier and sorted by benchmarking speed, if provided.

7 years agounit-tests: Add test for crypto_factory_t's rng_create method
Tobias Brunner [Tue, 6 May 2014 17:56:17 +0000 (19:56 +0200)]
unit-tests: Add test for crypto_factory_t's rng_create method

7 years agokernel-netlink: Install virtual IPv6 addresses as deprecated
Tobias Brunner [Fri, 20 Jun 2014 06:51:07 +0000 (08:51 +0200)]
kernel-netlink: Install virtual IPv6 addresses as deprecated

This should prevent the kernel's IPv6 source address selection algorithm
from using this address unless it is forced to by our source route.
This is helpful if split tunneling is used.

Fixes #598.

7 years agovici: Install libvici in ipseclibdir like we do with other libraries
Tobias Brunner [Thu, 19 Jun 2014 12:41:37 +0000 (14:41 +0200)]
vici: Install libvici in ipseclibdir like we do with other libraries

7 years agoMerge branch 'shunt-policies-routes'
Tobias Brunner [Thu, 19 Jun 2014 12:33:50 +0000 (14:33 +0200)]
Merge branch 'shunt-policies-routes'

Fixes #599.

7 years agokernel-netlink: Pass prefix when looking up next hop for shunt policies
Tobias Brunner [Wed, 18 Jun 2014 08:10:25 +0000 (10:10 +0200)]
kernel-netlink: Pass prefix when looking up next hop for shunt policies

7 years agokernel-netlink: Add support for destination prefix when determining next hop
Tobias Brunner [Wed, 18 Jun 2014 07:58:01 +0000 (09:58 +0200)]
kernel-netlink: Add support for destination prefix when determining next hop

7 years agokernel-interface: Add destination prefix to get_nexthop()
Tobias Brunner [Wed, 18 Jun 2014 07:55:39 +0000 (09:55 +0200)]
kernel-interface: Add destination prefix to get_nexthop()

This allows to determine the next hop to reach a subnet, for instance, when
installing routes for shunt policies.

7 years agoMerge branch 'passthrough-policies-priority'
Tobias Brunner [Thu, 19 Jun 2014 12:24:48 +0000 (14:24 +0200)]
Merge branch 'passthrough-policies-priority'

Introduces a new priority class for policies, which allows us to install
passthrough policies with a strictly higher priority than IPsec
policies, which was not the case previously depending on the traffic

7 years agotesting: Add ikev2/shunt-policies-nat-rw scenario
Tobias Brunner [Thu, 19 Jun 2014 11:37:05 +0000 (13:37 +0200)]
testing: Add ikev2/shunt-policies-nat-rw scenario

7 years agotesting: Remove ikev2/shunt-policies scenario
Tobias Brunner [Thu, 19 Jun 2014 11:38:49 +0000 (13:38 +0200)]
testing: Remove ikev2/shunt-policies scenario

This scenario doesn't really apply anymore (especially its use of drop

7 years agoshunt-manager: Install passthrough policies with highest priority
Tobias Brunner [Tue, 13 May 2014 10:20:27 +0000 (12:20 +0200)]
shunt-manager: Install passthrough policies with highest priority

This avoids conflicts with regular IPsec policies.

Similarly, use the lowest priority for drop policies.

7 years agolibipsec: Add support for new policy priority class
Tobias Brunner [Tue, 13 May 2014 10:20:02 +0000 (12:20 +0200)]
libipsec: Add support for new policy priority class

7 years agokernel-pfkey: Add support for new policy priority class
Tobias Brunner [Tue, 13 May 2014 10:19:41 +0000 (12:19 +0200)]
kernel-pfkey: Add support for new policy priority class

7 years agokernel-netlink: Add support for new policy priority class
Tobias Brunner [Tue, 13 May 2014 10:17:09 +0000 (12:17 +0200)]
kernel-netlink: Add support for new policy priority class

7 years agoipsec: Add a fourth priority class for bypass policies
Tobias Brunner [Tue, 13 May 2014 10:16:33 +0000 (12:16 +0200)]
ipsec: Add a fourth priority class for bypass policies

7 years agoRemove kernel-klips plugin
Tobias Brunner [Tue, 13 May 2014 09:18:40 +0000 (11:18 +0200)]
Remove kernel-klips plugin

7 years agokernel-netlink: Follow RFC 6724 when selecting IPv6 source addresses
Tobias Brunner [Fri, 14 Mar 2014 14:41:52 +0000 (15:41 +0100)]
kernel-netlink: Follow RFC 6724 when selecting IPv6 source addresses

Instead of using the first address we find on an interface we should
consider properties like an address' scope or whether it is temporary
or public.

Fixes #543.

7 years agoMerge branch 'ipsec.conf-parser'
Tobias Brunner [Thu, 19 Jun 2014 12:04:33 +0000 (14:04 +0200)]
Merge branch 'ipsec.conf-parser'

Replaces the ipsec.conf parser in starter.  The new parser is also based
on flex/bison but it simply returns key/value collections of all sections.
It already resolves also= and allows overriding options in all included
sections (not only %default), options set in included section can also
be cleared again (key=).  It provides other improvements too, like quoted
strings (with escape sequences), unlimited includes and better
whitespace/comment handling.

Fixes #423.
Fixes #560.

7 years agostarter: Don't directly refer to source files in Makefile for unit tests
Tobias Brunner [Thu, 19 Jun 2014 09:58:15 +0000 (11:58 +0200)]
starter: Don't directly refer to source files in Makefile for unit tests

Older versions of automake have trouble recursively cleaning such
constructs properly.

7 years agostarter: Explicitly allow @# at the beginning of strings
Tobias Brunner [Wed, 18 Jun 2014 13:11:32 +0000 (15:11 +0200)]
starter: Explicitly allow @# at the beginning of strings

Since we treat everything after # as comment identities of type
ID_KEY_ID couldn't be parsed otherwise, unless quoted.

7 years agostarter: Add --conftest option to test ipsec.conf syntax
Tobias Brunner [Wed, 18 Jun 2014 09:31:49 +0000 (11:31 +0200)]
starter: Add --conftest option to test ipsec.conf syntax

7 years agostarter: Remove old parser
Tobias Brunner [Wed, 21 May 2014 13:06:12 +0000 (15:06 +0200)]
starter: Remove old parser

7 years agostarter: Use new parser to read config file
Tobias Brunner [Wed, 21 May 2014 12:51:44 +0000 (14:51 +0200)]
starter: Use new parser to read config file

7 years agostarter: Move kw_entry_t definition
Tobias Brunner [Wed, 21 May 2014 12:36:46 +0000 (14:36 +0200)]
starter: Move kw_entry_t definition

7 years agostarter: Remove unused ARG_LST argument type
Tobias Brunner [Wed, 21 May 2014 11:36:24 +0000 (13:36 +0200)]
starter: Remove unused ARG_LST argument type

7 years agostarter: Add tests for ipsec.conf parser
Tobias Brunner [Tue, 20 May 2014 16:16:48 +0000 (18:16 +0200)]
starter: Add tests for ipsec.conf parser

7 years agounit-tests: Make fixture functions optional
Tobias Brunner [Tue, 20 May 2014 17:27:50 +0000 (19:27 +0200)]
unit-tests: Make fixture functions optional

7 years agostarter: Add new bison/flex based parser for ipsec.conf
Tobias Brunner [Tue, 20 May 2014 16:15:13 +0000 (18:15 +0200)]
starter: Add new bison/flex based parser for ipsec.conf

The parser simply returns key/value pairs of all sections, it already
resolves also= and allows overriding options in all included sections
(not only %default), options set in included section can also be cleared
again (key=).
It provides other improvements too, like quoted strings (with escape
sequences), unlimited includes and better whitespace/comment handling.

7 years agostarter: Remove out of date README
Tobias Brunner [Tue, 20 May 2014 14:40:39 +0000 (16:40 +0200)]
starter: Remove out of date README

7 years agocollections: Add interface for read-only dictionaries
Tobias Brunner [Fri, 16 May 2014 09:53:08 +0000 (11:53 +0200)]
collections: Add interface for read-only dictionaries

7 years agohashtable: Add destroy_function method
Tobias Brunner [Tue, 27 Aug 2013 14:37:41 +0000 (16:37 +0200)]
hashtable: Add destroy_function method

7 years agostroke: Add --daemon option
Tobias Brunner [Thu, 20 Feb 2014 16:27:54 +0000 (17:27 +0100)]
stroke: Add --daemon option

7 years agostarter: Use stream abstraction to communicate with stroke plugin
Tobias Brunner [Thu, 20 Feb 2014 15:17:11 +0000 (16:17 +0100)]
starter: Use stream abstraction to communicate with stroke plugin

7 years agostroke: Use stream abstraction to communicate with stroke plugin
Tobias Brunner [Thu, 20 Feb 2014 15:04:36 +0000 (16:04 +0100)]
stroke: Use stream abstraction to communicate with stroke plugin

Without this changing charon.plugins.stroke.socket would not really

7 years agowinhttp: Fix a typo to properly release connection handle
Martin Willi [Thu, 19 Jun 2014 09:09:20 +0000 (11:09 +0200)]
winhttp: Fix a typo to properly release connection handle

Fixes a rather large memory leak in HTTP fetches.

7 years agoload-tester: Add a crl option to include a CRL uri in generated certificates
Martin Willi [Thu, 19 Jun 2014 08:48:27 +0000 (10:48 +0200)]
load-tester: Add a crl option to include a CRL uri in generated certificates

7 years agobus: Properly va_copy() argument list before passing it to printf() functions
Martin Willi [Thu, 19 Jun 2014 08:10:54 +0000 (10:10 +0200)]
bus: Properly va_copy() argument list before passing it to printf() functions

As we later potentially use args again, we can't consume it with printf
functions without copying it first. Clone list before passing it to any
consuming function.

Fixes #621.

7 years agochild-sa: Set replay window on both inbound and outbound SA
Martin Willi [Wed, 18 Jun 2014 14:50:18 +0000 (16:50 +0200)]
child-sa: Set replay window on both inbound and outbound SA

While the outbound SA actually does not need a replay window, the kernel rejects
zero replay windows on SAs using ESN. The ESN flag is required to use the full
sequence number in ICV calculation, hence we set the replay window.

This restores the behavior we had before 30c009c2.

7 years agokernel-netlink: Never use XFRMA_REPLAY_ESN_VAL to configure zero replay windows
Martin Willi [Wed, 18 Jun 2014 12:57:21 +0000 (14:57 +0200)]
kernel-netlink: Never use XFRMA_REPLAY_ESN_VAL to configure zero replay windows

Trying to disable replay windows using the ESN attribute fails with EINVAL.
Use non-ESN legacy format to disable replay windows, even if ESN has been
negotiated over IKE.

7 years agoAdded swanctl/net2net-route scenario
Andreas Steffen [Wed, 18 Jun 2014 12:57:33 +0000 (14:57 +0200)]
Added swanctl/net2net-route scenario

7 years agoAdded swanctl/net2net-start scenario
Andreas Steffen [Wed, 18 Jun 2014 12:35:59 +0000 (14:35 +0200)]
Added swanctl/net2net-start scenario

7 years agoMinor changes in swanctl scenarios
Andreas Steffen [Wed, 18 Jun 2014 12:35:36 +0000 (14:35 +0200)]
Minor changes in swanctl scenarios

7 years agoThe policy_started check is not needed any more
Andreas Steffen [Wed, 18 Jun 2014 12:01:02 +0000 (14:01 +0200)]
The policy_started check is not needed any more

7 years agoAdded swanctl --list-pols and swanctl --stats do scenario log
Andreas Steffen [Wed, 18 Jun 2014 11:16:18 +0000 (13:16 +0200)]
Added swanctl --list-pols and swanctl --stats do scenario log

7 years agotesting: Delete accidentally committed test cases
Tobias Brunner [Wed, 18 Jun 2014 07:36:08 +0000 (09:36 +0200)]
testing: Delete accidentally committed test cases

7 years agoikev1: Allow late connection switching based on XAuth username
Tobias Brunner [Fri, 16 May 2014 08:39:22 +0000 (10:39 +0200)]
ikev1: Allow late connection switching based on XAuth username

7 years agoidentification: Only use either , or / to separate RDNs
Tobias Brunner [Mon, 5 May 2014 11:55:15 +0000 (13:55 +0200)]
identification: Only use either , or / to separate RDNs

If a DN starts with a slash (or whitespace and a slash) slashes will
be used, otherwise commas.

7 years agosshkey: Fix loading of ECDSA keys from files
Tobias Brunner [Thu, 3 Apr 2014 07:23:55 +0000 (09:23 +0200)]
sshkey: Fix loading of ECDSA keys from files

7 years agosshkey: Add support to parse SSH public keys from files with left|rightsigkey
Tobias Brunner [Thu, 3 Apr 2014 07:21:43 +0000 (09:21 +0200)]
sshkey: Add support to parse SSH public keys from files with left|rightsigkey

7 years agoMerge branch 'vici-stats'
Martin Willi [Tue, 17 Jun 2014 15:56:05 +0000 (17:56 +0200)]
Merge branch 'vici-stats'

Add a vici/swanctl "stats" command to print daemon info, similar to the header
shown in "ipsec statusall".

7 years agovici: Support memory stats without leak-detective on Windows
Martin Willi [Wed, 11 Jun 2014 14:50:59 +0000 (16:50 +0200)]
vici: Support memory stats without leak-detective on Windows

7 years agoswanctl: Add a --stats command to print daemon infos and statistics
Martin Willi [Wed, 11 Jun 2014 14:19:38 +0000 (16:19 +0200)]
swanctl: Add a --stats command to print daemon infos and statistics

7 years agovici: Add a stats command returning various daemon infos and statistics
Martin Willi [Wed, 11 Jun 2014 14:07:40 +0000 (16:07 +0200)]
vici: Add a stats command returning various daemon infos and statistics

7 years agoswanctl: Support private key decryption passhprases in swanctl.conf
Martin Willi [Wed, 4 Jun 2014 08:37:59 +0000 (10:37 +0200)]
swanctl: Support private key decryption passhprases in swanctl.conf

While there is no real security benefit of storing private keys encrypted if
the passphrase is stored along with it, there still seems to be demand for this
functionality. We add it for compatibility with ipsec.secrets, even if it is
not really recommended.

7 years agoMerge branch 'conn-specific-replay'
Martin Willi [Tue, 17 Jun 2014 14:50:14 +0000 (16:50 +0200)]
Merge branch 'conn-specific-replay'

Introduces a connection specific replay_window option, overriding the global
charon.replay_window strongswan.conf option. Original patch courtesy of
Zheng Zhong and Christophe Gouault from 6Wind.

7 years agoNEWS: Mention replay_window ipsec.conf option
Martin Willi [Tue, 17 Jun 2014 14:44:58 +0000 (16:44 +0200)]
NEWS: Mention replay_window ipsec.conf option

7 years agoswanctl: Document replay_window option
Martin Willi [Tue, 17 Jun 2014 14:48:25 +0000 (16:48 +0200)]
swanctl: Document replay_window option

7 years agovici: Support a replay_window CHILD_SA option
Martin Willi [Mon, 16 Jun 2014 15:41:07 +0000 (17:41 +0200)]
vici: Support a replay_window CHILD_SA option

7 years agostarter: Add a replay_window connection option
Martin Willi [Mon, 16 Jun 2014 15:36:13 +0000 (17:36 +0200)]
starter: Add a replay_window connection option

7 years agokernel-pfkey: Support connection specific replay window sizes up to 32 packets
Martin Willi [Mon, 16 Jun 2014 15:33:45 +0000 (17:33 +0200)]
kernel-pfkey: Support connection specific replay window sizes up to 32 packets

7 years agokernel-netlink: Support connection specific replay window sizes
Martin Willi [Mon, 16 Jun 2014 15:32:49 +0000 (17:32 +0200)]
kernel-netlink: Support connection specific replay window sizes

7 years agokernel-interface: Add a replay_window parameter to add_sa()
Martin Willi [Mon, 16 Jun 2014 15:31:43 +0000 (17:31 +0200)]
kernel-interface: Add a replay_window parameter to add_sa()

7 years agochild-cfg: Store connection specific replay window on CHILD_SA config
Martin Willi [Mon, 16 Jun 2014 15:26:33 +0000 (17:26 +0200)]
child-cfg: Store connection specific replay window on CHILD_SA config

7 years agoMerge branch 'win-errno'
Martin Willi [Tue, 17 Jun 2014 13:24:06 +0000 (15:24 +0200)]
Merge branch 'win-errno'

Improves errno handling for Winsock2 compatibility functions.

7 years agowindows: Declare strerror_s()
Martin Willi [Wed, 11 Jun 2014 15:10:19 +0000 (17:10 +0200)]
windows: Declare strerror_s()

Older MinGW versions seem to miss this function declaration. Fixes build on
Travis using Ubuntu 12.04.

7 years agowindows: Extend strerror_r/s by extended POSIX errno strings
Martin Willi [Wed, 11 Jun 2014 10:07:34 +0000 (12:07 +0200)]
windows: Extend strerror_r/s by extended POSIX errno strings

7 years agowindows: Implement strerror_r using strerror_s
Martin Willi [Wed, 11 Jun 2014 09:38:52 +0000 (11:38 +0200)]
windows: Implement strerror_r using strerror_s

7 years agowindows: Wrap most Winsock2 Posix functions to set errno
Martin Willi [Wed, 11 Jun 2014 09:08:03 +0000 (11:08 +0200)]
windows: Wrap most Winsock2 Posix functions to set errno

While Winsock provides many Posix compatibility functions, they do not set
errno, but use WSAGetLastError() for error reporting. The wrapped functions
derive an errno from WSAGetLastError() on failure.

7 years agowatcher: Prevent race condition spawning multiple watcher threads
Martin Willi [Wed, 11 Jun 2014 13:04:15 +0000 (15:04 +0200)]
watcher: Prevent race condition spawning multiple watcher threads

If file descriptors get added and removed in rapid succession, the active
watcher thread might not take notice of it and continues running. However, add()
spawns a watcher thread whenever a file descriptor is added to an empty set.
This could result in multiple watcher threads, which is fixed by a proper
check for running watchers.

7 years agothread-value: Defer cleanup handling to thread termination on Windows
Martin Willi [Wed, 11 Jun 2014 12:24:22 +0000 (14:24 +0200)]
thread-value: Defer cleanup handling to thread termination on Windows

Instead of cleaning up all thread-values during destruction, cleanup handler
is invoked when a thread detaches. Thread detaching is cough using the Windows
DllMain() entry point, and allows us to basically revert 204098a7.

Using this mechanism, we make sure that the cleanup handler is invoked by the
the correct thread. Further, this mechanism works for externally-spawned
threads which run outside of our thread_cb() routine, and works more efficiently
with short-running threads.

7 years agosocket-win: Use non-overlapped I/O and socket event selection
Martin Willi [Tue, 10 Jun 2014 13:58:31 +0000 (15:58 +0200)]
socket-win: Use non-overlapped I/O and socket event selection

The use of overlapped I/O was incorrect, as we passed stack based buffers, but
did not cancel/wait for pending completion on all sockets. Our receive-from-all
socket interface is actually tricky to implement using overlapped I/O. Switch
to WSAEventSelect() event management, which can be canceled properly while
working in a select()-like way.

7 years agoMerge branch 'attr-enum'
Martin Willi [Tue, 17 Jun 2014 13:15:02 +0000 (15:15 +0200)]
Merge branch 'attr-enum'

Introduces a handle_vips() hook very similar to assign_vips(), but for clients
handling virtual IPs and other configuration attributes. Non-handled attributes
are stored on the IKE_SA as well and can be enumerated.

7 years agobus: Add a handle_vips() hook invoked after handling configuration attributes
Martin Willi [Tue, 11 Feb 2014 09:09:08 +0000 (10:09 +0100)]
bus: Add a handle_vips() hook invoked after handling configuration attributes

Similar to assign_vips() used by a peer assigning virtual IPs to the other peer,
the handle_vips() hook gets invoked on a peers after receiving attributes. On
release of the same attributes the hook gets invoked again.

This is useful to inspect handled attributes, as the ike_updown() hook is
invoked after authentication, when attributes have not been handled yet.

7 years agoikev1: Invoke the assign_vips() bus hook for IKEv1 as well
Martin Willi [Tue, 11 Feb 2014 08:49:44 +0000 (09:49 +0100)]
ikev1: Invoke the assign_vips() bus hook for IKEv1 as well

7 years agoike: Create an enumerator for (un-)handled configuration attributes on IKE_SA
Martin Willi [Tue, 11 Feb 2014 09:12:24 +0000 (10:12 +0100)]
ike: Create an enumerator for (un-)handled configuration attributes on IKE_SA

7 years agoike: Store unhandled attributes on IKE_SA as well
Martin Willi [Tue, 11 Feb 2014 08:19:45 +0000 (09:19 +0100)]
ike: Store unhandled attributes on IKE_SA as well

7 years agoVersion bump to 5.2.0rc1
Andreas Steffen [Sun, 15 Jun 2014 09:40:15 +0000 (11:40 +0200)]
Version bump to 5.2.0rc1

7 years agoMentioned first six swanctl scenarios in NEWS 5.2.0dr6
Andreas Steffen [Sat, 14 Jun 2014 13:43:44 +0000 (15:43 +0200)]
Mentioned first six swanctl scenarios in NEWS

7 years agoAdded swanctl/rw-psk-fqdn and swanctl/rw-psk-ipv4 scenarios
Andreas Steffen [Sat, 14 Jun 2014 13:14:53 +0000 (15:14 +0200)]
Added swanctl/rw-psk-fqdn and swanctl/rw-psk-ipv4 scenarios

7 years agoSingle-line --raw mode simplifies evaltest of swanctl scenarios
Andreas Steffen [Thu, 12 Jun 2014 21:00:26 +0000 (23:00 +0200)]
Single-line --raw mode simplifies evaltest of swanctl scenarios

7 years agoSplit swanctl --raw mode into single-line and --pretty mode
Andreas Steffen [Thu, 12 Jun 2014 20:57:15 +0000 (22:57 +0200)]
Split swanctl --raw mode into single-line and --pretty mode

7 years agoAdded swanctl/ip-pool-db scenario
Andreas Steffen [Wed, 11 Jun 2014 16:11:11 +0000 (18:11 +0200)]
Added swanctl/ip-pool-db scenario

7 years agoUpdated strongTNC configuration
Andreas Steffen [Wed, 11 Jun 2014 16:09:48 +0000 (18:09 +0200)]
Updated strongTNC configuration

7 years agoAdded swanctl/ip-pool scenario
Andreas Steffen [Tue, 10 Jun 2014 14:11:25 +0000 (16:11 +0200)]
Added swanctl/ip-pool scenario

7 years agoAllow multiple hash values in the file reference database
Andreas Steffen [Tue, 10 Jun 2014 13:10:21 +0000 (15:10 +0200)]
Allow multiple hash values in the file reference database

7 years agoAdded swanctl/rw-cert scenario
Andreas Steffen [Tue, 10 Jun 2014 07:13:20 +0000 (09:13 +0200)]
Added swanctl/rw-cert scenario

7 years agoAdded Android 4.3 and 4.4.3 to imv database
Andreas Steffen [Tue, 10 Jun 2014 07:11:21 +0000 (09:11 +0200)]
Added Android 4.3 and 4.4.3 to imv database

7 years agoDefine default swanctl credentials in hosts directory
Andreas Steffen [Mon, 9 Jun 2014 07:59:09 +0000 (09:59 +0200)]
Define default swanctl credentials in hosts directory

7 years agoAdded missing units (s = seconds)
Andreas Steffen [Tue, 10 Jun 2014 14:18:23 +0000 (16:18 +0200)]
Added missing units (s = seconds)

7 years agoFixes in SWID entity support
Andreas Steffen [Sun, 8 Jun 2014 09:13:32 +0000 (11:13 +0200)]
Fixes in SWID entity support

7 years agoMerge branch 'win-32bit'
Martin Willi [Fri, 6 Jun 2014 14:32:31 +0000 (16:32 +0200)]
Merge branch 'win-32bit'

Fixes some issues when building 32-bit Windows binaries. Mostly related
to the call API. Introduces a Travis 32-bit Windows build variant.

7 years agotravis: Add a Windows 32-bit variant build test
Martin Willi [Thu, 5 Jun 2014 12:07:21 +0000 (14:07 +0200)]
travis: Add a Windows 32-bit variant build test

7 years agowindows: Link against psapi32
Martin Willi [Thu, 5 Jun 2014 11:14:13 +0000 (13:14 +0200)]
windows: Link against psapi32

On some version GetModuleFileNameEx/GetModuleInformation is in psapi32 instead
of kernel32. We link to both libraries to make sure we have it.