]> git.ipfire.org Git - thirdparty/ldns.git/log
thirdparty/ldns.git
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

3 years agoPropagate correct version to doxygen template 152/head
Petr Menšík [Wed, 9 Feb 2022 17:26:24 +0000 (18:26 +0100)] 
Propagate correct version to doxygen template

Do not require manual changes to libdns.doxygen. Release version got
outdated during recent ldns releases. Configure it with correct version
without extra work needed.

3 years agoUse accessors for DSA and RSA objects 151/head
Theo Buehler [Tue, 11 Jan 2022 20:14:24 +0000 (21:14 +0100)] 
Use accessors for DSA and RSA objects

In the upcoming LibreSSL version 3.5, the DSA and RSA structs will
become opaque, so we should use the OpenSSL 1.1 setters and getters
to fix the build.  The relevant API has been available since
LibreSSL 2.7. The last LibreSSL version (2.6) not having these
accessors was EOL late 2018, so no users should be affected by this
change.

3 years ago* Fix build error on Solaris 10 with inet_ntop redeclaration error.
W.C.A. Wijngaards [Mon, 3 Jan 2022 12:26:02 +0000 (13:26 +0100)] 
* Fix build error on Solaris 10 with inet_ntop redeclaration error.

3 years agoThank @aldot for suggestion (Issue #149 ) in Changelog
Willem Toorop [Mon, 27 Dec 2021 15:10:24 +0000 (16:10 +0100)] 
Thank @aldot for suggestion (Issue #149 ) in Changelog

3 years agoDoxygen annotate returning values via parameters
Willem Toorop [Mon, 27 Dec 2021 14:55:27 +0000 (15:55 +0100)] 
Doxygen annotate returning values via parameters

At least the allocated structs in constructor functions.
Also updated the doxygen file.
In response to issue #149

3 years agoComment explaining how empty long strings are represented in rdfs
Willem Toorop [Mon, 27 Dec 2021 13:38:54 +0000 (14:38 +0100)] 
Comment explaining how empty long strings are represented in rdfs

In response to issue #150

4 years agoFix #147: Tabs before quoted rdata fields
Willem Toorop [Sat, 11 Dec 2021 10:01:11 +0000 (11:01 +0100)] 
Fix #147: Tabs before quoted rdata fields

4 years agoMerge branch 'develop' of github.com:NLnetLabs/ldns into develop
Willem Toorop [Sat, 11 Dec 2021 09:55:49 +0000 (10:55 +0100)] 
Merge branch 'develop' of github.com:NLnetLabs/ldns into develop

4 years agoMerge pull request #148 from FGasper/issue_147_tabs_between_cstrings
Willem Toorop [Sat, 11 Dec 2021 09:55:32 +0000 (10:55 +0100)] 
Merge pull request #148 from FGasper/issue_147_tabs_between_cstrings

Issue 147 tabs between cstrings

4 years agoAdd test for tab between character-strings. 148/head
Felipe Gasper [Thu, 9 Dec 2021 17:18:55 +0000 (12:18 -0500)] 
Add test for tab between character-strings.

Issue #147

4 years agoFix parsing of TAB-separated cstrings.
Felipe Gasper [Thu, 9 Dec 2021 17:02:19 +0000 (12:02 -0500)] 
Fix parsing of TAB-separated cstrings.

Issue #147

4 years agoForgot to attribute bug reports in previous release
Willem Toorop [Fri, 3 Dec 2021 08:11:05 +0000 (09:11 +0100)] 
Forgot to attribute bug reports in previous release

4 years ago1.8.1 release today upstream/release-1.8.x 1.8.1
Willem Toorop [Fri, 3 Dec 2021 07:44:11 +0000 (08:44 +0100)] 
1.8.1 release today

4 years agoLog fix of ldns.pc installation
Willem Toorop [Thu, 2 Dec 2021 15:12:42 +0000 (16:12 +0100)] 
Log fix of ldns.pc installation

4 years agoRevert "fix ldns.pc installation when build out-of-source"
Willem Toorop [Thu, 2 Dec 2021 15:03:07 +0000 (16:03 +0100)] 
Revert "fix ldns.pc installation when build out-of-source"

This reverts commit 640d1a362d5ba3f16c4fcd74a063b800bea75d60.

4 years agoBump version
Willem Toorop [Thu, 2 Dec 2021 14:55:28 +0000 (15:55 +0100)] 
Bump version

4 years agoFix soname!
Willem Toorop [Mon, 29 Nov 2021 20:49:15 +0000 (21:49 +0100)] 
Fix soname!

4 years ago1.8.0 release 144/head 1.8.0
Willem Toorop [Fri, 26 Nov 2021 08:24:28 +0000 (09:24 +0100)] 
1.8.0 release

4 years agoldns-signzone warn about high NSEC iteration counts
Willem Toorop [Thu, 25 Nov 2021 11:31:56 +0000 (12:31 +0100)] 
ldns-signzone warn about high NSEC iteration counts

For now just warning for possible consequences of hight counts according to:
https://datatracker.ietf.org/doc/html/draft-hardaker-dnsop-nsec3-guidance-03#section-4

Thanks Andreas Schulze

4 years agoPrint TTL's as unsigned
Willem Toorop [Thu, 25 Nov 2021 09:53:53 +0000 (10:53 +0100)] 
Print TTL's as unsigned

Thanks Andreas Schulze

4 years agoMerge branch 'develop' into release-1.8.x
Willem Toorop [Thu, 25 Nov 2021 09:29:50 +0000 (10:29 +0100)] 
Merge branch 'develop' into release-1.8.x

4 years agoUnused variable when configuring with --disable-dane-verify
Willem Toorop [Thu, 25 Nov 2021 09:15:40 +0000 (10:15 +0100)] 
Unused variable when configuring with --disable-dane-verify

Thanks Håvard Eidnes