Willem Toorop
736f5ff157
No executable flags on source files
...
Thanks Paul Wouters
2015-01-20 12:16:49 +01:00
Willem Toorop
a0cb4e1774
Move stub resolving to stub.c again
...
Merged hostname.c and service.c in general so that getdns_general_ns can become static.
Removed specialized synchronous handling from return_validation_chain code.
Removed un_timed_resolve (specialized sync handling is not needed anymore)
Renamed inter-object file symbols to priv_<name> and made intra-object symbols static as much as possible.
2014-10-15 23:04:39 +02:00
Willem Toorop
8f254913f1
Sync functions use the async _loop functions too
...
So async and sync functions now have the same code path
2014-10-15 12:16:34 +02:00
Willem Toorop
768d8fbf4d
_loop version for async funcs
...
So they can be used by the sync functions with a libmini_event loop
2014-10-14 00:14:25 +02:00
Willem Toorop
21bb7d6197
Timeouts by reference are to count down to 0
...
To track how much time we've left for a request
2014-10-13 15:36:21 +02:00
Willem Toorop
1c6ce72f74
Parse /etc/resolv.conf ourselves
...
At the ame time IPv6 local-link scope_id support
2014-09-30 15:12:48 +02:00
Willem Toorop
f9046275c1
Initial send and receive a simple udp packet
2014-09-27 01:07:42 +02:00
Willem Toorop
60d1af78c5
Merge branch 'features/gldns' into features/stub-functions
...
Conflicts:
src/sync.c
2014-09-26 22:17:42 +02:00
saradickinson
d9addba883
Second pass at implementing per query namespaces!
2014-09-25 15:59:05 +00:00
saradickinson
050506341c
First pass of implementing per query namespace lookup for stub resolver. Also a getdns local namespace lookup is now used for all sync calls.
2014-09-25 14:49:18 +00:00
Willem Toorop
ceb211dfec
Merge branch 'features/gldns' into features/stub-functions
...
Conflicts:
src/sync.c
2014-09-23 10:44:48 +02:00
Willem Toorop
a9b5cbef44
Make travis pass (use funcs from ldns < 1.6.17)
2014-09-22 16:32:33 +02:00
Willem Toorop
e598f64e80
gldns _buf support + add_opt_parameters extension
2014-09-16 15:43:20 +02:00
saradickinson
f89acb6e2d
Setting up nameservers correctly for ldns as stub
2014-09-13 16:19:25 +00:00
Sara Dickinson
f59689cf68
Use ldns as stub resolover for sync queries part 1
2014-09-12 14:15:46 +00:00
ngoyal
fb59ecd054
Fix sync test failures.
2014-07-28 17:56:40 -04:00
Willem Toorop
8bd5baef6f
sync funcs should GETDNS_RETURN_GOOD on timeouts
2014-07-01 23:40:49 +02:00
Willem Toorop
fc2f091f05
timed synchronous resolves
...
Also returns an response dict with status GETDNS_RESPSTATUS_ALL_TIMEOUT on timeout
2014-07-01 23:31:40 +02:00
Willem Toorop
57b51a5dcc
prefer includes local to builddir
2014-05-19 15:50:34 +02:00
Willem Toorop
d2c890ab6a
Fill in <organization> place holder.
...
s/the name of the <organization>/the names of the copyright holders/g
2014-02-25 14:23:19 +01:00
Willem Toorop
8d77505219
s/Versign/Verisign/g in all files
2014-02-25 14:12:33 +01:00
Glen Wiley
6dd03b1cdc
fixed spelling of NLnet in licenses, fixed make clean errs in docs
2014-02-24 09:26:20 -05:00
Glen Wiley
344893f87f
fixed license and copyright notices
2014-02-20 09:12:19 -05:00
Willem Toorop
96b9f095a7
Implement getdns_root_trust_anchor
2014-02-19 16:56:00 +01:00
Willem Toorop
df32c65c0f
Synchronous dnssec_return_validation_chain support
2014-02-13 12:28:55 +01:00
Willem Toorop
340655330b
Re-enabled stub resolution
...
Also re-indented the prepare_for_resolution and ub_setup_stub functions
Sorry for that.
2014-02-12 12:37:05 +01:00
Willem Toorop
af97d7b554
GETDNS_RETURN_INVALID_PARAMETER on NULL context
2014-02-05 15:41:33 +01:00
Neel Goyal
c8b16f0590
Update hostname to return inv parameter. Return proper code in list get length methods.
2014-02-03 21:34:11 -05:00
Neel Goyal
eb43d9fb02
Merge in develop latest
2014-01-28 10:04:10 -05:00
Neel Goyal
4c0e13ac76
Attempt to address issue #46
2014-01-27 19:32:54 -05:00
Neel Goyal
2bcfedcf78
Initial pass at using unbound stock
2014-01-21 15:31:22 -05:00
Neel Goyal
d4db2a2e9a
Fix a segfault when passing a null response to the sync methods
2014-01-10 16:32:55 -05:00
Willem Toorop
51f0299137
Fix example-reverse (and reverse_address)
...
From the example it is clear that network format addresses are expected for getdns_hostname*
2013-12-11 23:41:21 +01:00
Neel Goyal
db23854041
Fix NPE (Issue #42 )
2013-12-09 12:55:33 -05:00
Willem Toorop
3829dca0cc
Get rid of typedefs for structs
2013-12-06 15:54:06 +01:00
Willem Toorop
0da31aa21b
Remove private functions from getdns.h
...
And also reorder a bit for easy comparison with the original.
2013-12-03 14:13:10 +01:00
W.C.A. Wijngaards
64c057b82d
Portable with event1.x, test succeeds on FreeBSD
2013-11-30 13:53:57 +01:00
Willem Toorop
7158291e05
Custom memory management functions in context
2013-11-11 23:10:22 +01:00
Willem Toorop
0b6d610ea5
Get rid of response_length in synchroneous funcs
2013-11-08 18:39:06 -08:00
Neel Goyal
f8380ff862
Ran indent with the indent.pro committed
2013-11-05 15:03:44 -05:00
Willem Toorop
89a7bdcae6
Fix validate_extensions
2013-11-04 23:26:59 -08:00
Glen Wiley
78cb5480d2
Merge branch 'develop' of https://github.com/verisign/getdns into develop
...
Conflicts:
src/sync.c
2013-11-04 18:45:00 -05:00
Glen Wiley
969ae95f09
added extension validation to the primary entry point to catch bogus
...
extension strings and perform simple type checking on extensions
brief start on man pages, moving MIT license in source code files to BSD
2013-11-04 18:37:54 -05:00
Neel Goyal
2db5fdbe0c
Fix some memory leaks
2013-11-04 12:51:13 -05:00
Melinda Shore
e3e2247f27
Use ldns_rdf_address_reverse
2013-10-31 12:08:23 -07:00
Melinda Shore
d520d62da9
Added address-to-hostname lookup. Note: need a more robust address reverser
2013-10-30 13:16:51 -07:00
Melinda Shore
10a2ebc88b
Added address-to-hostname lookup. Note: need a more robust address reverser
2013-10-30 13:16:20 -07:00
Willem Toorop
1336fe3b76
Get rid of pthread usage in getdns_general_sync
2013-10-29 21:25:04 +01:00
Neel Goyal
65762811bf
Adding timeout support
2013-10-18 13:55:31 -04:00
Neel Goyal
840939aac8
Fix a bug in list copy for bindata. Fix some memory errors
2013-10-17 20:34:18 -04:00