Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | stroke: Add an option to prevent log level changes via stroke socket | Tobias Brunner | 2014-01-23 | 2 | -2/+18 | |
| | ||||||
* | pki: Make sure no command registers too many options | Tobias Brunner | 2014-01-23 | 2 | -4/+11 | |
| | ||||||
* | pki: Increase MAX_COMMANDS to cover all currently available commands | Tobias Brunner | 2014-01-23 | 1 | -2/+2 | |
| | | | | Fixes #452. | |||||
* | pki: Print a warning if MAX_COMMANDS is too low | Tobias Brunner | 2014-01-23 | 1 | -0/+7 | |
| | ||||||
* | pki: Properly use ?: when defining option arrays | Tobias Brunner | 2014-01-23 | 1 | -2/+2 | |
| | ||||||
* | configure: Add -Wno-format-security to default CFLAGS | Tobias Brunner | 2014-01-23 | 1 | -1/+1 | |
| | | | | | | Either due to a change in Ubuntu 13.10 or GCC 4.8 -Wno-format has no effect if -Wformat-security is enabled (which it is on Ubuntu) so we also disable the latter by default. | |||||
* | agent: Keep CAP_DAC_OVERRIDE to connect to ssh-agent socket | Tobias Brunner | 2014-01-23 | 4 | -14/+10 | |
| | | | | This is also required if charon-cmd is used with capability dropping. | |||||
* | ike: Simplify error handling if name resolution failed | Tobias Brunner | 2014-01-23 | 1 | -16/+3 | |
| | | | | | | | This avoids a second name resolution attempt just to determine if %any etc. was configured. Fixes #440. | |||||
* | ike: Use proper hostname(s) when name resolution failed | Tobias Brunner | 2014-01-23 | 1 | -1/+1 | |
| | | | | | | Was wrong since 0edce687675df8f10f4026fa12a8fc3b3dd003f5. Fixes #440. | |||||
* | ikev2: Wipe (optional) shared secret during CHILD_SA key derivation | Tobias Brunner | 2014-01-23 | 1 | -11/+14 | |
| | ||||||
* | checksum must be the last subdir included | Tobias Brunner | 2014-01-23 | 1 | -4/+4 | |
| | | | | | | | Otherwise charon-cmd will not yet be installed when the checksums are calculated (now from the install dir, not the build dir). Fixes #496. | |||||
* | unit-tests: Pass a test suite collection name to print during test execution | Martin Willi | 2014-01-22 | 4 | -9/+12 | |
| | | | | | As we except to get more and more test runners for the different components, we add a name to easily identify them on the test output. | |||||
* | array: Add an array_get() function | Martin Willi | 2014-01-22 | 3 | -3/+44 | |
| | ||||||
* | watcher: Don't complain if select() syscall got interrupted | Martin Willi | 2014-01-22 | 1 | -1/+1 | |
| | ||||||
* | stream: Make sure no watcher callback is active while changing stream callbacks | Martin Willi | 2014-01-22 | 1 | -14/+3 | |
| | | | | | | | | | | | When changing async callbacks on streams, we have to make sure the watcher callback is not currently active and has temporarily disabled callbacks. This could have been the case, as we didn't explicitly removed any pending watcher registration if both callbacks are NULL. By enforcing the watcher unregistration, we are sure the watcher callback is not active and currently is not mangling the callback hooks. This should make sure we avoid any races for the callback variables. | |||||
* | checksum: Read executables from DESTDIR | Tobias Brunner | 2014-01-21 | 1 | -7/+7 | |
| | | | | | | | This allows to recreate the checksums after the installed binaries have been modified e.g. with strip. Fixes #491. | |||||
* | man: Add documentation of the dhcp interface option | Thomas Egerer | 2014-01-20 | 1 | -0/+5 | |
| | | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | dhcp: Allow binding of socket to particular interface | Thomas Egerer | 2014-01-20 | 1 | -0/+34 | |
| | | | | | | | | | In certain situations it is desirable to bind the send/receive sockets for the DHCP address allocation to a particular interface. With this patch the strongswan.conf option charon.plugins.dhcp.interface can be used to restrict the DHCP communication to a configurable interface. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | proposal: Add possibility to register custom proposal keyword parser | Thomas Egerer | 2014-01-20 | 2 | -2/+66 | |
| | | | | | | | | | If a proposal string cannot be matched to a token using strcmp (e.g. if you want to register a whole class of algorithms containing their ID, like my_alg_2342), you can use the provided function to register a parser that transforms the given string into a proposal token. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | unit-tests: Add environment variable to reduce the number of generated keys | Tobias Brunner | 2014-01-20 | 2 | -2/+14 | |
| | | | | | | | If TESTS_REDUCED_KEYLENGTHS is set RSA and ECDSA keys are only generated for the lowest configured key length. Fixes #474. | |||||
* | unit-tests: Generate RSA key with 768 bits not 786 | Tobias Brunner | 2014-01-20 | 1 | -1/+1 | |
| | ||||||
* | ike_sa: Defer task manager destruction after child destruction | Thomas Egerer | 2014-01-16 | 4 | -9/+16 | |
| | | | | | | | | | | This patch exports the task manager's flush to allow flushing of all queues with one function call from ike_sa->destroy. It allows the access of intact children during task destructoin (see git-commit e44ebdcf) and allows the access of the task manager in child_state_change hook. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | Version bump to 5.1.2rc1 | Andreas Steffen | 2014-01-16 | 2 | -1/+4 | |
| | ||||||
* | Added TPMRA workitem support in PTS database | Andreas Steffen | 2014-01-16 | 2 | -0/+120 | |
| | ||||||
* | printf-hook-builtin: Correctly calculate written bytes in print_in_hook() | Martin Willi | 2014-01-15 | 1 | -3/+7 | |
| | | | | | | | | | | The hook data counts remaining buffer bytes, not used ones. Counting them correctly fixes a crash for long hexdumps. Further, print_in_hook() must return the number of bytes that would have been written, not the actually written bytes. This is important, as we allocate a dynamic buffer in bus that relies on the exact byte count. Fixes long hexdumps that got truncated. | |||||
* | Do PTS measurements only if session initialisation was successful5.1.2dr3 | Andreas Steffen | 2014-01-15 | 1 | -7/+22 | |
| | ||||||
* | Starting with 3.1.7 kernel.org replaced bz2 with xz format | Andreas Steffen | 2014-01-15 | 2 | -5/+5 | |
| | ||||||
* | Version bump to 5.1.2dr3 | Andreas Steffen | 2014-01-13 | 1 | -1/+1 | |
| | ||||||
* | Catch AIK errors | Andreas Steffen | 2014-01-13 | 5 | -51/+57 | |
| | ||||||
* | Do TPM measurements only if there is a TPMRA workitem | Andreas Steffen | 2014-01-13 | 7 | -126/+139 | |
| | ||||||
* | Allow reason strings to be used as workitem result string | Andreas Steffen | 2014-01-13 | 9 | -46/+82 | |
| | ||||||
* | Attestation IMV processes TPMRA workitem | Andreas Steffen | 2014-01-13 | 3 | -3/+69 | |
| | ||||||
* | Added TPM Remote Attestation (TPMRA) workitem | Andreas Steffen | 2014-01-10 | 2 | -2/+4 | |
| | ||||||
* | checksum: Set rpath including DESTDIR for checksum_builder | Tobias Brunner | 2014-01-08 | 1 | -0/+1 | |
| | | | | | | | This way libraries to which checksum_builder does not itself link, like libtls and libradius, are found during DESTDIR installs. Fixes #476. | |||||
* | test-asn1: Fix skipping of >2038 tests on i386 | Tobias Brunner | 2014-01-06 | 1 | -35/+35 | |
| | | | | | | | | The two constants overflow time_t on i386 (they also produced a compiler warning without type suffix) so the comparison with TIME_32_BIT_SIGNED_MAX did not work as intended. Fixes #477. | |||||
* | chunk: Fix chunk_mac/hash tests on big-endian systems | Tobias Brunner | 2014-01-06 | 1 | -2/+27 | |
| | | | | | | | | Our SipHash-2-4 implementation returns the result in host order, while the test vectors are little-endian. Use a custom comparison function to account for this. Fixes #478. | |||||
* | utils: Fix %T printf hook on big-endian systems | Tobias Brunner | 2014-01-06 | 1 | -1/+1 | |
| | | | | | | | | The cast to a bool* cut of the actual value on big-endian systems if bool was shorter than int because the bool argument to printf gets promoted to an int. Fixes #479. | |||||
* | checksum: Delay building of checksum_builder until required by make install | Tobias Brunner | 2014-01-06 | 1 | -2/+2 | |
| | | | | This ensures PLUGINDIR includes any DESTDIR set during make install. | |||||
* | checksum: Remove unnecessary pluto symbol | Tobias Brunner | 2014-01-06 | 1 | -3/+0 | |
| | ||||||
* | stroke: Fix error message if parsing leftsourceip fails | Tobias Brunner | 2014-01-06 | 1 | -1/+1 | |
| | ||||||
* | Update PCR even if measurement does not equal reference value | Andreas Steffen | 2013-12-21 | 1 | -3/+3 | |
| | ||||||
* | tun-device: Include system headers before our own | Tobias Brunner | 2013-12-20 | 2 | -3/+5 | |
| | | | | | | | | | | | | | On CentOS 6.5 the sys/capability.h header file defines _LINUX_TYPES_H without actually including that header, preventing its later inclusion here. As library.h (via which the capabilities headers are included) is not actually required in tun_device.[ch], moving the inclusion of tun_device.h would not strictly be necessary. But it's probably a good idea to include our own headers after system headers anyway, for if one of the recursively included files at a later point includes library.h we'd have the same problem again. | |||||
* | aes-test: Fix compiler warnings from older versions of GCC | Tobias Brunner | 2013-12-19 | 1 | -1/+1 | |
| | ||||||
* | Fixed check_file_measurement method in pts_database_t | Andreas Steffen | 2013-12-13 | 1 | -6/+54 | |
| | ||||||
* | unit-tests: NTRU test to check a special branch | Andreas Steffen | 2013-12-08 | 1 | -0/+7 | |
| | ||||||
* | min_MGF_hash_calls parameter is not needed anymore | Andreas Steffen | 2013-12-07 | 2 | -18/+0 | |
| | ||||||
* | Optimized MGF1 implementation | Andreas Steffen | 2013-12-07 | 1 | -8/+13 | |
| | ||||||
* | Implemented ntru_trits class | Andreas Steffen | 2013-12-07 | 9 | -293/+383 | |
| | ||||||
* | Streamlined DRBG and MGF1 debug output | Andreas Steffen | 2013-12-07 | 3 | -14/+20 | |
| | ||||||
* | Version bump to 5.1.2dr25.1.2.dr2 | Andreas Steffen | 2013-12-06 | 1 | -1/+1 | |
| |