]>
git.ipfire.org Git - thirdparty/ldns.git/log
Paul Radford [Thu, 1 Aug 2024 05:04:11 +0000 (17:04 +1200)]
Make IPv6 DNSSEC tracing work, and revert to previous behaviour otherwise
If drill is executed without "-6", the previous behavior continues, with only A records being used.
Willem Toorop [Sat, 20 Jul 2024 05:06:42 +0000 (22:06 -0700)]
Thank Petr for PR #242
Willem Toorop [Sat, 20 Jul 2024 05:03:57 +0000 (07:03 +0200)]
Merge pull request #242 from InfrastructureServices/openssl-no-engine
Thanks you @pemensik
Willem Toorop [Sat, 20 Jul 2024 04:26:46 +0000 (21:26 -0700)]
Add NXNAME rrtype
Petr Menšík [Fri, 19 Jul 2024 13:45:09 +0000 (15:45 +0200)]
Remove duplicit error check in engine key loading
ldns_key_set_algorithm cannot change state of the key. Check it only
once, return specialized error code if failed.
Petr Menšík [Fri, 19 Jul 2024 11:04:40 +0000 (13:04 +0200)]
Use header presence status to avoid openssl engine
Include presence of openssl/engine.h as indication engines should not be
used. Skip engine if header is not present.
Petr Menšík [Fri, 19 Jul 2024 10:22:22 +0000 (12:22 +0200)]
Remove unused openssl engine header from nsec3-hash
Allow building examples with turned off engine.
Willem Toorop [Fri, 12 Jul 2024 14:14:57 +0000 (16:14 +0200)]
Reverted the shuffle commit
Because it broke make
Willem Toorop [Fri, 12 Jul 2024 14:08:57 +0000 (16:08 +0200)]
Remove some memory leaks
Still zome left in ldns-verify-zone, but leaving it for now
Willem Toorop [Fri, 12 Jul 2024 13:51:21 +0000 (15:51 +0200)]
Revert "Merge pull request #192 from trofi/fix-make-depends"
This reverts commit
d7767a62a01e86823c6830ced02773b9335e60c7 , reversing
changes made to
8d76771999f040fa8ad8879a841b413b4507e747 .
Willem Toorop [Fri, 12 Jul 2024 13:39:17 +0000 (15:39 +0200)]
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 13:36:49 +0000 (15:36 +0200)]
Merge pull request #186 from k0ekk0ek/develop
Remove unused CI recipes and extend GitHub workflow
Willem Toorop [Fri, 12 Jul 2024 13:35:02 +0000 (15:35 +0200)]
Merge branch 'develop' into develop
Willem Toorop [Fri, 12 Jul 2024 13:27:34 +0000 (15:27 +0200)]
Attribute Felipe for unit test fixes
Willem Toorop [Fri, 12 Jul 2024 13:23:54 +0000 (15:23 +0200)]
Attribute Sergei Trofimovich
Willem Toorop [Fri, 12 Jul 2024 13:23:39 +0000 (15:23 +0200)]
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 13:23:31 +0000 (15:23 +0200)]
Merge pull request #191 from FGasper/16-unit-tests-edns-fix-leak
16-unit-tests-edns: Fix leak & warnings
Willem Toorop [Fri, 12 Jul 2024 13:20:52 +0000 (15:20 +0200)]
Rerun of make depend
Willem Toorop [Fri, 12 Jul 2024 13:20:11 +0000 (15:20 +0200)]
Merge pull request #192 from trofi/fix-make-depends
Makefile.in: build config.h before any object
Willem Toorop [Fri, 12 Jul 2024 13:19:50 +0000 (15:19 +0200)]
Merge branch 'develop' into fix-make-depends
Willem Toorop [Fri, 12 Jul 2024 13:12:31 +0000 (15:12 +0200)]
BSDs dont work part 2
Willem Toorop [Fri, 12 Jul 2024 13:11:29 +0000 (15:11 +0200)]
Okay, BSDs just dont run...
Willem Toorop [Fri, 12 Jul 2024 13:07:53 +0000 (15:07 +0200)]
Attribute Felipe
And the BSD's don't like sudo
Willem Toorop [Fri, 12 Jul 2024 13:01:29 +0000 (15:01 +0200)]
Merge pull request #199 from FGasper/macos_ci
Enable testing in macOS CI
Willem Toorop [Fri, 12 Jul 2024 13:01:19 +0000 (15:01 +0200)]
Merge branch 'develop' into macos_ci
Willem Toorop [Fri, 12 Jul 2024 12:57:10 +0000 (14:57 +0200)]
Attribute Roland
and a small dereferencing void * fix
Willem Toorop [Fri, 12 Jul 2024 12:57:02 +0000 (14:57 +0200)]
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 12:56:41 +0000 (14:56 +0200)]
Merge pull request #203 from FGasper/expand_ci
Expand CI: Cygwin, BSDs, musl libc, 32-bit, and big-endian
Willem Toorop [Fri, 12 Jul 2024 12:50:22 +0000 (14:50 +0200)]
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 12:50:14 +0000 (14:50 +0200)]
Merge pull request #205 from rijswijk/develop
Add functions to extract RFC 8914 extended errors
Willem Toorop [Fri, 12 Jul 2024 12:45:51 +0000 (14:45 +0200)]
Attribute Jelte
Willem Toorop [Fri, 12 Jul 2024 12:44:40 +0000 (14:44 +0200)]
Merge pull request #206 from tjeb/ldnswalk-improvement
improve 'next-label' algorithm in ldns-walk
Willem Toorop [Fri, 12 Jul 2024 12:42:50 +0000 (14:42 +0200)]
Fix small mistake and attribute Pierre
Willem Toorop [Fri, 12 Jul 2024 12:38:50 +0000 (14:38 +0200)]
Merge pull request #214 from khorben/khorben/freebsd-build-fix
ldns: fix the build in FreeBSD's base system
Willem Toorop [Fri, 12 Jul 2024 12:34:41 +0000 (14:34 +0200)]
Attribute Ed
Willem Toorop [Fri, 12 Jul 2024 12:34:29 +0000 (14:34 +0200)]
Merge pull request #216 from emaste/develop
Update declaration for function with no arguments
Willem Toorop [Fri, 12 Jul 2024 12:27:07 +0000 (14:27 +0200)]
Attribute Ørjan Malde
Willem Toorop [Fri, 12 Jul 2024 12:25:00 +0000 (14:25 +0200)]
Merge pull request #224 from Redfoxymoon/develop
progs: don't underlink to libldns
Willem Toorop [Fri, 12 Jul 2024 12:21:04 +0000 (14:21 +0200)]
Attribute William and Fabrice
Willem Toorop [Fri, 12 Jul 2024 12:20:07 +0000 (14:20 +0200)]
Merge pull request #227 from ffontaine/develop
keys.c: fix build with libressl >= 3.8.1
Willem Toorop [Fri, 12 Jul 2024 12:17:38 +0000 (14:17 +0200)]
Merge pull request #231 from wsfulton/swig-4.2.0-support
const ldns_rdf * typemap fixes to support swig-4.2.0
Willem Toorop [Fri, 12 Jul 2024 12:15:40 +0000 (14:15 +0200)]
Attribute florian for Swig work
Willem Toorop [Fri, 12 Jul 2024 12:12:57 +0000 (14:12 +0200)]
Merge pull request #232 from fweimer-rh/swig-4.2
SWIG_Python_str_AsChar removal in SWIG 4.2.0
Willem Toorop [Fri, 12 Jul 2024 12:10:44 +0000 (14:10 +0200)]
Merge pull request #233 from fweimer-rh/swig-32bit
32-bit compatibility for Python SWIG bindings
Willem Toorop [Fri, 12 Jul 2024 12:09:46 +0000 (14:09 +0200)]
Attribute Enji Cooper for PR #241
Willem Toorop [Fri, 12 Jul 2024 12:09:35 +0000 (14:09 +0200)]
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Fri, 12 Jul 2024 12:09:12 +0000 (14:09 +0200)]
Merge pull request #241 from ngie-eign/coverity-fixes
Address several issues with the ultimate goal being to fix Coverity cited problems
Willem Toorop [Fri, 12 Jul 2024 12:05:16 +0000 (14:05 +0200)]
Bump version
Willem Toorop [Fri, 12 Jul 2024 12:02:23 +0000 (14:02 +0200)]
Release 1.8.4 this month
Willem Toorop [Fri, 12 Jul 2024 12:01:35 +0000 (14:01 +0200)]
Add WALLET rrtype
Willem Toorop [Fri, 12 Jul 2024 11:38:43 +0000 (13:38 +0200)]
RESINFO became RFC
Enji Cooper [Thu, 6 Jun 2024 05:27:34 +0000 (22:27 -0700)]
ldns_dane_match_any_cert_with_data: fix types
Both `i` and `n` should match the return type for `sk_X509_num` (which
is `int`, not `size_t`). This addresses a potential issue where
`sk_X509_num(..)` could return -1, resulting in an unnecessary number of
loop iterations and undesirable behavior.
Reported by: Coverity
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
Enji Cooper [Thu, 6 Jun 2024 05:25:36 +0000 (22:25 -0700)]
ldns_convert_dsa_rrsig_rdf2asn1: fix memory leak
Prior to this change `dsasig` was not freed when calling `DSA_SIG_set0`
failed. Free `dsasig` on error in that code path now.
Reported by: Coverity
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
Enji Cooper [Thu, 6 Jun 2024 05:19:43 +0000 (22:19 -0700)]
Fix typos (`the the` -> `the`)
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
Enji Cooper [Thu, 6 Jun 2024 05:13:03 +0000 (22:13 -0700)]
Ignore build generated files
This change ignores several files which are generated by autotools, et
al.
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
Willem Toorop [Fri, 31 May 2024 13:48:58 +0000 (15:48 +0200)]
Merge pull request #240 from botovq/hash
Don't rely on libcrypto returning static buffers
Theo Buehler [Thu, 30 May 2024 16:52:21 +0000 (18:52 +0200)]
Don't rely on libcrypto returning static buffers
ldns is one of very few applications relying on being able to pass
NULL as last argument to the one-step hashing functions. BoringSSL
has removed this functionality in 2017 [1] and LibreSSL 4.0 will do
the same. Applications can pass in a correctly-sized buffer on the
stack.
[1]: https://boringssl-review.googlesource.com/14528
Willem Toorop [Wed, 15 May 2024 12:18:48 +0000 (14:18 +0200)]
Added RESINFO draft RR type
enable with: --enable-rrtype-resinfo
See https://datatracker.ietf.org/doc/draft-ietf-add-resolver-info
Willem Toorop [Wed, 15 May 2024 11:58:19 +0000 (13:58 +0200)]
Updated configure.ac from autoupdate
Willem Toorop [Wed, 15 May 2024 11:29:27 +0000 (13:29 +0200)]
Changelog entry for bug #237
Willem Toorop [Wed, 15 May 2024 11:26:45 +0000 (13:26 +0200)]
Merge pull request #238 from NLnetLabs/bugfix/237
Bugfix/237 Resolver uses nameserver commented out in /etc/resolv.conf
Willem Toorop [Wed, 15 May 2024 11:25:38 +0000 (13:25 +0200)]
Move resolv.conf token parser to parse.h
Including a doxygen comment stating the limitations
Willem Toorop [Tue, 7 May 2024 12:43:16 +0000 (14:43 +0200)]
Issue #237 : Resolver uses nameserver commented out in /etc/resolv.conf
This /etc/resolv.conf:
# x
# nameserver 8.8.8.8
Still configured 8.8.8.8 as nameserver, because the comment detection in `ldns_resolver_new_frm_fp_l()` didn't anticipate empty lines before the comment.
This fix removed all comment handling from `ldns_resolver_new_frm_fp_l()`. Instead a new function is introduced `ldns_fget_token_l_resolv_conf()` that skips comments that start with '#' and ';'. The old `ldns_fget_token_l()` (that is used for zonefiles too) still accepts only ';' for comments.
W.C.A. Wijngaards [Tue, 30 Jan 2024 13:36:01 +0000 (14:36 +0100)]
Fix to compile DLLs, and pick out of the lib64 dir, and include
libssp-0.dll and ldns-config.
W.C.A. Wijngaards [Tue, 30 Jan 2024 08:37:03 +0000 (09:37 +0100)]
Fix to include exe files for windows compile.
W.C.A. Wijngaards [Mon, 29 Jan 2024 15:19:34 +0000 (16:19 +0100)]
Fix to compile with OpenSSL 3.2. Update acx_nlnetlabs.m4 to 48.
W.C.A. Wijngaards [Mon, 29 Jan 2024 13:30:47 +0000 (14:30 +0100)]
Fix to install .exe files.
W.C.A. Wijngaards [Mon, 29 Jan 2024 13:06:35 +0000 (14:06 +0100)]
* Fix for windows compile; asctime_r compat, search for inet_ntop
in ws2_32, avoid double decl of inet_ntop, check for symlink call,
include config.h in edns.c, have socket compare use correct
signedness, add -u repo option to makewin.sh, fix quoting in
makewin.sh and check return value of bind and connect in net.c
for failure instead of a socket type.
Florian Weimer [Fri, 26 Jan 2024 10:57:03 +0000 (11:57 +0100)]
32-bit compatibility for Python SWIG bindings
The ssize_t type can be int instead of long, and the pointer
types are incompatible.
Florian Weimer [Fri, 26 Jan 2024 10:30:39 +0000 (11:30 +0100)]
SWIG_Python_str_AsChar removal in SWIG 4.2.0
The replacement, SWIG_PyUnicode_AsUTF8AndSize, has different
memory management requirements.
William S Fulton [Sat, 6 Jan 2024 15:02:39 +0000 (15:02 +0000)]
const ldns_rdf * typemap fixes to support swig-4.2.0
SWIG_Python_str_AsChar needs to be replaced by SWIG_PyUnicode_AsUTF8AndSize
See https://github.com/swig/swig/commit/
f89dd59d4b82ece899087682fdb86e94d2611513
Willem Toorop [Thu, 4 Jan 2024 11:26:23 +0000 (12:26 +0100)]
Merge pull request #230 from InfrastructureServices/b.root-servers.net
Update address of b.root-servers.net and some others
Petr Menšík [Thu, 4 Jan 2024 09:02:11 +0000 (10:02 +0100)]
Update address of b.root-servers.net and some others
Update recently changed root servers address in the drill tool. Update
also other addresses and expand IPv6 addresses.
Willem Toorop [Mon, 11 Dec 2023 19:12:54 +0000 (20:12 +0100)]
Merge pull request #228 from dogo42/develop
python3 bindings: ldnsx.py "class resolver" fix
dogo42 [Sat, 9 Dec 2023 11:10:30 +0000 (11:10 +0000)]
python3 bindings: class resolver fix
Imitating the example in the beginning of ldnsx.py results in error:
host:~/rpmbuild# python
Python 3.9.16 (main, Dec 8 2022, 00:00:00)
[GCC 11.3.1
20221121 (Red Hat 11.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ldnsx
>>> dir(ldnsx)
['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '__version__', '_rr_types', 'calendar', 'get_rrs', 'isValidIP', 'ldns', 'packet', 'query', 'resolver', 'resource_record', 'secure_query', 'socket', 'sys', 'time', 'warnings']
>>> ldnsx.resolver("9.9.9.9").query("www.hole.fi", "A")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.9/site-packages/ldnsx.py", line 220, in __init__
nm_list.reverse()
AttributeError: 'filter' object has no attribute 'reverse'
>>>
This patch fixes it, i.e. just add list( .. ) around the filter lambda.
Fabrice Fontaine [Sun, 26 Nov 2023 22:38:14 +0000 (23:38 +0100)]
keys.c: fix build with libressl >= 3.8.1
libressl >= 3.8.1 removed ENGINE support:
"ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
of this, some stub functions are provided to avoid patching some
applications that do not honor OPENSSL_NO_ENGINE."
resulting in the following build failure with gost:
./keys.c:167:35: error: 'ENGINE_METHOD_ALL' undeclared (first use in this function)
167 | if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) {
| ^~~~~~~~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/
37cc05b78a7004caa1b45d896121f059a4f8ca00
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Willem Toorop [Wed, 27 Sep 2023 09:31:18 +0000 (11:31 +0200)]
Merge pull request #226 from k0ekk0ek/dns-team
Update email addresses to dns-team
Jeroen Koekkoek [Fri, 22 Sep 2023 14:43:18 +0000 (16:43 +0200)]
Update email addresses
Ørjan Malde [Thu, 14 Sep 2023 14:36:00 +0000 (16:36 +0200)]
progs: don't underlink to libldns
Willem Toorop [Sat, 3 Jun 2023 13:08:41 +0000 (15:08 +0200)]
ldns-testns match wildcard qname's
Currently only in combination with copy_query (for simulating delegations)
Willem Toorop [Fri, 2 Jun 2023 08:11:17 +0000 (10:11 +0200)]
ldns-testns match on edns0 udp_size
Ed Maste [Thu, 25 May 2023 14:29:10 +0000 (10:29 -0400)]
Update declaration for function with no arguments
With -Wstrict-prototypes clang warns that "a function declaration
without a prototype is deprecated in all versions of C."
Pierre Pronchery [Mon, 22 May 2023 22:30:13 +0000 (00:30 +0200)]
ldns: fix the build in FreeBSD's base system
This adds a copy of the function prototypes for internal functions where
necessary.
It effectively works around the following compilation error:
error: no previous prototype for function [-Werror,-Wmissing-prototypes]
Tested on FreeBSD/amd64 (14.0-CURRENT).
W.C.A. Wijngaards [Thu, 26 Jan 2023 10:30:13 +0000 (11:30 +0100)]
Update acx_nlnetlabs.m4 to version 45.
* Updated the configure script for split openssl directories.
Willem Toorop [Thu, 26 Jan 2023 09:45:55 +0000 (10:45 +0100)]
Merge pull request #194 from thesamesam/strict-prototypes
acx_nlnetlabs.m4: fix -Wstrict-prototypes
Willem Toorop [Mon, 16 Jan 2023 21:48:00 +0000 (22:48 +0100)]
Merge pull request #204 from InfrastructureServices/dev-python-3.12
Update python configuration, support platform site dir
Ubuntu [Fri, 13 Jan 2023 15:59:11 +0000 (15:59 +0000)]
Fixed review comment for missing error strings
Felipe Gasper [Wed, 7 Dec 2022 00:40:06 +0000 (19:40 -0500)]
Expand CI: Cygwin, BSDs, musl libc, 32-bit, and big-endian.
Felipe Gasper [Wed, 7 Dec 2022 00:34:53 +0000 (19:34 -0500)]
Fix codingstyle test to run on FreeBSD.
$OSTYPE under FreeBSD is “FreeBSD”, which doesn’t match “*bsd*”.
This updates the test to accommodate that capitalization variance.
Willem Toorop [Thu, 12 Jan 2023 08:27:52 +0000 (09:27 +0100)]
Merge pull request #202 from FGasper/issue_201_use_after_free
Fix ldns_rdf2buffer_str_wks not to use after free.
Ack. Makes sense. Thanks for finding and reporting this.
Jelte Jansen [Tue, 10 Jan 2023 10:56:51 +0000 (11:56 +0100)]
improve 'next-label' algorithm in ldns-walk
Rather than adding \000 to an existing label, add a new label "\000." to the start of the domain name, to find the closes next possible domain name.
Ubuntu [Fri, 6 Jan 2023 15:54:01 +0000 (15:54 +0000)]
Add functions to extract RFC 8914 extended errors
Petr Menšík [Tue, 3 Jan 2023 20:37:34 +0000 (21:37 +0100)]
Update python configuration, support platform site dir
Update to the most recent ax_python_devel.m4 from autoconf-archive
2022.09.03. It reports two separate directories, one for platform
independent files, another for platform specific files.
Make minimal change and switch to using platform dependent directory.
Should work on python 3.12, which removes distutils module completely.
Felipe Gasper [Wed, 7 Dec 2022 00:36:53 +0000 (19:36 -0500)]
Fix ldns_rdf2buffer_str_wks not to use after free.
Issue #201: endprotoent() needs not to be called until we’re finished with
the protoent struct. (Found by running the test suite on OpenBSD.)
Felipe Gasper [Tue, 6 Dec 2022 19:38:21 +0000 (14:38 -0500)]
Enable CI testing for macOS.
Felipe Gasper [Tue, 6 Dec 2022 19:37:35 +0000 (14:37 -0500)]
Skip drill tests for sig chasing as appropriate to build.
This is needed for macOS CI testing.
Alex Band [Tue, 29 Nov 2022 13:37:43 +0000 (14:37 +0100)]
Remove support section
Sam James [Sat, 19 Nov 2022 01:31:57 +0000 (01:31 +0000)]
acx_nlnetlabs.m4: fix -Wstrict-prototypes
Fix -Wstrict-prototypes as it's easy to do and avoids future warnings. Noticed
when doing Clang 16 / GCC 14 / C23 work.
For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
or the (new) c-std-porting mailing list [3].
[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://wiki.gentoo.org/wiki/Modern_C_porting
[3] hosted at lists.linux.dev.
Signed-off-by: Sam James <sam@gentoo.org>
Willem Toorop [Wed, 16 Nov 2022 12:43:27 +0000 (12:43 +0000)]
Merge pull request #189 from FGasper/remove_unused
Remove unused variable.
tcarpay [Fri, 11 Nov 2022 14:04:35 +0000 (15:04 +0100)]
Merge pull request #193 from NLnetLabs/features/edns-for-testns
add EDNS support for ldns-testns