]> git.ipfire.org Git - thirdparty/ldns.git/log
thirdparty/ldns.git
3 years agoRemove unused variable. 189/head
Felipe Gasper [Mon, 17 Oct 2022 18:09:50 +0000 (14:09 -0400)] 
Remove unused variable.

3 years agoFix building documentation in build directory.
Willem Toorop [Mon, 5 Sep 2022 08:01:18 +0000 (10:01 +0200)] 
Fix building documentation in build directory.

Thanks Michael Tokarev

3 years agoUpdated Changelog 1.8.3
Willem Toorop [Mon, 15 Aug 2022 10:37:32 +0000 (12:37 +0200)] 
Updated Changelog

3 years agoSyntax error in pyldns
Willem Toorop [Mon, 15 Aug 2022 10:37:19 +0000 (12:37 +0200)] 
Syntax error in pyldns

3 years agoBump version
Willem Toorop [Mon, 15 Aug 2022 10:22:11 +0000 (12:22 +0200)] 
Bump version

3 years agoProper fix for issue #183 EDNS OPT can have no rdata
Willem Toorop [Mon, 15 Aug 2022 10:15:11 +0000 (12:15 +0200)] 
Proper fix for issue #183 EDNS OPT can have no rdata

3 years agoFix test to fail if DNSSEC lookup fails!
Willem Toorop [Mon, 15 Aug 2022 09:32:53 +0000 (11:32 +0200)] 
Fix test to fail if DNSSEC lookup fails!

3 years agoRevert "Issue #183 EDNS OPT can have no rdata"
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.

3 years agoIssue #183 EDNS OPT can have no rdata
Willem Toorop [Sun, 14 Aug 2022 15:19:02 +0000 (17:19 +0200)] 
Issue #183 EDNS OPT can have no rdata

3 years agoMake the Makefile deps correct 1.8.2
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

3 years agoFix doxygen errors
Willem Toorop [Fri, 12 Aug 2022 10:46:35 +0000 (12:46 +0200)] 
Fix doxygen errors

3 years agoSuperfluous dependecies in Makefile
Willem Toorop [Fri, 12 Aug 2022 10:41:25 +0000 (12:41 +0200)] 
Superfluous dependecies in Makefile

3 years agoCycles in the Makefile.in
Willem Toorop [Fri, 12 Aug 2022 10:35:40 +0000 (12:35 +0200)] 
Cycles in the Makefile.in

3 years agoUpdate dependencies
Willem Toorop [Fri, 12 Aug 2022 10:29:15 +0000 (12:29 +0200)] 
Update dependencies

3 years agoMemory leak in ldns_edns_option_list_clone
Willem Toorop [Fri, 12 Aug 2022 10:00:21 +0000 (12:00 +0200)] 
Memory leak in ldns_edns_option_list_clone

3 years agoSet release date and bumb version
Willem Toorop [Fri, 12 Aug 2022 09:42:43 +0000 (11:42 +0200)] 
Set release date and bumb version

3 years agoAddress Issue #145 by naming everything occluded occluded
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

3 years agoadd SVCB dohpath support
TCY16 [Fri, 12 Aug 2022 08:57:29 +0000 (10:57 +0200)] 
add SVCB dohpath support

3 years agoRevert "Release today" 1.8.2-rc.1
Willem Toorop [Fri, 15 Jul 2022 15:30:24 +0000 (17:30 +0200)] 
Revert "Release today"

This reverts commit 4d8768ab871b657caff54529166973504e359976.

3 years agoRelease today
Willem Toorop [Fri, 15 Jul 2022 15:26:54 +0000 (17:26 +0200)] 
Release today

3 years agoLog EDNS0 option handling feature
Willem Toorop [Fri, 15 Jul 2022 15:26:14 +0000 (17:26 +0200)] 
Log EDNS0 option handling feature

3 years agoMerge pull request #167 from NLnetLabs/features/rfc-6891-individual-edns-option-parsing
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

3 years agoadd check in ldns_edns_option_list_clone features/rfc-6891-individual-edns-option-parsing 167/head
TCY16 [Thu, 14 Jul 2022 13:33:49 +0000 (15:33 +0200)] 
add check in ldns_edns_option_list_clone

3 years agoEliminate non-const cast
Willem Toorop [Thu, 14 Jul 2022 08:07:02 +0000 (10:07 +0200)] 
Eliminate non-const cast

3 years agoMerge branch 'develop' into features/rfc-6891-individual-edns-option-parsing
Willem Toorop [Thu, 14 Jul 2022 07:41:20 +0000 (09:41 +0200)] 
Merge branch 'develop' into features/rfc-6891-individual-edns-option-parsing

3 years agoldns_pkt_edns() also true for `_edns_list`s
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

3 years agoUpdate version for release candidate
Willem Toorop [Wed, 13 Jul 2022 21:45:45 +0000 (23:45 +0200)] 
Update version for release candidate

3 years agoFix #46: Print network errors when secure tracing
Willem Toorop [Wed, 13 Jul 2022 21:36:06 +0000 (23:36 +0200)] 
Fix #46: Print network errors when secure tracing

3 years agoFix skipping OpenSSL tests
Willem Toorop [Wed, 13 Jul 2022 21:00:57 +0000 (23:00 +0200)] 
Fix skipping OpenSSL tests

3 years agoFix #162
Willem Toorop [Wed, 13 Jul 2022 20:49:07 +0000 (22:49 +0200)] 
Fix #162

Skip tests that require OpenSSL with --without-ssl

3 years agoAlgorithm names and numbers don't require crypto
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

3 years agostrcmp returns 0 if equal
Willem Toorop [Wed, 13 Jul 2022 20:05:06 +0000 (22:05 +0200)] 
strcmp returns 0 if equal

3 years agoMerge pull request #181 from NLnetLabs/features/ldns_edns_option_list
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

3 years agoFix #166 Grow buffer when converting to presentation format
Willem Toorop [Tue, 12 Jul 2022 14:53:56 +0000 (16:53 +0200)] 
Fix #166 Grow buffer when converting to presentation format

3 years agoLog bugfix #179
Willem Toorop [Tue, 12 Jul 2022 14:52:08 +0000 (16:52 +0200)] 
Log bugfix #179

3 years agoMerge pull request #179 from bbczeuz/bbczeuz-zone-line-leak
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

3 years agoMerge branch 'features/rfc-6891-individual-edns-option-parsing' into features/ldns_ed... features/ldns_edns_option_list 181/head
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

3 years agoMerge branch 'develop' into features/rfc-6891-individual-edns-option-parsing
Willem Toorop [Tue, 12 Jul 2022 13:30:49 +0000 (15:30 +0200)] 
Merge branch 'develop' into features/rfc-6891-individual-edns-option-parsing

3 years agoedns_option_list as part of the packet
Willem Toorop [Tue, 12 Jul 2022 13:29:02 +0000 (15:29 +0200)] 
edns_option_list as part of the packet

3 years agochange meaning of +, and fix incorrect string compare
TCY16 [Tue, 12 Jul 2022 13:22:19 +0000 (15:22 +0200)] 
change meaning of +, and fix incorrect string compare

3 years agoMerge branch 'develop' into features/ldns_edns_option_list
Willem Toorop [Tue, 12 Jul 2022 12:28:49 +0000 (14:28 +0200)] 
Merge branch 'develop' into features/ldns_edns_option_list

3 years agoCorrect dname count for SVCB and HTTPS
Willem Toorop [Tue, 12 Jul 2022 08:40:41 +0000 (10:40 +0200)] 
Correct dname count for SVCB and HTTPS

3 years agoAdding braces 179/head
Claudius Zingerli [Tue, 21 Jun 2022 15:23:12 +0000 (17:23 +0200)] 
Adding braces

3 years agoFree line memory even if zone file parsing fails
Claudius Zingerli [Tue, 21 Jun 2022 14:58:29 +0000 (16:58 +0200)] 
Free line memory even if zone file parsing fails

3 years agoEnable compile of SVCB and HTTPS support by default
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

3 years agofinalize tests, fix some limit bugs found during testing
TCY16 [Wed, 25 May 2022 13:21:29 +0000 (15:21 +0200)] 
finalize tests, fix some limit bugs found during testing

3 years agoProgram is link target
Willem Toorop [Tue, 24 May 2022 12:06:00 +0000 (14:06 +0200)] 
Program is link target

3 years agofix typo in Makefile
TCY16 [Mon, 23 May 2022 14:13:56 +0000 (16:13 +0200)] 
fix typo in Makefile

3 years agocreate basis for tpkg test
TCY16 [Mon, 23 May 2022 14:05:31 +0000 (16:05 +0200)] 
create basis for tpkg test

3 years agofix +nsid position bug by adding forgotten continue
TCY16 [Wed, 4 May 2022 11:08:37 +0000 (13:08 +0200)] 
fix +nsid position bug by adding forgotten continue

3 years agofix final @TODOs with comments and better printing
TCY16 [Thu, 28 Apr 2022 10:54:21 +0000 (12:54 +0200)] 
fix final @TODOs with comments and better printing

3 years agoadd +nsid documentation in the manpage
TCY16 [Mon, 25 Apr 2022 08:12:03 +0000 (10:12 +0200)] 
add +nsid documentation in the manpage

3 years agoadd assert in ldns_pkt_edns_get_option_list()
TCY16 [Mon, 25 Apr 2022 08:07:39 +0000 (10:07 +0200)] 
add assert in ldns_pkt_edns_get_option_list()

3 years agochange the ends_option_list growing logic to be in line with rr_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

3 years agochange EDNS opt behavior in drill from -e to +
TCY16 [Fri, 22 Apr 2022 09:51:53 +0000 (11:51 +0200)] 
change EDNS opt behavior in drill from -e to +

3 years agoMerge pull request #165 from adam-stoler/svcb.https.ech.rb1
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

3 years agoremove const remaining after 2dfc33c
TCY16 [Thu, 21 Apr 2022 07:49:31 +0000 (09:49 +0200)] 
remove const remaining after 2dfc33c

3 years agoMerge pull request #172 from dkg/speling
Willem Toorop [Thu, 14 Apr 2022 13:37:40 +0000 (15:37 +0200)] 
Merge pull request #172 from dkg/speling

non-substantive: spelling cleanup

3 years agoMerge pull request #171 from dkg/fix-destclean-target
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"

3 years agocontrib/ldnsx: fix spelling of unnecessary 172/head
Daniel Kahn Gillmor [Thu, 14 Apr 2022 01:37:00 +0000 (18:37 -0700)] 
contrib/ldnsx: fix spelling of unnecessary

3 years agocontrib/python: fix misspellings
Daniel Kahn Gillmor [Thu, 14 Apr 2022 01:34:24 +0000 (18:34 -0700)] 
contrib/python: fix misspellings

3 years agoclear up "alloced"
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.

3 years agouse "difference_count" instead of "differents"
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.

3 years agoSpell "success" and "false" correctly.
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.

3 years agorecommend exit(EXIT_SUCCESS) instead of exit(SUCCES)
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.

3 years agonon-substantive spelling fixes
Daniel Kahn Gillmor [Thu, 14 Apr 2022 00:39:29 +0000 (17:39 -0700)] 
non-substantive spelling fixes

3 years agoRevert "spelling: distclean" 171/head
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.

3 years agoadd NSID query functionality to drill, which integrates the new structured EDNS logic
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

3 years agoremove non-const cast from ldns_edns_option *
TCY16 [Tue, 12 Apr 2022 11:55:12 +0000 (13:55 +0200)] 
remove non-const cast from ldns_edns_option *

3 years agoadd getters and setters to the new EDNS options list and add serializer function
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

3 years agoadd clone functionality to the edns struct and list, as well as doc strings
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

3 years agoadd serializing functions for single edns options and option lists
TCY16 [Tue, 12 Apr 2022 09:10:49 +0000 (11:10 +0200)] 
add serializing functions for single edns options and option lists

3 years agoadd printing out of missing EDNS options
TCY16 [Tue, 12 Apr 2022 09:05:40 +0000 (11:05 +0200)] 
add printing out of missing EDNS options

3 years agoFixes #170 Update reference to issues
Willem Toorop [Tue, 12 Apr 2022 08:41:15 +0000 (10:41 +0200)] 
Fixes #170 Update reference to issues

Thanks Mats Dufberg

3 years agoreformat spaces to tabs
TCY16 [Fri, 8 Apr 2022 11:06:46 +0000 (13:06 +0200)] 
reformat spaces to tabs

3 years agoApply suggestions from @wtoorop's code review upstream/features/rfc-6891-individual-edns-option-parsing
tcarpay [Tue, 5 Apr 2022 09:33:13 +0000 (11:33 +0200)] 
Apply suggestions from @wtoorop's code review

Co-authored-by: Willem Toorop <willem@nlnetlabs.nl>
3 years agoadd individual functions for EDNS optionss printing
TCY16 [Tue, 5 Apr 2022 08:58:46 +0000 (10:58 +0200)] 
add individual functions for EDNS optionss printing

3 years agoMerge pull request #168 from InfrastructureServices/develop upstream/develop
Willem Toorop [Mon, 4 Apr 2022 07:19:12 +0000 (09:19 +0200)] 
Merge pull request #168 from InfrastructureServices/develop

Remove undefined status variable from exception

3 years agoRemove undefined status variable from exception 168/head
Petr Menšík [Fri, 1 Apr 2022 15:54:53 +0000 (17:54 +0200)] 
Remove undefined status variable from exception

Triggered by:
ldns.ldns_rdf.new_frm_str("::1", ldns.LDNS_RDF_TYPE_A)

3 years agofirst iteration of EDNS printing with output in drill
TCY16 [Fri, 1 Apr 2022 13:59:39 +0000 (15:59 +0200)] 
first iteration of EDNS printing with output in drill

3 years agoadd function to packet.c to create a list of structured EDNS options
TCY16 [Fri, 1 Apr 2022 13:56:54 +0000 (15:56 +0200)] 
add function to packet.c to create a list of structured EDNS options

3 years agoadd functions to edns lib
TCY16 [Fri, 1 Apr 2022 13:54:01 +0000 (15:54 +0200)] 
add functions to edns lib

3 years agoremove debug code and add clarity comment in rr.c:ldns_rr_list_pop_rr()
TCY16 [Fri, 1 Apr 2022 13:37:59 +0000 (15:37 +0200)] 
remove debug code and add clarity comment in rr.c:ldns_rr_list_pop_rr()

3 years agoadd edns file and functionality in wire2host
TCY16 [Wed, 30 Mar 2022 11:05:33 +0000 (13:05 +0200)] 
add edns file and functionality in wire2host

3 years agoRename echconfig SVCB parameter key to ech as per latest RFC draft, but maintain... 165/head
Adam Stoler [Wed, 23 Mar 2022 19:08:38 +0000 (15:08 -0400)] 
Rename echconfig SVCB parameter key to ech as per latest RFC draft, but maintain compatibility of parsing echconfig as well
Fix off-by-one error in ldns_rdf2buffer_str_svcparams

3 years agoMerge pull request #164 from FGasper/fix_test_28
Willem Toorop [Wed, 16 Mar 2022 12:55:08 +0000 (13:55 +0100)] 
Merge pull request #164 from FGasper/fix_test_28

Fix naming of test 28.

3 years agoFix naming of test 28. 164/head
Felipe Gasper [Wed, 16 Mar 2022 12:43:45 +0000 (08:43 -0400)] 
Fix naming of test 28.

3 years agoMerge pull request #151 from botovq/libressl_opaque
Willem Toorop [Wed, 16 Mar 2022 12:33:43 +0000 (13:33 +0100)] 
Merge pull request #151 from botovq/libressl_opaque

Use accessors for DSA and RSA objects

3 years agoMerge pull request #152 from InfrastructureServices/doxygen-version
Willem Toorop [Wed, 16 Mar 2022 12:32:25 +0000 (13:32 +0100)] 
Merge pull request #152 from InfrastructureServices/doxygen-version

Propagate correct version to doxygen template

Thank you @pemensik !

3 years agoMerge pull request #158 from FGasper/github_workflow
Willem Toorop [Wed, 16 Mar 2022 12:31:21 +0000 (13:31 +0100)] 
Merge pull request #158 from FGasper/github_workflow

GitHub workflow

Nice @FGasper ! Thanks for doing this!

3 years agoMerge pull request #163 from FGasper/gitignore_wildcards
Willem Toorop [Wed, 16 Mar 2022 12:28:25 +0000 (13:28 +0100)] 
Merge pull request #163 from FGasper/gitignore_wildcards

Use wildcards in .gitignore so as to match newly-added tests.

3 years agoMerge pull request #161 from FGasper/make_test_suite_report_failure
Willem Toorop [Wed, 16 Mar 2022 12:27:59 +0000 (13:27 +0100)] 
Merge pull request #161 from FGasper/make_test_suite_report_failure

Make test_all.sh exit nonzero if any tests fail.

3 years agoMerge pull request #159 from FGasper/fix_tabs_spaces_rr
Willem Toorop [Wed, 16 Mar 2022 12:27:05 +0000 (13:27 +0100)] 
Merge pull request #159 from FGasper/fix_tabs_spaces_rr

Ensure uniform handling of spaces & tabs when parsing RRs.

Thanks you @FGasper ! Much appreciated!

3 years agoUse wildcards in .gitignore so as to match newly-added tests. 163/head
Felipe Gasper [Wed, 16 Mar 2022 03:15:48 +0000 (23:15 -0400)] 
Use wildcards in .gitignore so as to match newly-added tests.

3 years agoAdd GitHub CI to run test suite. 158/head
Felipe Gasper [Wed, 16 Mar 2022 00:47:47 +0000 (20:47 -0400)] 
Add GitHub CI to run test suite.

3 years agoMake test_all.sh exit nonzero if any tests fail. 161/head
Felipe Gasper [Wed, 16 Mar 2022 03:02:00 +0000 (23:02 -0400)] 
Make test_all.sh exit nonzero if any tests fail.

Issue #160

3 years agoMake `examples`, `drill`, and `test` targets build their dependencies.
Felipe Gasper [Wed, 16 Mar 2022 01:18:09 +0000 (21:18 -0400)] 
Make `examples`, `drill`, and `test` targets build their dependencies.

3 years agoEnsure uniform handling of spaces & tabs when parsing RRs. 159/head
Felipe Gasper [Wed, 16 Mar 2022 00:57:00 +0000 (20:57 -0400)] 
Ensure uniform handling of spaces & tabs when parsing RRs.

Issue #157: This fixes the same type of bug as #147, in a couple places
where that issue’s fix didn’t apply. A small refactor is done to
deduplicate whitespace-checking logic. Tests are added as well.

3 years agoDocument -U flag to ldns-signzone
Willem Toorop [Mon, 14 Mar 2022 15:04:49 +0000 (16:04 +0100)] 
Document -U flag to ldns-signzone

Thank you Andreas for noticing!

3 years agoFix -U flag with ldns-signzone.
Willem Toorop [Thu, 24 Feb 2022 15:15:20 +0000 (16:15 +0100)] 
Fix -U flag with ldns-signzone.

Thanks Ulrich and Jonathan