Willem Toorop
0891e16147
Pend netreqs when out of filedescriptors
2017-03-20 15:20:17 +01:00
Willem Toorop
5ea181172a
Reschedule pending netreqs
2017-03-15 15:16:42 +01:00
Willem Toorop
14c9f3aafc
Track netreqs "in flight"
2017-03-14 17:17:56 +01:00
Willem Toorop
639239f45c
Schedule dnsreqs with absolute timeout/expiry time
2017-03-13 14:20:47 +01:00
Willem Toorop
b3a06f1944
A bit more consistency in user_callback usage
2017-02-19 09:47:41 +01:00
Willem Toorop
74b1f77357
Cancel get validation chain getdns_dns_reqs
...
And miscellaneous little other scheduling fixes and optimizations
2017-02-18 13:16:25 +01:00
Christian Huitema
99fb7100ea
Placing all MDNS code under ifdef HAVE MDNS SUPPORT to minimize risk in main branch.
2016-12-22 20:30:14 -08:00
Christian Huitema
f1b8b25afa
Implementation of basic MDNS support
2016-12-22 15:51:47 -08:00
Willem Toorop
3428412629
Some more minor merge fixes
2016-12-09 12:13:36 +01:00
Christian Huitema
26eaf255c5
Fixing the bulk of the compilation warnings in the GetDNS code
2016-12-08 12:37:35 -08:00
Sara Dickinson
ec09d6b8a4
Make just the src/getdns files part of doxygen by default.
...
Add documentation to cover getdns_extra.h. Re-org of functions to align better with getdns.h Also some work on the README.
2016-07-01 17:53:45 +01:00
wtoorop
a435932b04
Features/call reporting timeout ( #1 )
...
* Timed out and canceled netreqs are finished too
* Minor code duplication elemination
* Blah typo
* Embarrassing logic error
2016-06-23 14:02:55 +02:00
Willem Toorop
49840c9a85
Some more uniform _getdns_rrset usage
2016-06-09 15:03:51 +02:00
Willem Toorop
490aac1b48
Merge branch 'develop' into features/getdns_service
2016-06-08 10:21:29 +02:00
Willem Toorop
cf675a9284
Add srv_addresses when query was for SRV
...
Moved _getdns_rrset iterators to rr-iter.[ch] in the process
2016-06-07 16:52:10 +02:00
Willem Toorop
40477d3f00
CNAME loops protection
2016-05-30 17:02:28 +02:00
Willem Toorop
066c0b3837
Merge branch 'features/canonical_dnssec_chain' into upstream/develop
2016-04-29 16:24:58 +02:00
Willem Toorop
d841582d67
Setting header bits through extensions working
2016-04-26 15:54:58 +02:00
Willem Toorop
af8e27f059
Merge branch 'devel/scheduling_bug_detection' into features/canonical_dnssec_chain
2016-04-22 14:42:25 +02:00
Willem Toorop
15271d0438
Account for callbacks fired during scheduling
2016-04-21 15:16:38 +02:00
Willem Toorop
4849329818
dnssec_return_full_validation_chain extension
...
That also returns all records that had to be proofed secure in canonical form in the "validation_chain".
2016-04-18 22:06:12 +02:00
Willem Toorop
da577a463d
set upstream loop to the sync loop for sync reqs
...
And reset to the async loop when sync request was finished, rescheduling the upstream->event.
Note that finished_event is scheduled against the async loop always.
2016-04-11 14:49:44 +02:00
Willem Toorop
e7c77290cc
GETDNS_APPEND_NAME_TO_SINGLE_LABEL_FIRST
2016-03-23 23:27:27 +01:00
Melinda Shore
8c335522e1
Merge pull request #148 from wtoorop/features/dnssec_return_all_statuses
...
A dnssec_return_all_statuses extension
2016-03-14 20:09:08 -08:00
Willem Toorop
4fca5fe08c
A dnssec_return_all_statuses extension
...
that returns all all dnssec replies regardless their status.
When used on its own or in combination with just dnssec_return_status,
it will return BOGUS replies, but those replies will have "dnssec_status": GETDNS_DNSSEC_BOGUS
The response dict "status" will be GETDNS_RESPSTATUS_GOOD then.
When used on in combination with dnssec_return_only_secure,
it will return BOGUS and INSECURE replies (reflected in their "dnssec_status")
The response dict "status" can be any of the status that the dnssec_return_only_secure extenstion returns,
so either GETDNS_RESPSTATUS_GOOD when at least one reply was secure,
GETDNS_RESPSTATUS_NO_SECURE_ANSWERS when all replies were insecure,
or GETDNS_RESPSTATUS_ALL_BOGUS_ANSWERS when all replies were bogus.
2016-03-14 12:23:12 +01:00
Willem Toorop
4230961e9f
Basic usage of unbound pluggable event loop
2016-03-01 16:29:37 +01:00
Willem Toorop
24b58074bf
Prevent chain checks to be performed too early
2016-01-20 13:09:18 +01:00
Willem Toorop
ae2b16665b
Setup getdns eventloop in libunbound
...
When unbound supports this
2016-01-19 16:52:11 +01:00
Willem Toorop
16a82eede2
Deal with roadblock avoid. + stub-only at run time
...
And make the single usage function validate_extension static
2016-01-05 12:38:35 +01:00
Willem Toorop
875ef3f9d4
Successive suffix append retries
2015-12-29 23:06:02 +01:00
Willem Toorop
89b6c04d4f
First query append
2015-12-29 17:34:14 +01:00
Willem Toorop
9d3905459e
Miscellaneous fixes to compile on windows
...
Also without warnings.
2015-12-24 14:41:50 +01:00
Willem Toorop
ae2cc39a36
Full roadblock avoidance functionality
2015-11-01 12:28:43 +09:00
Willem Toorop
58885e04d7
dnssec_roadblock_avoidance extension
2015-10-31 21:04:08 +09:00
Willem Toorop
fbc3b2d6a8
Use the NOT_IMPLEMENTED return code!
2015-10-22 12:13:40 +02:00
Willem Toorop
0e66d28be8
Set processing flag around user callbacks
...
To fix destroying contexts from user callbacks in stub mode.
The complete test suite runs in stub mode now too.
2015-09-03 15:07:29 +02:00
Willem Toorop
015e387ea5
Final internal symbols rename to _getdns prefix
2015-08-19 16:33:19 +02:00
Willem Toorop
b9e8455e27
Internal symbols always prefixed with _getdns
2015-08-19 16:30:15 +02:00
Willem Toorop
fcd595298a
Rename all priv_getdns internal symbols to _getdns
2015-08-19 16:22:38 +02:00
Willem Toorop
6350b4fad4
--without-libunbound option to configure
2015-08-19 10:47:46 +02:00
Willem Toorop
201b6af9a2
clang compiler warnings + 1 bug!
...
Bug is countring insecure answers in util-internal.c
found by clang warning reporting
2015-07-08 13:07:24 +02:00
Willem Toorop
8d5ac3afde
Store dnsreq->name in wire format
2015-06-29 23:32:49 +02:00
Willem Toorop
3631cd658a
get_val_chain for all possible scenarios
2015-06-23 00:00:20 +02:00
Willem Toorop
39639a86c4
Make dname_equal reusable
...
+ some symbol renames
2015-06-16 16:11:51 +02:00
Willem Toorop
731cc37434
Another redundant ldns reference
2015-06-12 15:45:37 +02:00
Willem Toorop
eb7920a4a6
Issue #84 getdns_address modifies extensions param
2015-04-02 13:58:27 +02:00
Willem Toorop
c9a61bd91e
Query for AAAA first with getdns_address
...
They were already sent out simultaneously and then listened for, but A went out on the wire first. Now AAAA.
2015-04-02 13:32:00 +02:00
Willem Toorop
d2345285a6
dnssec_return_validation_chain with stub resolving
2015-03-18 23:45:26 +01:00
Willem Toorop
fa782d1043
--enable-broken-native-stub-dnssec
...
Still needs a little more work for wildcards and NODATA answers...
2015-03-18 14:45:06 +01:00
Willem Toorop
ebb519919a
Get rid of ldns usage, and a malloc/free
2015-03-12 23:09:04 +01:00