Skip to content

Commit

Permalink
Release 2.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jelu committed Aug 9, 2023
1 parent 0d2275e commit d91ab12
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 2 deletions.
58 changes: 58 additions & 0 deletions CHANGES
@@ -1,3 +1,61 @@
2023-08-09 Jerry Lundström

Release 2.15.0

This release fixes DNS parsing w.r.t. EDNS, implements better loop
detection during name decompression and adds a lot of EDNS indexers
and filters.

Previously the DNS parser expected the additional records to come
straight after the question section. Meaning that if the DNS packet
had any answer or authority records, they would be parsed as additional
records for the OPT record and EDNS information.

Following new indexers has been added:
- edns_cookie
- edns_cookie_len
- edns_cookie_client
- edns_cookie_server
- edns_ecs
- edns_ecs_family
- edns_ecs_source_prefix
- edns_ecs_scope_prefix
- edns_ecs_address
- edns_ecs_subnet
- edns_ede
- edns_ede_code
- edns_ede_textlen
- edns_ede_text
- edns_nsid
- edns_nsid_len
- edns_nsid_data
- edns_nsid_text

Following new filters has been added:
- edns0-only
- edns0-cookie-only
- edns0-nsid-only
- edns0-ede-only
- edns0-ecs-only

See man-page dsc.conf(5) for more information.

Other fixes/additions:
- Only parse entire DNS message if EDNS indexers are used
- `dns_protocol`: Implement proper loop detection during decompression
- `xmalloc`: Check return of `amalloc()` before using `memset()`/`memcpy()` because it's undefined behavior on null pointers

8259f30 EDNS filters
41f3b9a strtohex, nsid text
a666c04 EDNS(0) Client Subnet
b5164fe EDNS
7cabfd9 EDNS0 parsing fixes and additional EDNS0 indexers.
46b1797 memcpy/memset fixes
8fd7b7a EDNS parsing
cee2bf7 EDNS0 parsing, multi RR test
a2c00c9 DNS compression loop detection
9875a3e RR parsing

2023-06-15 Jerry Lundström

Release 2.14.1
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -33,7 +33,7 @@
# POSSIBILITY OF SUCH DAMAGE.

AC_PREREQ(2.61)
AC_INIT([DSC], [2.14.1], [dsc@dns-oarc.net], [dsc], [https://github.com/DNS-OARC/dsc/issues])
AC_INIT([DSC], [2.15.0], [dsc@dns-oarc.net], [dsc], [https://github.com/DNS-OARC/dsc/issues])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AC_CONFIG_SRCDIR([src/md_array.c])
AC_CONFIG_HEADER([src/config.h])
Expand Down
60 changes: 60 additions & 0 deletions debian/changelog
@@ -1,3 +1,63 @@
dsc (2.15.0-1~unstable+1) unstable; urgency=low

* Release 2.15.0

This release fixes DNS parsing w.r.t. EDNS, implements better loop
detection during name decompression and adds a lot of EDNS indexers
and filters.

Previously the DNS parser expected the additional records to come
straight after the question section. Meaning that if the DNS packet
had any answer or authority records, they would be parsed as additional
records for the OPT record and EDNS information.

Following new indexers has been added:
- edns_cookie
- edns_cookie_len
- edns_cookie_client
- edns_cookie_server
- edns_ecs
- edns_ecs_family
- edns_ecs_source_prefix
- edns_ecs_scope_prefix
- edns_ecs_address
- edns_ecs_subnet
- edns_ede
- edns_ede_code
- edns_ede_textlen
- edns_ede_text
- edns_nsid
- edns_nsid_len
- edns_nsid_data
- edns_nsid_text

Following new filters has been added:
- edns0-only
- edns0-cookie-only
- edns0-nsid-only
- edns0-ede-only
- edns0-ecs-only

See man-page dsc.conf(5) for more information.

Other fixes/additions:
- Only parse entire DNS message if EDNS indexers are used
- `dns_protocol`: Implement proper loop detection during decompression
- `xmalloc`: Check return of `amalloc()` before using `memset()`/`memcpy()` because it's undefined behavior on null pointers

8259f30 EDNS filters
41f3b9a strtohex, nsid text
a666c04 EDNS(0) Client Subnet
b5164fe EDNS
7cabfd9 EDNS0 parsing fixes and additional EDNS0 indexers.
46b1797 memcpy/memset fixes
8fd7b7a EDNS parsing
cee2bf7 EDNS0 parsing, multi RR test
a2c00c9 DNS compression loop detection
9875a3e RR parsing

-- Jerry Lundström <lundstrom.jerry@gmail.com> Wed, 09 Aug 2023 13:22:31 +0200

dsc (2.14.1-1~unstable+1) unstable; urgency=low

* Release 2.14.1
Expand Down
52 changes: 51 additions & 1 deletion rpm/dsc.spec
@@ -1,5 +1,5 @@
Name: dsc
Version: 2.14.1
Version: 2.15.0
Release: 1%{?dist}
Summary: DNS Statistics Collector
Group: Productivity/Networking/DNS/Utilities
Expand Down Expand Up @@ -70,6 +70,56 @@ rm -rf $RPM_BUILD_ROOT


%changelog
* Wed Aug 09 2023 Jerry Lundström <lundstrom.jerry@gmail.com> 2.15.0-1
- Release 2.15.0
* This release fixes DNS parsing w.r.t. EDNS, implements better loop
detection during name decompression and adds a lot of EDNS indexers
and filters.
* Previously the DNS parser expected the additional records to come
straight after the question section. Meaning that if the DNS packet
had any answer or authority records, they would be parsed as additional
records for the OPT record and EDNS information.
* Following new indexers has been added:
- edns_cookie
- edns_cookie_len
- edns_cookie_client
- edns_cookie_server
- edns_ecs
- edns_ecs_family
- edns_ecs_source_prefix
- edns_ecs_scope_prefix
- edns_ecs_address
- edns_ecs_subnet
- edns_ede
- edns_ede_code
- edns_ede_textlen
- edns_ede_text
- edns_nsid
- edns_nsid_len
- edns_nsid_data
- edns_nsid_text
Following new filters has been added:
- edns0-only
- edns0-cookie-only
- edns0-nsid-only
- edns0-ede-only
- edns0-ecs-only
See man-page dsc.conf(5) for more information.
* Other fixes/additions:
- Only parse entire DNS message if EDNS indexers are used
- `dns_protocol`: Implement proper loop detection during decompression
- `xmalloc`: Check return of `amalloc()` before using `memset()`/`memcpy()` because it's undefined behavior on null pointers
* Commits:
8259f30 EDNS filters
41f3b9a strtohex, nsid text
a666c04 EDNS(0) Client Subnet
b5164fe EDNS
7cabfd9 EDNS0 parsing fixes and additional EDNS0 indexers.
46b1797 memcpy/memset fixes
8fd7b7a EDNS parsing
cee2bf7 EDNS0 parsing, multi RR test
a2c00c9 DNS compression loop detection
9875a3e RR parsing
* Thu Jun 15 2023 Jerry Lundström <lundstrom.jerry@gmail.com> 2.14.1-1
- Release 2.14.1
* Fixed a bug in TLD handling when using `tld_list`, it did not reset
Expand Down

0 comments on commit d91ab12

Please sign in to comment.