Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | configure: Add an option to enable all optional features/plugins | Tobias Brunner | 2014-03-20 | 2 | -2/+17 | |
| | | | | | | | | This has probably no real practical use, but it simplifies testing. | |||||
| * | configure: Reorder and group feature options | Tobias Brunner | 2014-03-20 | 1 | -93/+106 | |
| | | ||||||
| * | unit-tests: Generate weak keys with gcrypt plugin (but quickly) | Tobias Brunner | 2014-03-20 | 1 | -0/+3 | |
| | | ||||||
| * | tnc-pdp: Fix monolithic build | Tobias Brunner | 2014-03-20 | 1 | -1/+2 | |
|/ | ||||||
* | plugin-feature: Hash only the actually used feature argument | Tobias Brunner | 2014-03-20 | 1 | -1/+31 | |
| | | | | | | | | Clang does not initialize padding in union members so hashing the complete "arg" union could lead to different hashes if the hashed plugin_feature_t does not have static storage duration. Fixes #549. | |||||
* | Added TPMRA workitem support for [dummy] Trusted Boot measurements | Andreas Steffen | 2014-03-19 | 1 | -0/+16 | |
| | ||||||
* | pki: When dispatching commands, don't look beyond non-null-terminated array | Martin Willi | 2014-03-19 | 1 | -1/+1 | |
| | ||||||
* | pki: Check length of commands array before accessing command in --help | Martin Willi | 2014-03-19 | 1 | -1/+1 | |
| | | | | | | | As --help is counted as command as well, the array is not null-terminated and we have to check for MAX_COMMANDS. Fixes #550. | |||||
* | charon-nm: No additional secrets are required once a password has been entered | Tobias Brunner | 2014-03-18 | 1 | -0/+4 | |
| | | | | | | | Recent versions of NM will call need_secrets() as long as it returns TRUE, but then fail as the number of calls is limited by an assert. Fixes #547. | |||||
* | array: Fix removal of elements in the second half of an array | Tobias Brunner | 2014-03-18 | 1 | -1/+1 | |
| | | | | | | | Memory beyond the end of the array was moved when array elements in the second half of an array were removed. Fixes #548. | |||||
* | plugin-loader: Properly initialize modular plugin list if no plugins are enabled | Tobias Brunner | 2014-03-18 | 1 | -0/+1 | |
| | ||||||
* | Implemented ntru_private_key class | Andreas Steffen | 2014-03-18 | 15 | -1381/+1429 | |
| | ||||||
* | 11 bits are needed to encode a maximum index of 1086 | Andreas Steffen | 2014-03-15 | 1 | -1/+1 | |
| | ||||||
* | Merged libstrongswan options into charon section | Andreas Steffen | 2014-03-15 | 98 | -240/+41 | |
| | ||||||
* | strongswan.conf is not needed on RADIUS server alice | Andreas Steffen | 2014-03-15 | 2 | -0/+2 | |
| | ||||||
* | tnc-ifmap: Get a reference to the client cert as it is also used in an auth ↵ | Tobias Brunner | 2014-03-10 | 1 | -1/+1 | |
| | | | | config | |||||
* | Version bump to 5.1.3dr1 | Andreas Steffen | 2014-03-07 | 1 | -1/+1 | |
| | ||||||
* | Disable mandatory ECP support for attestion | Andreas Steffen | 2014-03-07 | 24 | -9/+347 | |
| | ||||||
* | Refactored NTRU parameter set selection | Andreas Steffen | 2014-03-07 | 3 | -40/+47 | |
| | ||||||
* | Refactored ntru_param_sets | Andreas Steffen | 2014-03-07 | 9 | -246/+175 | |
| | ||||||
* | thread: Properly clean up meta data of main thread | Tobias Brunner | 2014-03-07 | 1 | -0/+2 | |
| | ||||||
* | settings: Log all errors on level 1 | Tobias Brunner | 2014-03-04 | 1 | -4/+3 | |
| | | | | Closes #539. | |||||
* | settings: Avoid conf file parsing beyond allocated buffer | Thomas Egerer | 2014-03-03 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | A valgrind analysis of libstrongswan revealed an invalid read of 1 in the function starts_with(). A more thorough analysis proved this to be true and showed that with a specially crafted config file (e.g. a single '#'-character not followed by a newline), the parser might even interpret the random memory contents following the allocated buffer as part of the configuration file. The way the parser is designed, it must be able to skip an inserted '\0' and continue parsing. Since it is not able to skip two '\0' characters, the 'fix' of allocating two more bytes than the size of the parsed file and setting them to '\0' seems to be a safe bet. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | configure: Fix autoreconf with older autotools | Tobias Brunner | 2014-03-03 | 1 | -2/+1 | |
| | | | | | | | | Older autoconf versions (e.g. on CentOS 6.5) produce an empty else block for the removed empty argument, which the shell then trips over when executing ./configure. Fixes #536. | |||||
* | Optimize ntru_poly constructors some more5.1.2 | Andreas Steffen | 2014-02-27 | 1 | -26/+24 | |
| | ||||||
* | Version bump to 5.1.2 | Andreas Steffen | 2014-02-27 | 1 | -1/+1 | |
| | ||||||
* | Optimized initialisation of indices | Andreas Steffen | 2014-02-27 | 1 | -50/+39 | |
| | ||||||
* | Added get_array() method to ntru_poly_t class | Andreas Steffen | 2014-02-27 | 6 | -157/+90 | |
| | ||||||
* | Defined ntru_poly_create_from_seed() and ntru_poly_create_from_data() ↵ | Andreas Steffen | 2014-02-27 | 6 | -138/+220 | |
| | | | | constructors and built some unit tests for the latter) | |||||
* | Optimized use of temporary arrays in polynomial multiplication | Andreas Steffen | 2014-02-27 | 2 | -24/+24 | |
| | ||||||
* | Implement ring multiplication method | Andreas Steffen | 2014-02-27 | 4 | -113/+245 | |
| | ||||||
* | conf: Fix out-of-tree build from distribution | Tobias Brunner | 2014-02-27 | 1 | -6/+3 | |
| | | | | | | It worked from the repository, where strongswan.conf.5.main is generated in the build dir, but not from the distribution where it is located in the source dir, so explicitly create it in the source dir. | |||||
* | utils: Add memrchr(3) replacement for platforms that don't support it | Tobias Brunner | 2014-02-26 | 4 | -2/+82 | |
| | | | | For instance, on Mac OS X memrchr(3) is not provided by the C library. | |||||
* | Merge branch 'dirname' | Tobias Brunner | 2014-02-24 | 15 | -121/+307 | |
|\ | | | | | | | | | Fixes the incorrect usage of dirname(3) in settings_t and stroke_cred_t, and adds thread-safe variants of dirname(3) and basename(3). | |||||
| * | libpts: Use path_base|dirname() | Tobias Brunner | 2014-02-24 | 4 | -14/+18 | |
| | | ||||||
| * | conftest: Use path_dirname() | Tobias Brunner | 2014-02-24 | 1 | -1/+1 | |
| | | ||||||
| * | stroke: Use thread-safe dirname(3) | Tobias Brunner | 2014-02-24 | 1 | -6/+4 | |
| | | ||||||
| * | settings: Use thread-safe dirname(3) | Tobias Brunner | 2014-02-24 | 1 | -5/+3 | |
| | | ||||||
| * | utils: Add thread-safe variants of dirname(3) and basename(3) | Tobias Brunner | 2014-02-24 | 3 | -4/+144 | |
| | | ||||||
| * | utils: Move thread-safe strerror replacement to a separate file | Tobias Brunner | 2014-02-24 | 7 | -99/+145 | |
| | | | | | | | | | | For some utils _GNU_SOURCE might be needed but that conflicts with the signature of strerror_r(3). | |||||
| * | stroke: Use dirname(3) correctly | Tobias Brunner | 2014-02-24 | 1 | -5/+5 | |
| | | ||||||
| * | settings: Use dirname(3) correctly | Tobias Brunner | 2014-02-24 | 1 | -4/+4 | |
|/ | | | | | | | | dirname(3) may return a pointer to a statically allocated buffer. So freeing the returned value can result to undefined behavior. This was noticed on FreeBSD where it caused very strange crashes. It is also not thread-safe, which will be addressed later. | |||||
* | Use logical AND function | Andreas Steffen | 2014-02-23 | 1 | -1/+1 | |
| | ||||||
* | pki: Make cmds array static, ensuring that it is zero-initialized | Martin Willi | 2014-02-20 | 1 | -2/+1 | |
| | | | | | As pki --help relies on a zero-terminated array, make the actually non-public cmds array static to ensure initialization. | |||||
* | index limit can be easily computed | Andreas Steffen | 2014-02-19 | 6 | -54/+28 | |
| | ||||||
* | uclibc only defines strndup(3) if _GNU_SOURCE is defined | Tobias Brunner | 2014-02-19 | 13 | -25/+43 | |
| | | | | References #516. | |||||
* | sshkey: uclibc only defines fmemopen(3) if _GNU_SOURCE is defined | Tobias Brunner | 2014-02-19 | 1 | -0/+1 | |
| | | | | Fixes #516. | |||||
* | coverage: Apparently not all shells can expand {src,scripts} | Tobias Brunner | 2014-02-19 | 1 | -2/+2 | |
| | | | | One example is ash. | |||||
* | pki: Fix minor resource leak on failure to read the private key in --req5.1.2rc2 | Tobias Brunner | 2014-02-18 | 1 | -1/+2 | |
| | ||||||
* | stroke: Use proper modifiers to print size_t arguments | Tobias Brunner | 2014-02-18 | 1 | -1/+1 | |
| |