aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils
Commit message (Collapse)AuthorAgeFilesLines
* Add a global return_success() method implementationMartin Willi2013-02-142-0/+13
|
* Merge branch 'pt-tls'Martin Willi2013-02-141-0/+5
|\
| * Add a chunk_from_str() initializer that does not include 0-terminatorMartin Willi2013-01-151-0/+5
| |
* | time is a time_t pointerAndreas Steffen2013-02-041-1/+1
|/
* Replace optionsfrom LGPLv2 header by a GPLv2Martin Willi2012-11-301-7/+7
|
* Moved utils.[ch] to utils folderTobias Brunner2012-10-245-3/+1272
|
* Moved settings_t to utils folderTobias Brunner2012-10-242-0/+1540
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-245-3/+269
|
* Moved enum_name_t to utils folderTobias Brunner2012-10-242-0/+217
|
* Moved chunk_t to utils folderTobias Brunner2012-10-243-1/+1009
|
* Moved printf hooks to utils folderTobias Brunner2012-10-242-0/+758
|
* Moved integrity_checker_t to utils folderTobias Brunner2012-10-242-0/+431
|
* Moved data structures to new collections subfolderTobias Brunner2012-10-2411-2464/+3
|
* Moved packet_t and tun_device_t to networking folderTobias Brunner2012-10-244-857/+0
|
* Moved host_t and host_resolver_t to a new networking subfolderTobias Brunner2012-10-244-800/+2
|
* Resolve hosts by DNS name in separate threads so we can cancel themTobias Brunner2012-10-181-44/+6
| | | | | | | | | | getaddrinfo(3) may block a long time so proper termination of the daemon may block if DNS servers are not reachable. getaddrinfo(3) is an optional cancellation point in posix threads so it might still block a shutdown but at least on Android (with the signal based pthread_cancel implementation) it works, on Linux starter will kill charon anyway after a while.
* Make static analyzers happy when parsing hosts from sockaddr_tTobias Brunner2012-09-281-2/+4
|
* Make sure first argument is an int when using %.*s to print e.g. chunksTobias Brunner2012-09-281-5/+5
|
* Avoid calculating the hash if hashtable is emptyTobias Brunner2012-09-211-0/+5
|
* Avoid memset in is_anyaddr()Tobias Brunner2012-09-211-6/+2
|
* Add a linked list constructor taking items from a vararg listMartin Willi2012-09-182-2/+33
|
* Make arguments for enumerator_create_token|directory constTobias Brunner2012-09-132-7/+10
|
* Add a linked list constructor initializing from an enumeratorMartin Willi2012-09-112-0/+27
|
* Ported tun_device de-/initialization to FreeBSDTobias Brunner2012-08-291-5/+47
|
* Ported tun_device initialization to OS X utunMartin Willi2012-08-281-19/+85
|
* Merge branch 'android-app'Tobias Brunner2012-08-138-7/+983
|\ | | | | | | | | | | | | | | 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.
| * Don't print hosts as %any if %+H is usedTobias Brunner2012-08-132-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.
| * Added utility class to create TUN devicesTobias Brunner2012-08-082-0/+465
| | | | | | | | Currently works only on Linux.
| * Added a simple blocking queue around linked_list_tTobias Brunner2012-08-082-0/+226
| |
| * Extended constructor for packet_t added (takes src, dst and data)Tobias Brunner2012-08-082-3/+24
| |
| * Moved packet_t to libstrongswanTobias Brunner2012-08-082-0/+263
| |
* | Add getspnam_r() to leak detective whitelistMartin Willi2012-08-101-0/+1
|/
* Proper fallback if capability dropping is not availableTobias Brunner2012-07-271-1/+1
|
* Compilation error fixed if dladdr is not availableTobias Brunner2012-07-141-0/+6
|
* Silence cast warning on 32-bit platformsMartin Willi2012-07-131-1/+1
|
* Don't set BFD_DECOMPRESS when building against older binutilsMartin Willi2012-07-131-0/+2
|
* Pass opaque data to printf hooks and print_in_hook()Martin Willi2012-07-134-11/+11
|
* Increase leak detective backtrace depth by a frameMartin Willi2012-07-131-4/+4
|
* Don't access tail magic when reallocating invalid memory, as it would crashMartin Willi2012-07-131-5/+7
|
* With --enable-bfd-backtraces, use binutils libbfd to resolve backtracesMartin Willi2012-07-132-28/+282
| | | | | | | | The invocation of addr2line to resolve backtrace source locations is slow and cumbersome. When using libbfd directly, we can eliminate the overhead of the process invocation. Even better, we can cache library symbol names, bringing wicked fast lookups. As a neat bonus, we can resolve static function names.
* Add an external method to disable leak detective temporarlyMartin Willi2012-07-132-0/+38
|
* Add safe_strerror() to leak detective whitelistMartin Willi2012-07-111-0/+1
| | | | | | While the thread specific strerror buffer gets cleaned up for worker threads during their termination, the main thread itself, and so its strerror buffer, is still alive during leak reports.
* getpwnam_r and getgrnam_r are not supported by the Android NDKTobias Brunner2012-07-091-24/+69
|
* Refactored heavily #ifdefd capability code to its own libstrongswan classMartin Willi2012-07-042-0/+353
|
* Properly handle empty RDN values in DN strings.Tobias Brunner2012-06-071-3/+11
|
* get_match() method added to hashtable_t.Tobias Brunner2012-05-242-5/+34
|
* Added a convenience function to dump backtraces for gdb-less debuggingMartin Willi2012-05-212-0/+26
|
* Add support for dnQualifier in DNs.Tobias Brunner2012-03-292-1/+5
|
* Added ctime function to white listSansar Choinyambuu2011-11-281-0/+1
|
* Migrated host to INIT/METHOD macrosAndreas Steffen2011-10-021-53/+41
|