Willem Toorop
971c43c659
Fix #432 answer_ipv4_address and answer_ipv6_address
...
in reply and reponse dicts.
I realise we also do not have intermediate_aliases yet...
2020-02-13 15:33:13 +01:00
Havard Eidnes
c68f5a7a8d
Fix various build warnings uncovered on NetBSD w/pkgsrc.
...
The isxxxx() and toxxxx() functions have a limited well-defined
input value range, namely that of "unsigned char" plus EOF. Cast
args accordingly.
Bring strncasecmp() into scope by including <strings.h>.
2019-01-28 11:24:10 +01:00
Jim Hague
3fe0c94357
Merge branch 'develop' into feature/abstract-tls
2019-01-14 19:09:20 +00:00
Willem Toorop
13e1e36ba3
RESPSTATUS_NO_NAME when no answers found
...
(so for NODATA answers too)
2018-12-21 11:28:00 +01:00
Willem Toorop
ff1cdce6f8
s/explicitely/explicitly/g
...
Thanks Andreas Schulze
2018-12-20 15:06:01 +01:00
Willem Toorop
bb99321e57
More constness for issue #410
2018-12-07 16:34:03 +01:00
Willem Toorop
c80aa72725
ED25519 & ED448 support
2018-12-03 15:35:03 +01:00
Willem Toorop
c1f51815ba
RFE #408 : "dnssec" extension requiring DNSSEC
...
When this extension is set, GETDNS_DNSSEC_INDETERMINATE status will no
longer be returned.
2018-11-30 14:20:12 +01:00
Jim Hague
5e390a4b23
Revise all TLS interfaces to pass in GetDNS memory functions where necessary.
...
This means we can remove OpenSSL_free() calls from request-internal.c and util-internal.c.
2018-11-27 14:41:46 +00:00
Jim Hague
0291e205fd
Add TLS 1.3 test.
...
Add a new item tls_version to call_reporting, containing the OpenSSL version string for the name of the protocol used for the connection.
The test does a normal lookup, but first sets the cipher list to TLS1.3 only ciphers. This will cause a Bad Context error at search time, so we can tell if the underlying OpenSSL library lacks TLS 1.3. The check the call reporting for a TLS version of "TLSv1.3".
2018-01-19 15:56:40 +00:00
Jim Hague
3666d994a7
Add 'keepalive' test and supporting changes to getdns library.
...
Checking for server support for keepalive means we need to know if the server did send a keepalive option to the client. This information is not currently exposed in getdns, so add a flag 'server_keepalive_received' to call_reporting. This is 0 if not received, 1 if received. If received, the actual timeout is in 'idle timeout in ms', though watch out for the overflow alternative.
2018-01-17 15:17:20 +00:00
Willem Toorop
cc9451d364
More rr-dict coverage by removing unused funcs
2017-05-02 12:55:51 +02:00
Willem Toorop
e08d3592a0
Schedule timeout when collecting for dnssec chain
2017-04-06 11:20:08 +02:00
Willem Toorop
3eb6ebf5e4
Fix memory leak
2017-03-25 21:33:30 +01:00
Willem Toorop
a2efd8f6c1
Report peer certificate in call_reporting
2017-03-25 19:36:20 +01:00
Willem Toorop
15b451d71b
Recommit parts of "Minor fixes in MDNS code to make sure it does work after the recent loop tightening."
2017-03-23 13:09:34 +01:00
Willem Toorop
b80ccba02c
Revert "Minor fixes in MDNS code to make sure it does work after the recent loop tightening."
...
This reverts commit c653e8502c
.
2017-03-23 13:04:11 +01:00
Christian Huitema
c653e8502c
Minor fixes in MDNS code to make sure it does work after the recent loop tightening.
...
Suppressing the warning about mapping the 64 bit timeout value to a 32 bit integer,
based on the comments that the "maximum timeout used in practice is 6553500ms." If that
really is the case, we do not need to support 64 bit integers in the dict structure.
2017-03-22 15:50:26 -07:00
Willem Toorop
445470d831
Rename a gldns function
2017-02-16 10:32:17 +01:00
Willem Toorop
2b9987014d
Special _vfixed gbuffer property
...
For snprintf style buffers which position can go beyond capacity
2017-02-08 13:51:25 +01:00
Sara Dickinson
cfc7d18c85
Ug. Fix stupid mistake with string array.
2016-12-11 16:57:52 +00:00
Sara Dickinson
7b58dc25a6
- Fix bug where a self signed cert + only a pinset would not authenticate
...
- Add OARC servers with pinset only to stubby.conf
- Move Authentication strings to types_internal for use in call_debugging
- Add connection counts to call_debugging
-
2016-12-09 17:03:41 +00:00
Willem Toorop
37cced78fc
Merge branch 'develop' into release/1.1.0-alpha3
2016-12-09 13:27:55 +01:00
Willem Toorop
5cc67ff554
Merge branch 'develop' into merge-develops
2016-12-09 12:05:42 +01:00
Christian Huitema
26eaf255c5
Fixing the bulk of the compilation warnings in the GetDNS code
2016-12-08 12:37:35 -08:00
Willem Toorop
f31b2fa233
Merge branch 'develop' into release/1.1.0-alpha3
2016-12-08 15:06:25 +01:00
Willem Toorop
473da8966b
Library fixed for CFLAGS=-Wextra
2016-12-08 14:05:58 +01:00
Willem Toorop
a7e5f65f65
Merge branch 'develop' into release/v1.1.0a1
2016-07-21 11:35:03 +02:00
Jerry Lundström
8c54142790
Use type and not struct
2016-07-17 11:44:34 +02:00
Sara Dickinson
8fa84c836a
Initial re-work of stateful transport selection and timeout/error handling. Also update transport test to avoid timeout.
2016-07-04 17:02:14 +01:00
Willem Toorop
734a6625c4
s/inline static/static inline/g
2016-06-23 15:03:46 +02: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
Robert Groenenberg
3634fff4dd
Return call_reporting info in case of timeout, so that we can see
...
which server did not respond.
2016-06-20 18:39:15 +02:00
Sara Dickinson
497d87a028
Correct the name to resolution_type
2016-06-17 11:25:21 +01:00
Sara Dickinson
3c7758fdbc
Minor testing updates:
...
- add option to use IPv6 for manual transport tests
- add recursion mode to call_reporting
2016-06-16 10:47:43 +01:00
Willem Toorop
e228f526a3
when nothing else, result[canonical_name] is qname
2016-06-09 16:12:06 +02:00
Willem Toorop
49840c9a85
Some more uniform _getdns_rrset usage
2016-06-09 15:03:51 +02:00
Willem Toorop
6e7f66b216
Sorting of SRVs according to RFC2782
...
Could be optimized... but alas
2016-06-08 12:44:23 +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
Sara Dickinson
98d636b99d
Updates to unit tests and tpkg
2016-05-16 17:56:48 +01:00
Willem Toorop
240bb76bd5
Merge branch 'develop' into devel/clang-static-checking
2016-04-29 16:33:06 +02:00
Willem Toorop
a8dbb3dd51
Static checking fixes
2016-04-29 12:00:17 +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
e1126c9cf8
Canonicalize dnssec chain
...
When validated
2016-04-18 15:36:39 +02:00
Willem Toorop
09476f1ca9
getdns_context_set_follow_redirects()
2016-03-23 11:32:38 +01:00
Willem Toorop
90beaaff1d
Use non-copying list_append_this_dict
2016-03-21 14:56:09 +01:00
Willem Toorop
eea6ad7beb
append_bindata was also used marginally
2016-03-21 13:13:48 +01:00
Willem Toorop
4551f0850b
Use non-copying dict_set_list
2016-03-21 12:50:43 +01:00