Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Function added that parses EAP method strings ([eap-]type[-vendor]) | Tobias Brunner | 2012-08-31 | 2 | -0/+86 | |
| | | | ||||||
| * | | Move our pseudo EAP types out of the range of valid EAP methods | Tobias Brunner | 2012-08-31 | 2 | -14/+14 | |
| |/ | ||||||
* | | Ported tun_device de-/initialization to FreeBSD | Tobias Brunner | 2012-08-29 | 1 | -5/+47 | |
| | | ||||||
* | | Ported tun_device initialization to OS X utun | Martin Willi | 2012-08-28 | 1 | -19/+85 | |
|/ | ||||||
* | define pen_type_t as a vendor-specific type | Andreas Steffen | 2012-08-20 | 1 | -1/+19 | |
| | ||||||
* | Don't use POSIX semaphores if a MONOTONIC clock is available | Martin Willi | 2012-08-20 | 1 | -0/+8 | |
| | | | | | | POSIX semaphores use CLOCK_REALTIME, but our semaphore_t abstraction expects CLOCK_MONOTONIC based times. Use the mutex/condvar based fallback if time_monotonic() actuall returns monotonic times. | |||||
* | Add a mutex/condvar based semaphore implementation if sem_timedwait is ↵ | Martin Willi | 2012-08-20 | 1 | -2/+67 | |
| | | | | | | unavailable Fixes #214. | |||||
* | added IBM and OpenPTS Private Enterprise Numbers | Andreas Steffen | 2012-08-20 | 2 | -2/+8 | |
| | ||||||
* | openssl: Fix registration of the PUBKEY builder | Tobias Brunner | 2012-08-18 | 1 | -1/+1 | |
| | | | | | libtls drops support for RSA suites if it does not find an RSA backend (final builder for RSA public keys). | |||||
* | Add a wrapper around vstr_add_fmt() to avoid having to link libcharon ↵ | Tobias Brunner | 2012-08-17 | 2 | -2/+31 | |
| | | | | | | against libvstr At least on Android the latter would be required. | |||||
* | fixed Makefile for libstrongswan dev headers | Andreas Steffen | 2012-08-14 | 1 | -2/+2 | |
| | ||||||
* | Validate netmask in traffic_selector_create_from_subnet | Tobias Brunner | 2012-08-13 | 1 | -0/+1 | |
| | | | | Fixes #216. | |||||
* | Comment fixed | Tobias Brunner | 2012-08-13 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'android-app' | Tobias Brunner | 2012-08-13 | 20 | -45/+1478 | |
|\ | | | | | | | | | | | | | | | This branch introduces a userland IPsec implementation (libipsec) and an Android App which targets the VpnService API that is provided by Android 4+. The implementation is based on the bachelor thesis 'Userland IPsec for Android 4' by Giuliano Grassi and Ralf Sager. | |||||
| * | Ensure thread IDs always start with 1 even if the library is reused | Tobias Brunner | 2012-08-13 | 1 | -2/+2 | |
| | | | | | | | | | | | | Within the Android App the library stays loaded in memory and is just initialized/deinitialized with each connection, the static thread counter would continuously increase without this patch. | |||||
| * | Don't print hosts as %any if %+H is used | Tobias Brunner | 2012-08-13 | 2 | -7/+8 | |
| | | | | | | | | | | | | That is, the plus sign can be used in the format string to force a numeric string representation of all host_t objects even 0.0.0.0 and :: which would otherwise be printed as %any and %any6. | |||||
| * | Add support for '+' in custom format specifiers | Tobias Brunner | 2012-08-13 | 2 | -0/+7 | |
| | | ||||||
| * | Added utility class to create TUN devices | Tobias Brunner | 2012-08-08 | 4 | -3/+468 | |
| | | | | | | | | Currently works only on Linux. | |||||
| * | Moved types used by kernel_ipsec_t interface (and libipsec) to libstrongswan | Tobias Brunner | 2012-08-08 | 5 | -4/+220 | |
| | | | | | | | | This avoids a dependency of libipsec to libhydra. | |||||
| * | Added a simple blocking queue around linked_list_t | Tobias Brunner | 2012-08-08 | 4 | -6/+232 | |
| | | ||||||
| * | Extended constructor for packet_t added (takes src, dst and data) | Tobias Brunner | 2012-08-08 | 2 | -3/+24 | |
| | | ||||||
| * | Moved packet_t to libstrongswan | Tobias Brunner | 2012-08-08 | 4 | -4/+268 | |
| | | ||||||
| * | Added a method to bio_writer_t that allows to skip a number of bytes | Tobias Brunner | 2012-08-08 | 2 | -0/+24 | |
| | | | | | | | | | | A chunk pointing to the skipped bytes is returned, allowing users of bio_writer_t to write/copy data to the skipped bytes themselves. | |||||
| * | Added a method to bio_writer_t that allows to extract the internal buffer | Tobias Brunner | 2012-08-08 | 2 | -0/+29 | |
| | | ||||||
| * | Added methods to bio_reader_t to read data from end of buffer | Tobias Brunner | 2012-08-08 | 2 | -24/+204 | |
| | | ||||||
* | | Merge branch 'android-ndk' | Tobias Brunner | 2012-08-13 | 5 | -9/+29 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | This branch comes with some preliminary changes for the user-land IPsec implementation and the Android App. One important change is that the UDP ports used by the socket-default plugin were made configurable (either via ./configure or strongswan.conf). Also, the plugin does randomly allocate a port if it is configured to 0, which is useful for client implementations. A consequence of these changes is that the local UDP port used when creating ike_cfg_t objects has to be fetched from the socket. | |||||
| * | Added ESP log group for libipsec log messages. | Tobias Brunner | 2012-08-08 | 2 | -0/+4 | |
| | | ||||||
| * | Make path to Android OpenSSL headers configurable. | Tobias Brunner | 2012-08-08 | 1 | -1/+1 | |
| | | ||||||
| * | Don't require STRONGSWAN_CONF to be defined. | Tobias Brunner | 2012-08-08 | 1 | -2/+9 | |
| | | ||||||
| * | Don't require PLUGINDIR to be defined. | Tobias Brunner | 2012-08-08 | 1 | -6/+15 | |
| | | | | | | | | If it is not available, we just load monolithically built plugins. | |||||
* | | Avoid problems with Doxygen by adding warn_unused_result attribute at the ↵ | Tobias Brunner | 2012-08-11 | 9 | -61/+57 | |
| | | | | | | | | end of method signatures | |||||
* | | Add warn_unused_result attributes to rng_(get|allocate)_bytes_not_zero | Tobias Brunner | 2012-08-11 | 1 | -5/+6 | |
| | | | | | | | | Also fixed Doxygen comments. | |||||
* | | If _POSIX_SPIN_LOCKS is defined as -1, it is not available | Martin Willi | 2012-08-10 | 1 | -0/+4 | |
| | | ||||||
* | | If vstr printf functions are #defined, undef them before redefinition | Martin Willi | 2012-08-10 | 1 | -0/+31 | |
| | | | | | | | | | | At least Mountain Lion seems to have them #defined to secure _chk variants. | |||||
* | | Add getspnam_r() to leak detective whitelist | Martin Willi | 2012-08-10 | 1 | -0/+1 | |
|/ | ||||||
* | PEM loading soft-depends on MD5 only, as unencrypted files don't need MD5 | Martin Willi | 2012-08-03 | 1 | -4/+4 | |
| | | | | Fixes #211. | |||||
* | Implemented recursive mutex without thread-specific counter | Tobias Brunner | 2012-08-03 | 1 | -23/+17 | |
| | ||||||
* | Use a single thread-specific value for our custom rwlock_t implementation | Tobias Brunner | 2012-08-03 | 1 | -50/+67 | |
| | | | | | | The pthread implementation on Android currently only supports 64 different thread-specific values per process, which we hit easily when every rwlock_t requires one. | |||||
* | Move MODP_CUSTOM va_arg fetching out of loop | Martin Willi | 2012-08-02 | 1 | -15/+11 | |
| | | | | It seems problematic at least on PPC with gcc 4.3, fixes #208. | |||||
* | Proper fallback if capability dropping is not available | Tobias Brunner | 2012-07-27 | 1 | -1/+1 | |
| | ||||||
* | Show which group would be required when failing in constraint check | Martin Willi | 2012-07-26 | 1 | -8/+10 | |
| | ||||||
* | Add a SHA1 test vector forcing padding over block boundary | Martin Willi | 2012-07-18 | 2 | -0/+7 | |
| | ||||||
* | Use centralized hasher names in openssl plugin | Martin Willi | 2012-07-17 | 2 | -73/+10 | |
| | ||||||
* | Add short names for hasher algorithms | Martin Willi | 2012-07-17 | 2 | -0/+18 | |
| | ||||||
* | Support void return values in OpenSSL 0.9.8 HMAC functions | Martin Willi | 2012-07-17 | 1 | -17/+28 | |
| | ||||||
* | Test reset() of hasher in crypto tester | Martin Willi | 2012-07-16 | 1 | -1/+9 | |
| | ||||||
* | Refactored error handling in crypto tester | Martin Willi | 2012-07-16 | 1 | -95/+114 | |
| | ||||||
* | Set a key before benching PRFs | Martin Willi | 2012-07-16 | 1 | -1/+8 | |
| | ||||||
* | Resetting OpenSSL HMAC with NULL key reuses existing key | Martin Willi | 2012-07-16 | 1 | -11/+2 | |
| | ||||||
* | Make sure HMAC_Init is called before HMAC_Update, fixes crash | Martin Willi | 2012-07-16 | 1 | -0/+5 | |
| |