Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make some private functions in plugins static | Tobias Brunner | 2013-03-27 | 2 | -5/+5 | |
| | | | | Fixes monolithic build. | |||||
* | libpts: Cast first argument for %.*s to int | Tobias Brunner | 2013-03-25 | 1 | -1/+1 | |
| | ||||||
* | error-notify: Close file descriptors in case clients are still connected | Tobias Brunner | 2013-03-25 | 1 | -0/+6 | |
| | ||||||
* | libpttls: Destroy reader when handling errors during SASL | Tobias Brunner | 2013-03-25 | 1 | -0/+2 | |
| | ||||||
* | pacman: Define gen_time out of the loop | Tobias Brunner | 2013-03-25 | 1 | -1/+2 | |
| | | | | It gets assigned if count==3 but only used later when count >= 7. | |||||
* | ipseckey: NULL pointer dereference fixed in error case | Tobias Brunner | 2013-03-25 | 1 | -0/+1 | |
| | ||||||
* | Fixed some typos, courtesy of codespell | Tobias Brunner | 2013-03-25 | 4 | -5/+5 | |
| | ||||||
* | enforce singular of packets | Andreas Steffen | 2013-03-22 | 1 | -4/+6 | |
| | ||||||
* | asprintf(3) requires _GNU_SOURCE to be defined5.0.3rc1 | Tobias Brunner | 2013-03-22 | 1 | -0/+2 | |
| | ||||||
* | Use proper integer types when handling TLS exchanges | Tobias Brunner | 2013-03-22 | 1 | -5/+6 | |
| | | | | tls_t.build takes a size_t argument not a ssize_t. | |||||
* | Check return value of asprintf(3) when converting AR identity | Tobias Brunner | 2013-03-22 | 1 | -2/+4 | |
| | | | | | Using chunk_t.ptr as target was also not optimal as it resulted in a compiler warning. | |||||
* | Switch encoding of AR Identity Value from binary to UTF-8 | Andreas Steffen | 2013-03-22 | 14 | -118/+123 | |
| | ||||||
* | activate logging before loading plugins | Andreas Steffen | 2013-03-21 | 1 | -7/+7 | |
| | ||||||
* | Add a load-tester option to keep allocated external address until shutdown | Martin Willi | 2013-03-21 | 2 | -1/+50 | |
| | ||||||
* | android: No need to disable CMS explicitly | Tobias Brunner | 2013-03-20 | 1 | -1/+0 | |
| | | | | The version check introduced with 0d237763 should take care of it. | |||||
* | Allow up to 10 NAT-D payloads in IKEv1 messages | Tobias Brunner | 2013-03-20 | 1 | -1/+1 | |
| | ||||||
* | Avoid a race condition when reloading secrets from ipsec.secrets | Tobias Brunner | 2013-03-20 | 1 | -18/+25 | |
| | | | | | | | With the previous implementation that cleared the secrets in the active credential set and then loaded the secrets, IKE SA establishment would fail (as initiator or responder) if secrets are concurrently reloaded and the required secret was not yet loaded. | |||||
* | Add a method to replace all secrets in a mem_cred_t object | Tobias Brunner | 2013-03-20 | 2 | -5/+68 | |
| | ||||||
* | android: Build native libraries also for x86 | Tobias Brunner | 2013-03-20 | 3 | -2/+5 | |
| | | | | Requires an updated build script for Vstr. | |||||
* | android: libtnccs requires headers from libtls | Tobias Brunner | 2013-03-20 | 1 | -0/+1 | |
| | ||||||
* | android: Fix Android.mk for ipsec script | Tobias Brunner | 2013-03-20 | 1 | -1/+2 | |
| | ||||||
* | android: Remove/filter header files from LOCAL_SRC_FILES | Tobias Brunner | 2013-03-20 | 9 | -20/+36 | |
| | | | | This avoids huge warnings when building the native code. | |||||
* | android: Request and install an IPv6 DNS server | Tobias Brunner | 2013-03-20 | 2 | -9/+17 | |
| | ||||||
* | android: Also request a virtual IPv6 address and propose IPv6 TS | Tobias Brunner | 2013-03-20 | 3 | -23/+25 | |
| | | | | | This allows IPv6 over IPv4 but falls back nicely if we don't get a virtual IPv6 (or IPv4) address. | |||||
* | ipsec: Increased log level for message in case no outbound policy is found | Tobias Brunner | 2013-03-20 | 1 | -1/+1 | |
| | | | | | | | This might happen on Android if sockets are bound to the physical IP address but packets are still routed via TUN device. Since it seems to happen quite often (or for stuff that requires regular traffic) this hides these messages from the default log. | |||||
* | Add an option to autobalance a HA cluster automatically | Martin Willi | 2013-03-19 | 1 | -0/+59 | |
| | ||||||
* | Check if for some reason we handle a HA segment on both nodes | Martin Willi | 2013-03-19 | 1 | -1/+15 | |
| | ||||||
* | Acquire HA segment lock while sending heartbeat | Martin Willi | 2013-03-19 | 1 | -0/+2 | |
| | ||||||
* | Removed unused variable 'id' | Tobias Brunner | 2013-03-19 | 1 | -2/+1 | |
| | ||||||
* | Properly cleanup libmysql | Tobias Brunner | 2013-03-19 | 1 | -1/+1 | |
| | | | | Seems to work correctly with recent MySQL versions. | |||||
* | Use proper address family when adding multiple addresses to SQL pool | Tobias Brunner | 2013-03-19 | 1 | -0/+15 | |
| | ||||||
* | Ignore SQL-based IP address pools if their address family does not match | Tobias Brunner | 2013-03-19 | 1 | -10/+21 | |
| | ||||||
* | charon-nm: Add dependencies to CERT_DECODE and PRIVKEY plugin features | Tobias Brunner | 2013-03-19 | 1 | -0/+4 | |
| | | | | | | This ensures the NM-specific credential set is unloaded before any implementation of certificate/key objects, which causes a segmentation fault during shutdown. | |||||
* | charon-nm: Prevent NM from changing the default route | Tobias Brunner | 2013-03-19 | 1 | -0/+8 | |
| | | | | | | This is not required as we install our own (narrow) route(s) in our own routing table. This should allow split tunneling if configured on the gateway. | |||||
* | charon-nm: Use VIP (if any) as local address | Tobias Brunner | 2013-03-19 | 1 | -1/+10 | |
| | | | | NM will install this address on the provided device. | |||||
* | charon-nm: Pass a dummy TUN device to NetworkManager | Tobias Brunner | 2013-03-19 | 1 | -5/+37 | |
| | | | | | | NetworkManager modifies the addresses etc. on this interface so using "lo" is not optimal. With the dummy interface NM is free to do its thing. | |||||
* | charon-nm: Fix NM plugin utility macros | Tobias Brunner | 2013-03-19 | 1 | -3/+3 | |
| | ||||||
* | Avoid returning COOKIEs right after system boot | Tobias Brunner | 2013-03-19 | 1 | -1/+1 | |
| | | | | | | | | | | | When the monotonic timer is initialized to 0 right after the system is booted the daemon responded with COOKIES for COOKIE_CALMDOWN_DELAY (10s). Since the COOKIE verification code actually produces an overflow for COOKIE_LIFETIME (10s) it wouldn't even accept properly returned COOKIEs. Checking for last_cookie makes sense anyway as that condition must only apply if we actually sent a COOKIE before. | |||||
* | Fix scheduling of heartbeat sending in HA plugin | Martin Willi | 2013-03-19 | 1 | -2/+11 | |
| | | | | | | e0efd7c1 switches to automated job rescheduling for HA heartbeat. However, send_status() is initially called directly, which will not reschedule the job as required. | |||||
* | Fix compiler warning in HA plugin | Martin Willi | 2013-03-19 | 1 | -1/+1 | |
| | ||||||
* | Various stylistic fixes | Adrian-Ken Rueegsegger | 2013-03-19 | 12 | -123/+155 | |
| | ||||||
* | Use network byte order for ESA SPIs | Adrian-Ken Rueegsegger | 2013-03-19 | 1 | -6/+5 | |
| | ||||||
* | Provide MODP-2048 through TKM DH plugin | Adrian-Ken Rueegsegger | 2013-03-19 | 1 | -0/+1 | |
| | ||||||
* | Add charon-tkm API documentation | Adrian-Ken Rueegsegger | 2013-03-19 | 17 | -16/+158 | |
| | ||||||
* | Do not hardwire keys to KEY_RSA | Reto Buerki | 2013-03-19 | 3 | -12/+51 | |
| | | | | | Make the TKM private and public keys more easily extendable by determining the associated key type dynamically. | |||||
* | Provide TKM credential encoder | Reto Buerki | 2013-03-19 | 5 | -26/+150 | |
| | | | | | | | | The TKM credential encoder creates fingerprints of type KEYID_PUBKEY_INFO_SHA1 and KEYID_PUBKEY_SHA1 using CRED_PART_RSA_PUB_ASN1_DER. This makes the pkcs1 plugin unnecessary. | |||||
* | Switch to openssl plugin | Reto Buerki | 2013-03-19 | 1 | -8/+1 | |
| | ||||||
* | Don't manually register kernel_netlink_net | Reto Buerki | 2013-03-19 | 4 | -16/+11 | |
| | | | | | | | | | Load complete kernel_netlink plugin instead. Registering the TKM specific plugins first still ensures that the correct ipsec plugin is used. Lazy initialize the RNG_WEAK plugin to avoid the unsatisfiable soft dependency on startup. | |||||
* | Move stroke plugin to the end of PLUGINS list | Reto Buerki | 2013-03-19 | 1 | -2/+2 | |
| | | | | | This fixes the problem of stroke being unable to load the ca certificates on startup. | |||||
* | Make sure IP_XFRM_POLICY is defined | Reto Buerki | 2013-03-19 | 1 | -0/+5 | |
| |