aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/host.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved host_t and host_resolver_t to a new networking subfolderTobias Brunner2012-10-241-578/+0
|
* 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
|
* Avoid memset in is_anyaddr()Tobias Brunner2012-09-211-6/+2
|
* Don't print hosts as %any if %+H is usedTobias Brunner2012-08-131-1/+1
| | | | | | 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.
* Pass opaque data to printf hooks and print_in_hook()Martin Willi2012-07-131-3/+3
|
* Migrated host to INIT/METHOD macrosAndreas Steffen2011-10-021-53/+41
|
* Fixed host_create_from_subnet when no prefix is given.Tobias Brunner2011-07-291-1/+1
|
* Fixed common misspellings.Tobias Brunner2011-07-201-1/+1
| | | | Mostly found by 'codespell'.
* Fixed potential memory leak in host_create_any.Tobias Brunner2011-04-141-0/+1
|
* Fail silently when trying to convert IPv6 address to v4 family hostMartin Willi2011-01-051-0/+4
|
* Added a CIDR notation based host constructorMartin Willi2011-01-051-0/+35
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-1/+1
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-22/+22
|
* Replacing gethostbyname, gethostbyname2 and their _r variants with ↵Tobias Brunner2009-08-141-86/+53
| | | | getaddrinfo to increase portability.
* gethostbyname_r is not supported on Mac OS X (but gethostbyname uses ↵Tobias Brunner2009-05-061-17/+32
| | | | thread-local buffers)
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* respect port in create_dns/create_from_string when passing %anyMartin Willi2009-03-191-4/+16
|
* print IPv6 %any hosts as %any6Martin Willi2009-03-191-1/+2
|
* fallback to family specific %any(6) if kernel lookup failsMartin Willi2009-03-161-0/+4
|
* printf hooks refactored to increase portability (i.e. support for platforms ↵Tobias Brunner2009-03-121-32/+8
| | | | without glibc-compatible customizable printf - the Vstr string library is currently required on such platforms).
* support of dynamic/128 and %any6Andreas Steffen2009-02-051-0/+4
|
* ported some hard-to-merge cherries back to trunk :-/Martin Willi2008-11-121-19/+37
| | | | | shame, svn, shame: this was ways to complicated we should consider a switch to git...
* fixed leak in host_create_from_string("%any")Martin Willi2008-11-101-3/+4
|
* use of host_create_any() for %any addressAndreas Steffen2008-11-071-4/+8
|
* support of %any address stringAndreas Steffen2008-11-051-47/+35
|
* handle 0.0.0.0 string and af == AF_INET6Andreas Steffen2008-11-051-1/+1
|
* fixed resolving numerical IPv6 addresses in host_create_from_dns()Martin Willi2008-06-111-0/+5
|
* fixed resolving numerical addresses in host_create_from_dns()Martin Willi2008-06-111-1/+1
|
* DNS resolving of ike_cfg hosts dynamically on demandMartin Willi2008-06-061-0/+53
|
* fixed printing of %#H hostsMartin Willi2008-05-141-2/+4
|
* support for left bounded padding in %H and %D Martin Willi2008-05-091-0/+4
|
* supporting width modifier in identification_t printf hook (e.g. %30D)Martin Willi2008-05-091-6/+7
| | | | cleanups in host_t %H printf hook
* printf "width" support for hosts (e.g. %15H)Martin Willi2008-05-051-33/+34
|
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-11/+21
|
* restructured file layoutMartin Willi2007-04-101-1/+1
| | | | | | | | | new configuration structure: peer_cfg: configuration related to a peer (authenitcation, ...= ike_cfg: config to use for IKE setup (proposals) child_Cfg: config for CHILD_SA (proposals, traffic selectors) a peer_cfg has one ike_cfg and multiple child_cfg's stroke now uses fixed count of threads
* merged tasking branch into trunkMartin Willi2007-02-281-2/+31
|
* renamed all static clone() functions to avoid naming conflicts with uclibcMartin Willi2007-02-011-2/+2
|
* better split up of library files "types.h" & "definitions.h"Martin Willi2006-10-311-14/+2
| | | | | | | | | centralized all printf specifier character definitions reuse of arginfo handlers more cleanups fixed more AMD64 issues added DEBUG_LEVEL compile flag to exclude DBGn() statements
* (no commit message)Martin Willi2006-09-271-101/+58
|
* removed unneeded constructorMartin Willi2006-08-311-15/+2
|
* initial support for IPv6 (more testing needed)Martin Willi2006-08-301-76/+236
| | | | | | | | | socket works (without v6 filter) traffic selector handle IPv4/v4 cleanly improvements in traffic selector code kernel interface accepts v6 traffic selectors and hosts host_t class has full IPv6 support
* cleanups in kernel interface codeMartin Willi2006-07-181-30/+14
| | | | | | added proper traffic selector to string conversion some cleanups here & there
* updated copyright informationMartin Willi2006-07-071-1/+2
|
* first merge of NATT codeMartin Willi2006-06-221-1/+58
|
* - applied andreas's patchMartin Willi2006-05-181-13/+11
| | | | | | | - logger output improvements - testin gupdates - and a lot more
* (no commit message)Martin Willi2006-05-101-0/+365