Tobias Brunner
f3bb1bd039
Fixed common misspellings.
...
Mostly found by 'codespell'.
2011-07-20 16:14:10 +02:00
Tobias Brunner
3c3c832a10
Fixed potential memory leak in host_create_any.
2011-04-14 18:11:45 +02:00
Martin Willi
5eae41c6d8
Fail silently when trying to convert IPv6 address to v4 family host
2011-01-05 16:46:04 +01:00
Martin Willi
65697c2734
Added a CIDR notation based host constructor
2011-01-05 16:45:40 +01:00
Tobias Brunner
8b0e09103b
Adding DBG_LIB to all calls of libstrongswan's version of DBG*.
2010-04-06 12:47:40 +02:00
Martin Willi
7daf5226b7
removed trailing spaces ([[:space:]]+$)
2009-09-04 13:46:09 +02:00
Tobias Brunner
f1777dff59
Replacing gethostbyname, gethostbyname2 and their _r variants with getaddrinfo to increase portability.
2009-08-14 16:14:32 +02:00
Tobias Brunner
f52e9c1aa8
gethostbyname_r is not supported on Mac OS X (but gethostbyname uses thread-local buffers)
2009-05-06 09:11:03 -04:00
Tobias Brunner
8c5d72cd0b
removing svn keyword $Id$ from all files
2009-04-30 13:19:35 +00:00
Martin Willi
c3340cf8da
respect port in create_dns/create_from_string when passing %any
2009-03-19 09:16:03 +00:00
Martin Willi
ce67ab162d
print IPv6 %any hosts as %any6
2009-03-19 09:04:20 +00:00
Martin Willi
9717826f10
fallback to family specific %any(6) if kernel lookup fails
2009-03-16 14:23:36 +00:00
Tobias Brunner
d25ce3701e
printf hooks refactored to increase portability (i.e. support for platforms without glibc-compatible customizable printf - the Vstr string library is currently required on such platforms).
2009-03-12 18:07:32 +00:00
Andreas Steffen
c59825fbfc
support of dynamic/128 and %any6
2009-02-05 22:13:48 +00:00
Martin Willi
b8cbb6451c
ported some hard-to-merge cherries back to trunk :-/
...
shame, svn, shame: this was ways to complicated
we should consider a switch to git...
2008-11-12 15:09:24 +00:00
Martin Willi
f821bfb2b3
fixed leak in host_create_from_string("%any")
2008-11-10 16:42:05 +00:00
Andreas Steffen
e2764b3937
use of host_create_any() for %any address
2008-11-07 05:15:19 +00:00
Andreas Steffen
61670ba284
support of %any address string
2008-11-05 04:53:45 +00:00
Andreas Steffen
7c4fd176db
handle 0.0.0.0 string and af == AF_INET6
2008-11-05 00:41:46 +00:00
Martin Willi
e484f7f3dd
fixed resolving numerical IPv6 addresses in host_create_from_dns()
2008-06-11 07:44:23 +00:00
Martin Willi
d35effa89b
fixed resolving numerical addresses in host_create_from_dns()
2008-06-11 07:31:24 +00:00
Martin Willi
5a22a02156
DNS resolving of ike_cfg hosts dynamically on demand
2008-06-06 15:05:54 +00:00
Martin Willi
c0d1ebde71
fixed printing of %#H hosts
2008-05-14 06:34:54 +00:00
Martin Willi
5dc317192a
support for left bounded padding in %H and %D
2008-05-09 12:25:39 +00:00
Martin Willi
9f9903a3b3
supporting width modifier in identification_t printf hook (e.g. %30D)
...
cleanups in host_t %H printf hook
2008-05-09 11:34:58 +00:00
Martin Willi
cc0cb93553
printf "width" support for hosts (e.g. %15H)
2008-05-05 08:31:43 +00:00
Martin Willi
552cc11b1f
merged the modularization branch (credentials) back to trunk
2008-03-13 14:14:44 +00:00
Martin Willi
e0fe765152
restructured file layout
...
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
2007-04-10 06:01:03 +00:00
Martin Willi
c60c7694d2
merged tasking branch into trunk
2007-02-28 14:04:36 +00:00
Martin Willi
d3032a9a82
renamed all static clone() functions to avoid naming conflicts with uclibc
2007-02-01 15:24:10 +00:00
Martin Willi
db7ef62494
better split up of library files "types.h" & "definitions.h"
...
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
2006-10-31 12:27:59 +00:00
Martin Willi
151168f6ea
2006-09-27 14:15:49 +00:00
Martin Willi
1f7fd2ced8
removed unneeded constructor
2006-08-31 06:16:52 +00:00
Martin Willi
48d9883a3e
initial support for IPv6 (more testing needed)
...
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
2006-08-30 17:12:56 +00:00
Martin Willi
92ee45a0ee
cleanups in kernel interface code
...
added proper traffic selector to string conversion
some cleanups here & there
2006-07-18 12:53:54 +00:00
Martin Willi
c71d53ba4e
updated copyright information
2006-07-07 08:49:06 +00:00
Martin Willi
1396815afb
first merge of NATT code
2006-06-22 06:36:28 +00:00
Martin Willi
b5e1560659
- applied andreas's patch
...
- logger output improvements
- testin gupdates
- and a lot more
2006-05-18 06:02:28 +00:00
Martin Willi
95806de938
2006-05-10 07:58:29 +00:00