Skip to content

Commit

Permalink
Release 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jelu committed Feb 3, 2023
1 parent 6b1e764 commit db78207
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 2 deletions.
34 changes: 34 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# POSSIBILITY OF SUCH DAMAGE.

AC_PREREQ(2.61)
AC_INIT([dnscap], [2.1.0], [[email protected]], [dnscap], [https://github.com/DNS-OARC/dnscap/issues])
AC_INIT([dnscap], [2.1.1], [[email protected]], [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])
Expand Down
36 changes: 36 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> Fri, 03 Feb 2023 14:31:32 +0100

dnscap (2.1.0-1~unstable+1) unstable; urgency=low

* Release 2.1.0
Expand Down
30 changes: 29 additions & 1 deletion rpm/dnscap.spec
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -60,6 +60,34 @@ rm -rf $RPM_BUILD_ROOT


%changelog
* Fri Feb 03 2023 Jerry Lundström <[email protected]> 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 <[email protected]> 2.1.0-1
- Release 2.1.0
* This release adds a new option (`-o pid_file=<file>`) to specify a PID
Expand Down

0 comments on commit db78207

Please sign in to comment.