Willem Toorop
f2c531265b
libidns2 doesn't detect locale that well...
2018-02-13 16:58:12 +01:00
Willem Toorop
155b035cd8
Forgot to surround surround yaml include with defines
2018-01-17 17:07:36 +01:00
Willem Toorop
9e34588f19
logic error
2018-01-08 16:04:40 +01:00
Willem Toorop
546b75a9b1
libidn2 support. Thanks Paul Wouters
2018-01-08 12:54:48 +01:00
Willem Toorop
ffc72ff253
Rearrange includes for finding inet_ntop on Windows
...
+ make sure stubby is linked with initial LDFLAGS (i.e. static) as well
2017-10-03 17:09:33 +02:00
Willem Toorop
bf2e08e2df
Move yaml config handling to Stubby
2017-09-27 12:45:13 +02:00
Willem Toorop
a3bfee7d0a
Issues from unit tests
2017-09-22 11:12:27 +02:00
Willem Toorop
1b47ce4d10
Slightly different function prototypes
2017-09-21 12:38:49 +02:00
Jim Hague
c74e8353a8
Move to clang-friendly way of marking unused function parameters as used.
2017-09-13 12:50:18 +01:00
Jim Hague
6c95f4177d
Add YAML configuration option.
...
Add new extra functions getdns_yaml2(dict|list|bindata|value)(). These are like their getdns_str2() counterparts, but take YAML input rather than JSON.
YAML introduces a new dependency, on libyaml. YAML can be disabled at configuration time, in which case the dependency is removed.
Modify getdns_query such that if a configuration file name includes ".yaml" it will be processed as a YAML configuration, not a JSON configuration.
Internally, getdns_yaml2*() work by passing the YAML string through a simple translation to JSON. At present, this translation assumes that configuration is the only use case, and so will error if the outer layer of the YAML input is not a map. This in effect means that at present all getdns_yaml2*() functions apart from getdns_yaml2dict() will give an error on the YAML translation to JSON.
2017-09-12 16:47:57 +01:00
Willem Toorop
ed08025c38
A better approach for the Windows strdup issue
2017-05-02 17:22:06 +02:00
Hoda Rohani
6f3db561f3
Bugfix in converting IPs in str2dict
...
+ tpkg test for server capabilities
2017-04-19 12:07:55 +02:00
Willem Toorop
09baade016
Print pinsets Bas64 too
...
+ bugfix in reading base64
+ base64 pinsets in stubby.conf
2017-02-28 07:28:18 -08:00
Willem Toorop
6a9e2f4a56
Base64 primitive in json input
2017-02-27 16:22:52 -08: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
Willem Toorop
9c9c52aacc
Merge branch 'develop' into release/1.1.0-alpha3
2017-01-13 22:08:59 +01:00
Willem Toorop
155ceede4c
Unuser variables with --without-libidn
2017-01-13 20:49:26 +01: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
8f75e4ed8d
Few more things to work with CFLAGS=-Wextra
2016-12-08 15:17:27 +01: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
bc9ebd5ae2
RFC3986 IPv6 address/port parsing for str2dict
...
Resolves issue #215 , but does not deal with RFC3986 formatted IPv6 addresses in config files yet.
2016-10-31 13:47:22 +01:00
Willem Toorop
bc70b29416
Stubby release
2016-10-19 07:30:31 -05:00
Willem Toorop
ebba1d4cce
Merge branch 'release/v1.0.0b2' into release/v1.1.0a1
2016-07-14 14:45:16 +02:00
Willem Toorop
7cbbad67aa
Merge branch 'release/v1.0.0b2' into release/v1.1.0a1
2016-07-11 16:06:52 +02:00
Willem Toorop
b98d91f745
Daemon edns0 handling bugfix
2016-07-11 15:43:42 +02:00
Willem Toorop
7e614bc534
More conventional server DNSSEC behaviour
...
+ documentation of behaviour
2016-07-11 15:13:40 +02:00
Willem Toorop
e0eb39a295
Move str2getdns type functions in the library
2016-07-04 16:57:27 +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
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
d841582d67
Setting header bits through extensions working
2016-04-26 15:54:58 +02:00
Willem Toorop
25cc88e1a2
First pass at sending packets
2016-04-25 17:21:04 +02:00
Willem Toorop
90beaaff1d
Use non-copying list_append_this_dict
2016-03-21 14:56:09 +01:00
Willem Toorop
4551f0850b
Use non-copying dict_set_list
2016-03-21 12:50:43 +01:00
Willem Toorop
6f157854ce
Use non-copying dict_set_dict
2016-03-21 11:55:21 +01:00
Willem Toorop
02d14351fc
Convert pkts wireformat <-> getdns_dict <-> string
2016-03-14 10:02:01 +01:00
Willem Toorop
3e2464af6d
Changes that came out of portability tests
2015-12-24 15:28:12 +01:00
Willem Toorop
caba5f19d5
Merge branch 'develop' into features/windows-support
2015-12-24 11:01:26 +01:00
Willem Toorop
29b033c14c
off-by-one bugfixes
2015-12-23 17:38:36 +01:00
Willem Toorop
fbae577a54
Setting of root servers
...
test with
getdns_query -f yeti.key -R yeti.hints nlnetlabs.nl A +dnssec_return_status
where yeti.key comes from:
https://raw.githubusercontent.com/BII-Lab/Yeti-Project/master/domain/named.cache
and yeti.hints from:
https://raw.githubusercontent.com/BII-Lab/Yeti-Project/master/domain/KSK.pub
2015-12-23 17:15:45 +01:00
Willem Toorop
f9c2f96996
Fixes for miscelanous little zone parse errors
...
Hopefully the tpkg test is more deterministic now too...
2015-12-23 12:06:09 +01:00
Willem Toorop
e4fa06a57b
getdns_fp2rr_list conversion function
...
+ private conversion functions that respect custom memory handlers
+ converage of more different example functions in 260-conversion-functions test package
2015-12-22 18:37:24 +01:00
Willem Toorop
0cb513e9b7
Doc of (|_buf|_scan) style conversion funcs
...
+ (|_buf|_scan) versions of most of the conversion directions.
+ mk-const-info handles new return_t's defines
2015-12-22 16:04:43 +01:00
Willem Toorop
47dc07e940
First go at conversion to and from rr_dicts
2015-12-09 12:04:00 +01:00
unknown
2d58ed465c
Changes for Windows, Fix configure.ac to take in a winsock option to configure and generafigure, add ifdef's to stub out windows code for other platforms.
2015-11-22 22:38:13 -05:00
Willem Toorop
de59b700ce
Fix libidn really absent + NetBSD fixes
2015-10-29 19:13:39 +01:00