]>
git.ipfire.org Git - thirdparty/ldns.git/log
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.
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.
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
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
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
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.
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.)
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
TCY16 [Fri, 11 Nov 2022 13:59:57 +0000 (14:59 +0100)]
Merge branch 'develop' into features/edns-for-testns
TCY16 [Fri, 11 Nov 2022 13:59:02 +0000 (14:59 +0100)]
add missing print and breaking assignment
tcarpay [Thu, 10 Nov 2022 15:21:13 +0000 (16:21 +0100)]
Fix breaking ref
tcarpay [Tue, 8 Nov 2022 12:05:51 +0000 (13:05 +0100)]
Add HEX_EDNSDATA documentation
tcarpay [Tue, 8 Nov 2022 12:02:39 +0000 (13:02 +0100)]
add HEX_EDNSDATA entry
TCY16 [Mon, 7 Nov 2022 13:09:27 +0000 (14:09 +0100)]
add missing buffer_free
TCY16 [Mon, 7 Nov 2022 13:06:57 +0000 (14:06 +0100)]
move location where the EDNS is added
TCY16 [Mon, 7 Nov 2022 12:38:21 +0000 (13:38 +0100)]
add missing EDNS support for ldns-testns
Felipe Gasper [Mon, 17 Oct 2022 18:09:50 +0000 (14:09 -0400)]
Remove unused variable.
Willem Toorop [Mon, 5 Sep 2022 08:01:18 +0000 (10:01 +0200)]
Fix building documentation in build directory.
Thanks Michael Tokarev
Willem Toorop [Mon, 15 Aug 2022 10:37:32 +0000 (12:37 +0200)]
Updated Changelog
Willem Toorop [Mon, 15 Aug 2022 10:37:19 +0000 (12:37 +0200)]
Syntax error in pyldns
Willem Toorop [Mon, 15 Aug 2022 10:22:11 +0000 (12:22 +0200)]
Bump version
Willem Toorop [Mon, 15 Aug 2022 10:15:11 +0000 (12:15 +0200)]
Proper fix for issue #183 EDNS OPT can have no rdata
Willem Toorop [Mon, 15 Aug 2022 09:32:53 +0000 (11:32 +0200)]
Fix test to fail if DNSSEC lookup fails!
Willem Toorop [Mon, 15 Aug 2022 09:11:40 +0000 (11:11 +0200)]
Revert "Issue #183 EDNS OPT can have no rdata"
This reverts commit
1acee0c5d35f4a04df07e5d5f4490e6318513997 .
Willem Toorop [Sun, 14 Aug 2022 15:19:02 +0000 (17:19 +0200)]
Issue #183 EDNS OPT can have no rdata
Willem Toorop [Fri, 12 Aug 2022 10:57:35 +0000 (12:57 +0200)]
Make the Makefile deps correct
to enable doing make test from the start and not causing dependency loops
Willem Toorop [Fri, 12 Aug 2022 10:46:35 +0000 (12:46 +0200)]
Fix doxygen errors
Willem Toorop [Fri, 12 Aug 2022 10:41:25 +0000 (12:41 +0200)]
Superfluous dependecies in Makefile
Willem Toorop [Fri, 12 Aug 2022 10:35:40 +0000 (12:35 +0200)]
Cycles in the Makefile.in
Willem Toorop [Fri, 12 Aug 2022 10:29:15 +0000 (12:29 +0200)]
Update dependencies
Willem Toorop [Fri, 12 Aug 2022 10:00:21 +0000 (12:00 +0200)]
Memory leak in ldns_edns_option_list_clone
Willem Toorop [Fri, 12 Aug 2022 09:42:43 +0000 (11:42 +0200)]
Set release date and bumb version
Willem Toorop [Fri, 12 Aug 2022 09:38:52 +0000 (11:38 +0200)]
Address Issue #145 by naming everything occluded occluded
Even though some of those are (also) glue
TCY16 [Fri, 12 Aug 2022 08:57:29 +0000 (10:57 +0200)]
add SVCB dohpath support
Willem Toorop [Fri, 15 Jul 2022 15:30:24 +0000 (17:30 +0200)]
Revert "Release today"
This reverts commit
4d8768ab871b657caff54529166973504e359976 .
Willem Toorop [Fri, 15 Jul 2022 15:26:54 +0000 (17:26 +0200)]
Release today
Willem Toorop [Fri, 15 Jul 2022 15:26:14 +0000 (17:26 +0200)]
Log EDNS0 option handling feature
Willem Toorop [Thu, 14 Jul 2022 14:54:08 +0000 (16:54 +0200)]
Merge pull request #167 from NLnetLabs/features/rfc-6891-individual-edns-option-parsing
Parsing and printing of individual OPT options
TCY16 [Thu, 14 Jul 2022 13:33:49 +0000 (15:33 +0200)]
add check in ldns_edns_option_list_clone
Willem Toorop [Thu, 14 Jul 2022 08:07:02 +0000 (10:07 +0200)]
Eliminate non-const cast
Willem Toorop [Thu, 14 Jul 2022 07:41:20 +0000 (09:41 +0200)]
Merge branch 'develop' into features/rfc-6891-individual-edns-option-parsing
Willem Toorop [Thu, 14 Jul 2022 07:33:44 +0000 (09:33 +0200)]
ldns_pkt_edns() also true for `_edns_list`s
+ few fixes for memory management errors
Willem Toorop [Wed, 13 Jul 2022 21:45:45 +0000 (23:45 +0200)]
Update version for release candidate
Willem Toorop [Wed, 13 Jul 2022 21:36:06 +0000 (23:36 +0200)]
Fix #46: Print network errors when secure tracing
Willem Toorop [Wed, 13 Jul 2022 21:00:57 +0000 (23:00 +0200)]
Fix skipping OpenSSL tests
Willem Toorop [Wed, 13 Jul 2022 20:49:07 +0000 (22:49 +0200)]
Fix #162
Skip tests that require OpenSSL with --without-ssl
Willem Toorop [Wed, 13 Jul 2022 20:28:57 +0000 (22:28 +0200)]
Algorithm names and numbers don't require crypto
even if not supported
Willem Toorop [Wed, 13 Jul 2022 20:05:06 +0000 (22:05 +0200)]
strcmp returns 0 if equal
tcarpay [Wed, 13 Jul 2022 08:50:39 +0000 (10:50 +0200)]
Merge pull request #181 from NLnetLabs/features/ldns_edns_option_list
Features/ldns edns option list
Willem Toorop [Tue, 12 Jul 2022 14:53:56 +0000 (16:53 +0200)]
Fix #166 Grow buffer when converting to presentation format
Willem Toorop [Tue, 12 Jul 2022 14:52:08 +0000 (16:52 +0200)]
Log bugfix #179
Willem Toorop [Tue, 12 Jul 2022 13:42:23 +0000 (15:42 +0200)]
Merge pull request #179 from bbczeuz/bbczeuz-zone-line-leak
Free line memory even if zone file parsing fails
Willem Toorop [Tue, 12 Jul 2022 13:34:45 +0000 (15:34 +0200)]
Merge branch 'features/rfc-6891-individual-edns-option-parsing' into features/ldns_edns_option_list
Willem Toorop [Tue, 12 Jul 2022 13:30:49 +0000 (15:30 +0200)]
Merge branch 'develop' into features/rfc-6891-individual-edns-option-parsing
Willem Toorop [Tue, 12 Jul 2022 13:29:02 +0000 (15:29 +0200)]
edns_option_list as part of the packet
TCY16 [Tue, 12 Jul 2022 13:22:19 +0000 (15:22 +0200)]
change meaning of +, and fix incorrect string compare
Willem Toorop [Tue, 12 Jul 2022 12:28:49 +0000 (14:28 +0200)]
Merge branch 'develop' into features/ldns_edns_option_list
Willem Toorop [Tue, 12 Jul 2022 08:40:41 +0000 (10:40 +0200)]
Correct dname count for SVCB and HTTPS
Claudius Zingerli [Tue, 21 Jun 2022 15:23:12 +0000 (17:23 +0200)]
Adding braces
Claudius Zingerli [Tue, 21 Jun 2022 14:58:29 +0000 (16:58 +0200)]
Free line memory even if zone file parsing fails
Willem Toorop [Thu, 9 Jun 2022 10:27:34 +0000 (12:27 +0200)]
Enable compile of SVCB and HTTPS support by default
Since it is almost RFC. See also Issue #177
TCY16 [Wed, 25 May 2022 13:21:29 +0000 (15:21 +0200)]
finalize tests, fix some limit bugs found during testing
Willem Toorop [Tue, 24 May 2022 12:06:00 +0000 (14:06 +0200)]
Program is link target
TCY16 [Mon, 23 May 2022 14:13:56 +0000 (16:13 +0200)]
fix typo in Makefile
TCY16 [Mon, 23 May 2022 14:05:31 +0000 (16:05 +0200)]
create basis for tpkg test
TCY16 [Wed, 4 May 2022 11:08:37 +0000 (13:08 +0200)]
fix +nsid position bug by adding forgotten continue
TCY16 [Thu, 28 Apr 2022 10:54:21 +0000 (12:54 +0200)]
fix final @TODOs with comments and better printing
TCY16 [Mon, 25 Apr 2022 08:12:03 +0000 (10:12 +0200)]
add +nsid documentation in the manpage
TCY16 [Mon, 25 Apr 2022 08:07:39 +0000 (10:07 +0200)]
add assert in ldns_pkt_edns_get_option_list()
TCY16 [Fri, 22 Apr 2022 11:08:09 +0000 (13:08 +0200)]
change the ends_option_list growing logic to be in line with rr_list
TCY16 [Fri, 22 Apr 2022 09:51:53 +0000 (11:51 +0200)]
change EDNS opt behavior in drill from -e to +
Willem Toorop [Thu, 21 Apr 2022 11:20:08 +0000 (13:20 +0200)]
Merge pull request #165 from adam-stoler/svcb.https.ech.rb1
Rename SVCB echconfig parameter key to ech as per latest RFC draft
TCY16 [Thu, 21 Apr 2022 07:49:31 +0000 (09:49 +0200)]
remove const remaining after
2dfc33c
Willem Toorop [Thu, 14 Apr 2022 13:37:40 +0000 (15:37 +0200)]
Merge pull request #172 from dkg/speling
non-substantive: spelling cleanup
Willem Toorop [Thu, 14 Apr 2022 13:32:24 +0000 (15:32 +0200)]
Merge pull request #171 from dkg/fix-destclean-target
Revert "spelling: distclean"
Daniel Kahn Gillmor [Thu, 14 Apr 2022 01:37:00 +0000 (18:37 -0700)]
contrib/ldnsx: fix spelling of unnecessary
Daniel Kahn Gillmor [Thu, 14 Apr 2022 01:34:24 +0000 (18:34 -0700)]
contrib/python: fix misspellings
Daniel Kahn Gillmor [Thu, 14 Apr 2022 01:33:41 +0000 (18:33 -0700)]
clear up "alloced"
When referring to a literal alloc() function call, use "alloc'ed".
When referring to a struct member "name_alloced", refer to it by full name.
Daniel Kahn Gillmor [Thu, 14 Apr 2022 00:45:21 +0000 (17:45 -0700)]
use "difference_count" instead of "differents"
"differents" is a peculiar idiom that some spellcheckers (like
"codespell") think is a misspelling of either "different" or
"difference". Clearer language is less likely to confuse both people
and machines.
Daniel Kahn Gillmor [Thu, 14 Apr 2022 00:41:45 +0000 (17:41 -0700)]
Spell "success" and "false" correctly.
"falsed" is actually a word, but I think "false" was intended here.
Daniel Kahn Gillmor [Thu, 14 Apr 2022 00:40:15 +0000 (17:40 -0700)]
recommend exit(EXIT_SUCCESS) instead of exit(SUCCES)
In addition to being misspelled, the form without the EXIT_ prefix
doesn't appear anywhere else in the codebase.
Daniel Kahn Gillmor [Thu, 14 Apr 2022 00:39:29 +0000 (17:39 -0700)]
non-substantive spelling fixes
Daniel Kahn Gillmor [Wed, 13 Apr 2022 23:53:48 +0000 (16:53 -0700)]
Revert "spelling: distclean"
"distclean" is a *different* kind of target than "destclean"
"destclean" presumably means "uninstall from the destination".
"distclean" means, by convention, "clean the source into the way that
you would like before creating a tarball for distribution"
This switch introduced some ugliness for debian packaging, as can be
seen in
https://salsa.debian.org/dns-team/ldns/-/commit/
8b84b73590ac4321e1bf0982d60a7e94b037d6e5
This reverts commit
298b2a65920944aee833d4392e3651f25421c759 .
TCY16 [Tue, 12 Apr 2022 12:27:43 +0000 (14:27 +0200)]
add NSID query functionality to drill, which integrates the new structured EDNS logic
TCY16 [Tue, 12 Apr 2022 11:55:12 +0000 (13:55 +0200)]
remove non-const cast from ldns_edns_option *
TCY16 [Tue, 12 Apr 2022 11:17:50 +0000 (13:17 +0200)]
add getters and setters to the new EDNS options list and add serializer function
TCY16 [Tue, 12 Apr 2022 10:57:49 +0000 (12:57 +0200)]
add clone functionality to the edns struct and list, as well as doc strings
TCY16 [Tue, 12 Apr 2022 09:10:49 +0000 (11:10 +0200)]
add serializing functions for single edns options and option lists
TCY16 [Tue, 12 Apr 2022 09:05:40 +0000 (11:05 +0200)]
add printing out of missing EDNS options