Merging upstream version 0.4.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
584e0220fa
commit
59def95384
20 changed files with 42 additions and 21 deletions
|
@ -15,6 +15,7 @@ $(top)/rpmbuild:
|
|||
mkdir -p "$(top)"/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
||||
|
||||
srpm: prereq update-dist-tools
|
||||
git config --global safe.directory "*"
|
||||
test -f .gitmodules && git submodule update --init || true
|
||||
echo "$(spec)" | grep -q "develop.spec" && auto_build_number=`date --utc +%s` message="Auto build `date --utc --iso-8601=seconds`" "$(top)/dist-tools/spec-new-changelog-entry" || true
|
||||
overwrite=yes nosign=yes "$(top)/dist-tools/create-source-packages" rpm
|
||||
|
|
10
CHANGES
10
CHANGES
|
@ -1,3 +1,13 @@
|
|||
2023-03-03 Jerry Lundström
|
||||
|
||||
Release 0.4.0
|
||||
|
||||
Updated `dnstap.pb` to include recently added DNS-over-QUIC (DOQ)
|
||||
socket protocol.
|
||||
|
||||
a03a989 Fix COPR
|
||||
e3f1167 dnstap.pb, DOQ
|
||||
|
||||
2022-02-02 Jerry Lundström
|
||||
|
||||
Release 0.3.3
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
AC_PREREQ(2.61)
|
||||
AC_INIT([dnswire], [0.3.3], [admin@dns-oarc.net], [dnswire], [https://github.com/DNS-OARC/dnswire/issues])
|
||||
AC_INIT([dnswire], [0.4.0], [admin@dns-oarc.net], [dnswire], [https://github.com/DNS-OARC/dnswire/issues])
|
||||
AC_SUBST([DNSWIRE_VERSION_MAJOR], [0000])
|
||||
AC_SUBST([DNSWIRE_VERSION_MINOR], [0003])
|
||||
AC_SUBST([DNSWIRE_VERSION_PATCH], [0003])
|
||||
AC_SUBST([DNSWIRE_LIBRARY_VERSION], [1:0:0])
|
||||
AC_SUBST([DNSWIRE_VERSION_MINOR], [0004])
|
||||
AC_SUBST([DNSWIRE_VERSION_PATCH], [0000])
|
||||
AC_SUBST([DNSWIRE_LIBRARY_VERSION], [1:1:0])
|
||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
||||
AC_CONFIG_SRCDIR([src/dnstap.c])
|
||||
AC_CONFIG_HEADER([src/config.h])
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
%define sover 1
|
||||
%define libname libdnswire%{sover}
|
||||
Name: dnswire
|
||||
Version: 0.3.3
|
||||
Version: 0.4.0
|
||||
Release: 1%{?dist}
|
||||
Summary: library for DNS encapsulations and transporting of them
|
||||
Group: Development/Libraries/C and C++
|
||||
|
@ -97,6 +97,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Mar 03 2023 Jerry Lundström <lundstrom.jerry@gmail.com> 0.4.0-1
|
||||
- Release 0.4.0
|
||||
* Updated `dnstap.pb` to include recently added DNS-over-QUIC (DOQ)
|
||||
socket protocol.
|
||||
* Commits:
|
||||
a03a989 Fix COPR
|
||||
e3f1167 dnstap.pb, DOQ
|
||||
* Wed Feb 02 2022 Jerry Lundström <lundstrom.jerry@gmail.com> 0.3.3-1
|
||||
- Release 0.3.3
|
||||
* This is a package only update release to correct mistakes in Debian/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
@ -57,6 +57,7 @@ const char* const DNSTAP_SOCKET_PROTOCOL_STRING[] = {
|
|||
"DOH",
|
||||
"DNSCryptUDP",
|
||||
"DNSCryptTCP",
|
||||
"DOQ",
|
||||
};
|
||||
const char* const DNSTAP_POLICY_ACTION_STRING[] = {
|
||||
"UNKNOWN",
|
||||
|
@ -143,6 +144,7 @@ int dnstap_decode_protobuf(struct dnstap* dnstap, const uint8_t* data, size_t le
|
|||
case DNSTAP_SOCKET_PROTOCOL_DOH:
|
||||
case DNSTAP_SOCKET_PROTOCOL_DNSCryptUDP:
|
||||
case DNSTAP_SOCKET_PROTOCOL_DNSCryptTCP:
|
||||
case DNSTAP_SOCKET_PROTOCOL_DOQ:
|
||||
break;
|
||||
default:
|
||||
dnstap->message.has_socket_protocol = false;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
@ -72,6 +72,7 @@ enum dnstap_socket_protocol {
|
|||
DNSTAP_SOCKET_PROTOCOL_DOH = 4,
|
||||
DNSTAP_SOCKET_PROTOCOL_DNSCryptUDP = 5,
|
||||
DNSTAP_SOCKET_PROTOCOL_DNSCryptTCP = 6,
|
||||
DNSTAP_SOCKET_PROTOCOL_DOQ = 7,
|
||||
};
|
||||
extern const char* const DNSTAP_SOCKET_PROTOCOL_STRING[];
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -47,7 +47,7 @@ int main(void)
|
|||
d.message.socket_family = (enum _Dnstap__SocketFamily)DNSTAP_SOCKET_FAMILY_INET;
|
||||
|
||||
// invalid message.socket_protocol
|
||||
d.message.socket_protocol = (enum _Dnstap__SocketProtocol)(DNSTAP_SOCKET_PROTOCOL_DNSCryptTCP + 1);
|
||||
d.message.socket_protocol = (enum _Dnstap__SocketProtocol)(DNSTAP_SOCKET_PROTOCOL_DOQ + 1);
|
||||
s = dnstap_encode_protobuf_size(&d);
|
||||
assert(s < sizeof(buf));
|
||||
assert(dnstap_encode_protobuf(&d, buf) == s);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Author Jerry Lundström <jerry@dns-oarc.net>
|
||||
* Copyright (c) 2019, OARC, Inc.
|
||||
* Copyright (c) 2019-2023, OARC, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is part of the dnswire library.
|
||||
|
|
Loading…
Add table
Reference in a new issue