From db782079ababb605575512e2da5dea766f946d31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jerry=20Lundstr=C3=B6m?= Date: Fri, 3 Feb 2023 14:33:32 +0100 Subject: [PATCH] Release 2.1.1 --- CHANGES | 34 ++++++++++++++++++++++++++++++++++ configure.ac | 2 +- debian/changelog | 36 ++++++++++++++++++++++++++++++++++++ rpm/dnscap.spec | 30 +++++++++++++++++++++++++++++- 4 files changed, 100 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 3cc3c63..b91f20b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,37 @@ +2023-02-03 Jerry Lundström + + Release 2.1.1 + + This release includes fixes to TCP state code, anonymizing plugins and + handling of EDNS extended error code. + + - Ken Renards @kdrenard (PR #275) fixed handling of EDNS extended error + code, the previous code looked at `arcount` but ldns "consumes" OPT + records so the count could be zero even with existing extended error + code. + + - Changed anonymizing plugins to anonymize both sending and receiving + IP address if both used the server port, part of issue #276 reported + by Duane Wessels @wessels. This fixes situations where clients + weren't anonymize because they sent using that port. + + - Fixed multiple issues with garbage collection in TCP state handling. + It was reusing a pointer that was meant to return the current TCP + state so it could return the wrong state when garbage collection + was triggered. + It also just unlinked stale states and didn't free them, new code + uses the discard function so released state is also tagged as + "gc stale". + Lastly the discard function was fixed to clear the current TCP state + pointer used by plugins if the discarded state was it. + + 7f2ddcf Copyright + fd5b744 CodeQL alerts + 726d241 TCP state GC + dff421e Anonymize clients + 2eb8489 Add CodeQL workflow for GitHub code scanning + c5a0919 Better test for presence of EDNS option with extended error code + 2022-09-09 Jerry Lundström Release 2.1.0 diff --git a/configure.ac b/configure.ac index a776b05..b3c5657 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ # POSSIBILITY OF SUCH DAMAGE. AC_PREREQ(2.61) -AC_INIT([dnscap], [2.1.0], [dnscap-users@dns-oarc.net], [dnscap], [https://github.com/DNS-OARC/dnscap/issues]) +AC_INIT([dnscap], [2.1.1], [dnscap-users@dns-oarc.net], [dnscap], [https://github.com/DNS-OARC/dnscap/issues]) AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) AC_CONFIG_SRCDIR([src/dnscap.c]) AC_CONFIG_HEADER([src/config.h]) diff --git a/debian/changelog b/debian/changelog index 212dde7..9eb5e64 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,39 @@ +dnscap (2.1.1-1~unstable+1) unstable; urgency=low + + * Release 2.1.1 + + This release includes fixes to TCP state code, anonymizing plugins and + handling of EDNS extended error code. + + - Ken Renards @kdrenard (PR #275) fixed handling of EDNS extended error + code, the previous code looked at `arcount` but ldns "consumes" OPT + records so the count could be zero even with existing extended error + code. + + - Changed anonymizing plugins to anonymize both sending and receiving + IP address if both used the server port, part of issue #276 reported + by Duane Wessels @wessels. This fixes situations where clients + weren't anonymize because they sent using that port. + + - Fixed multiple issues with garbage collection in TCP state handling. + It was reusing a pointer that was meant to return the current TCP + state so it could return the wrong state when garbage collection + was triggered. + It also just unlinked stale states and didn't free them, new code + uses the discard function so released state is also tagged as + "gc stale". + Lastly the discard function was fixed to clear the current TCP state + pointer used by plugins if the discarded state was it. + + 7f2ddcf Copyright + fd5b744 CodeQL alerts + 726d241 TCP state GC + dff421e Anonymize clients + 2eb8489 Add CodeQL workflow for GitHub code scanning + c5a0919 Better test for presence of EDNS option with extended error code + + -- Jerry Lundström Fri, 03 Feb 2023 14:31:32 +0100 + dnscap (2.1.0-1~unstable+1) unstable; urgency=low * Release 2.1.0 diff --git a/rpm/dnscap.spec b/rpm/dnscap.spec index 839efeb..c2eb5cc 100644 --- a/rpm/dnscap.spec +++ b/rpm/dnscap.spec @@ -1,5 +1,5 @@ Name: dnscap -Version: 2.1.0 +Version: 2.1.1 Release: 1%{?dist} Summary: Network capture utility designed specifically for DNS traffic Group: Productivity/Networking/DNS/Utilities @@ -60,6 +60,34 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Feb 03 2023 Jerry Lundström 2.1.1-1 +- Release 2.1.1 + * This release includes fixes to TCP state code, anonymizing plugins and + handling of EDNS extended error code. + - Ken Renards @kdrenard (PR #275) fixed handling of EDNS extended error + code, the previous code looked at `arcount` but ldns "consumes" OPT + records so the count could be zero even with existing extended error + code. + - Changed anonymizing plugins to anonymize both sending and receiving + IP address if both used the server port, part of issue #276 reported + by Duane Wessels @wessels. This fixes situations where clients + weren't anonymize because they sent using that port. + - Fixed multiple issues with garbage collection in TCP state handling. + It was reusing a pointer that was meant to return the current TCP + state so it could return the wrong state when garbage collection + was triggered. + It also just unlinked stale states and didn't free them, new code + uses the discard function so released state is also tagged as + "gc stale". + Lastly the discard function was fixed to clear the current TCP state + pointer used by plugins if the discarded state was it. + * Commits: + 7f2ddcf Copyright + fd5b744 CodeQL alerts + 726d241 TCP state GC + dff421e Anonymize clients + 2eb8489 Add CodeQL workflow for GitHub code scanning + c5a0919 Better test for presence of EDNS option with extended error code * Fri Sep 09 2022 Jerry Lundström 2.1.0-1 - Release 2.1.0 * This release adds a new option (`-o pid_file=`) to specify a PID