aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* backtrace: add an alternative stack unwinding implementation using libunwindMartin Willi2013-05-061-5/+34
|
* leak-detective: add support for OS X by hooking default malloc zoneMartin Willi2013-05-061-5/+160
|
* leak-detective: remove unused malloc call countersMartin Willi2013-05-061-7/+0
|
* leak-detective: align allocations on both 32 and 64-bit systems to 32 bytesMartin Willi2013-05-061-0/+5
|
* leak-detective: call tzset() explicitly before enabling leak detectiveMartin Willi2013-05-061-6/+11
| | | | | tzset() is hard to whitelist on some systems, as there is no symbol involved. Call tzset() explicitly before initialization to avoid false positives.
* leak-detective: override malloc functions instead of using deprecated hooksMartin Willi2013-05-061-128/+206
| | | | | | | malloc hooks have become deprecated, and their use has always been problematic, especially in multi-threaded applications. Replace the functionality by overriding all malloc functions and query the system allocator functions using dlsym() with RTLD_NEXT.
* esc() is only used if dladdr(3) is available5.0.3dr3Tobias Brunner2013-03-081-12/+13
|
* Don't invoke addr2line if dladdr() did not yield a filenameMartin Willi2013-03-041-1/+1
|
* backtrace_t.log() takes a NULL file pointer to log to registered dbg() hookMartin Willi2013-03-042-33/+71
|
* Don't use color escapes when printing backtraces to a non-TTY fileMartin Willi2013-03-041-11/+20
|
* Add a utility function to resolve TTY color escape codes dynamicallyMartin Willi2013-03-042-0/+103
|
* make TNC Access Requestor ID available to IMVsAndreas Steffen2013-03-032-12/+18
|
* added getpwuid_r and initgroups to whitelistAndreas Steffen2013-03-031-0/+2
|
* When running with an unprivileged user, initialize supplementary groupsMartin Willi2013-03-011-1/+37
|
* 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
|