W.C.A. Wijngaards
159384c2a9
- Fix that when SVCB records cannot be written out, and
...
are written in unknown format, that the zone read allows
such unknown format SVCB records. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-16 09:36:33 +02:00
W.C.A. Wijngaards
d05eff4d54
- Fix parse of svcbparam ech, it had incorrect length. Thanks
...
to Qifan Zhang, Palo Alto Networks for the report.
2026-06-03 14:05:48 +02:00
Yorgos Thessalonikefs
4544eaa4cc
- Fix const as reported by newest compiler warnings.
2026-06-03 14:00:04 +02:00
W.C.A. Wijngaards
4bad944ae4
- Fix DNSKEY size calculation for noncanonical RSA DNSKEYs
...
with leading zeroes for n. Thanks to Xin Wang and Jiajia Liu,
Northwestern Polytechnical University, for the report.
2026-05-15 16:22:59 +02:00
W.C.A. Wijngaards
5c66c48a1b
- Fix to add EDNS CO flag to testbound and debug message log.
2025-12-01 15:29:41 +01:00
W.C.A. Wijngaards
16f3478048
- Add extended dns error code for invalid query type to definition
...
list.
2025-10-15 11:39:58 +02:00
Jose Luis Duran and GitHub
41c55ffac1
Fix typos ( #1299 )
2025-07-02 10:50:49 +02:00
W.C.A. Wijngaards
a8aa1dbbe1
- Fix conditional expressions with parentheses for bitwise and.
2025-06-11 16:42:43 +02:00
a616437338
DNS Error Reporting (RFC 9567) ( #902 )
...
* v1 EDER poc
* remove superfluous edns_list_get_option function
* create an EDER configurable
* Hackathon 114
* Fixes for version -04
* Generated configparser and configlexer are not versioned in master anymore
* Remove NOERROR DNS Error Reporting; not part of final RFC.
* Use assigned IANA EDNS0 Option Code for Report-Channel.
* Fix buffer protection and agent domain validity
* Use DNS Error Reporting instead of the eder nickname
* Update documentation.
* Fix typo.
* Bail out early if ede is not present.
* Forget previous EDNS options from upstream; this is what was
implicitly happening but not deterministacally.
* Don't report LDNS_EDE_OTHER and bail early if there is no reporting
agent.
* Only do DNS error reporting when a client asked for something that
went wrong.
* Add an error reporting agent in the parent that should be ignored.
* review feedback.
* fixup for fast reload
* Add 'num.dns_error_reports' to stats and test for it.
---------
Co-authored-by: TCY16 <tom@nlnetlabs.nl >
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl >
2025-04-07 10:25:10 +02:00
W.C.A. Wijngaards
17f95ffac1
- Fix escape more characters when printing an RR type with an unquoted
...
string.
2025-04-01 13:53:29 +02:00
W.C.A. Wijngaards
eccf52e39d
- Fix print of RR type NSAP-PTR, it is an unquoted string.
2025-03-20 15:51:03 +01:00
W.C.A. Wijngaards
13afde2cad
- Fix representation of types GPOS and RESINFO, add rdf type for
2025-03-17 16:38:17 +01:00
Yorgos Thessalonikefs and GitHub
a2bf32bb4e
Merge pull request #1224 from botovq/improve-use-dsa
...
Do not use DSA API unless USE_DSA is set
2025-01-21 17:33:48 +01:00
W.C.A. Wijngaards
5f58ced71e
- Fix to check length in ATMA string to wire.
2025-01-21 12:30:30 +01:00
W.C.A. Wijngaards
207ae97ff9
- Fix encoding of RR type ATMA.
2025-01-21 12:27:15 +01:00
Theo Buehler
8672b34fca
Do not use DSA API unless USE_DSA is set
...
Even if USE_DSA is unset, unbound ends up linking against OpenSSL
DSA API because these guards are missing.
2025-01-18 10:40:43 +01:00
Yorgos Thessalonikefs
e57e537c85
- For #1207 : [FR] Support for RESINFO RRType 261 (RFC9606), add
...
LDNS_RR_TYPE_RESINFO similar to LDNS_RR_TYPE_TXT.
2024-12-20 15:04:34 +01:00
W.C.A. Wijngaards
5bea29b01c
- For #1110 : Test for fallthrough attribute in configure and add
...
fallthrough attribute annotations.
2024-07-23 09:47:42 +02:00
Yorgos Thessalonikefs
ea3e327006
- Update list of known EDE codes.
2024-07-09 15:58:30 +02:00
W.C.A. Wijngaards
1974732d19
- Fix typos for 'the the' in text.
2024-06-06 09:35:57 +02:00
W.C.A. Wijngaards
c09320c651
- Fix that printout of EDNS options shows the EDNS cookie option by
...
name.
2023-10-09 12:36:54 +02:00
W.C.A. Wijngaards
8c751d48a2
- Fix to print EDE text in readable form in output logs.
2023-09-07 15:28:01 +02:00
W.C.A. Wijngaards
d4c4537b33
- Fix for WKS call to getservbyname that creates allocation on exit
...
in unit test by testing numbers first and testing from the services
list later.
2023-08-30 14:31:24 +02:00
George Thessalonikefs
4ccb613396
Merge branch 'master' into features/downstream-cookies
2023-08-05 20:37:48 +02:00
W.C.A. Wijngaards
8d45c1592b
- For #909 : Fix RR class comparison.
2023-07-20 12:16:24 +02:00
headshog
0b131d5a31
parse sldns_get_rr_class_by_name and sldns_get_rr_type_by_name return value 0
2023-07-19 18:09:03 +03:00
headshog
78c284e05d
fix numtrunc in str2wire.c
2023-07-17 12:58:52 +03:00
George Thessalonikefs
5be7f1ef8a
- Code cleanup for sldns_str2wire_svcparam_key_lookup.
2023-07-03 10:51:34 +02:00
George Thessalonikefs
31d38d2cfe
Merge branch 'master' into features/dohpath-for-unbound
2023-06-30 11:50:23 +02:00
George Thessalonikefs
3c3fd7a795
- More predictable testing for cachedb.
2023-05-30 23:33:48 +02:00
George Thessalonikefs
90f6cb1158
- Add SVCB and HTTPS to the types removed by 'unbound-control flush'.
2022-11-30 14:33:16 +01:00
TCY16
5bf4c505db
remove value check
2022-10-28 17:40:18 +02:00
Willem Toorop
75f3fbdd65
Downstream DNS Cookies a la RFC7873 and RFC9018
...
Create server cookies for clients that send client cookies.
Needs to be turned on in the config file with:
answer-cookie: yes
A cookie-secret can be configured for anycast setups.
Also adds an access control list that will allow queries with
either a valid cookie or over a stateful transport.
2022-09-28 10:28:19 +02:00
TCY16
b642c5fe1f
add better URI template checking
2022-08-25 14:06:13 +02:00
TCY16
f3fa363443
implement @gthess' review comments; fix check on compulsory text and add tests
2022-08-24 12:38:08 +02:00
TCY16
8d939691a3
implement @wcawijngaards' review comment
2022-08-19 14:48:47 +02:00
TCY16
b465e0cfc0
add testcase and fix comment
2022-08-15 16:12:22 +02:00
TCY16
73b3b32062
fix styling nits
2022-08-15 14:41:06 +02:00
TCY16
6e31d1f5be
add dohpath parsing
2022-08-15 14:36:35 +02:00
George Thessalonikefs
efdd70c7b5
- Cleanup some comments and TODO text.
2022-07-23 19:55:15 +02:00
W.C.A. Wijngaards
2abd6f7d58
- Fix dname count in sldns parse type descriptor for SVCB and HTTPS.
2022-07-12 13:29:51 +02:00
Philip Homburg
0e1c266f86
Fix issue with lines that only consist of blanks with optional comment
2022-06-13 11:41:14 +02:00
W.C.A. Wijngaards
11d077c826
- Fix some lint type warnings.
2022-05-20 15:32:27 +02:00
tcarpay and GitHub
0ce36e8289
Add the basic EDE (RFC8914) cases ( #604 )
2022-05-06 12:48:53 +02:00
W.C.A. Wijngaards
8f8a8a341a
- Fix spelling error in comment in sldns_str2wire_svcparam_key_lookup.
2022-03-25 16:07:23 +01:00
W.C.A. Wijngaards
402135b41a
- Fix to ensure uniform handling of spaces and tabs when parsing RRs.
2022-03-16 09:54:53 +01:00
W.C.A. Wijngaards
b202b0874c
- Fix for #637 : fix integer overflow checks in sldns_str2period.
2022-03-03 16:24:46 +01:00
W.C.A. Wijngaards
debe5c665f
- Fix #637 : Integer Overflow in sldns_str2period function.
2022-03-03 14:19:59 +01:00
Dimitris Apostolou
c7be51a11b
Fix typos
2022-02-18 15:51:03 +02:00
W.C.A. Wijngaards
c29b0e0a96
- Fix for #611 : Integer overflow in sldns_wire2str_pkt_scan.
2022-02-03 09:03:09 +01:00