Adding upstream version 2.7.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
462f4c9882
commit
504f85aa2e
8 changed files with 74 additions and 20 deletions
13
CHANGES
13
CHANGES
|
@ -1,3 +1,16 @@
|
|||
2021-09-17 Jerry Lundström
|
||||
|
||||
Release 2.7.1
|
||||
|
||||
This release fixes issues with constructing wire-format DNS when the
|
||||
domain names includes escaped characters such as `\123` or `\.`.
|
||||
|
||||
Other changes:
|
||||
- Bump Debian package compat level to 10
|
||||
|
||||
4873f02 DNS encoding
|
||||
c4eccc0 debhelper
|
||||
|
||||
2021-08-09 Jerry Lundström
|
||||
|
||||
Release 2.7.0
|
||||
|
|
20
configure
vendored
20
configure
vendored
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.69 for dnsperf 2.7.0.
|
||||
# Generated by GNU Autoconf 2.69 for dnsperf 2.7.1.
|
||||
#
|
||||
# Report bugs to <admin@dns-oarc.net>.
|
||||
#
|
||||
|
@ -590,8 +590,8 @@ MAKEFLAGS=
|
|||
# Identity of this package.
|
||||
PACKAGE_NAME='dnsperf'
|
||||
PACKAGE_TARNAME='dnsperf'
|
||||
PACKAGE_VERSION='2.7.0'
|
||||
PACKAGE_STRING='dnsperf 2.7.0'
|
||||
PACKAGE_VERSION='2.7.1'
|
||||
PACKAGE_STRING='dnsperf 2.7.1'
|
||||
PACKAGE_BUGREPORT='admin@dns-oarc.net'
|
||||
PACKAGE_URL='https://github.com/DNS-OARC/dnsperf/issues'
|
||||
|
||||
|
@ -1360,7 +1360,7 @@ if test "$ac_init_help" = "long"; then
|
|||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures dnsperf 2.7.0 to adapt to many kinds of systems.
|
||||
\`configure' configures dnsperf 2.7.1 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
|
@ -1431,7 +1431,7 @@ fi
|
|||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of dnsperf 2.7.0:";;
|
||||
short | recursive ) echo "Configuration of dnsperf 2.7.1:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
|
@ -1570,7 +1570,7 @@ fi
|
|||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
dnsperf configure 2.7.0
|
||||
dnsperf configure 2.7.1
|
||||
generated by GNU Autoconf 2.69
|
||||
|
||||
Copyright (C) 2012 Free Software Foundation, Inc.
|
||||
|
@ -1939,7 +1939,7 @@ cat >config.log <<_ACEOF
|
|||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by dnsperf $as_me 2.7.0, which was
|
||||
It was created by dnsperf $as_me 2.7.1, which was
|
||||
generated by GNU Autoconf 2.69. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
|
@ -2802,7 +2802,7 @@ fi
|
|||
|
||||
# Define the identity of the package.
|
||||
PACKAGE='dnsperf'
|
||||
VERSION='2.7.0'
|
||||
VERSION='2.7.1'
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
|
@ -14410,7 +14410,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by dnsperf $as_me 2.7.0, which was
|
||||
This file was extended by dnsperf $as_me 2.7.1, which was
|
||||
generated by GNU Autoconf 2.69. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
|
@ -14477,7 +14477,7 @@ _ACEOF
|
|||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
||||
ac_cs_version="\\
|
||||
dnsperf config.status 2.7.0
|
||||
dnsperf config.status 2.7.1
|
||||
configured by $0, generated by GNU Autoconf 2.69,
|
||||
with options \\"\$ac_cs_config\\"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# limitations under the License.
|
||||
|
||||
AC_PREREQ(2.64)
|
||||
AC_INIT([dnsperf], [2.7.0], [admin@dns-oarc.net], [dnsperf], [https://github.com/DNS-OARC/dnsperf/issues])
|
||||
AC_INIT([dnsperf], [2.7.1], [admin@dns-oarc.net], [dnsperf], [https://github.com/DNS-OARC/dnsperf/issues])
|
||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
||||
AC_CONFIG_SRCDIR([src/dnsperf.c])
|
||||
AC_CONFIG_HEADER([src/config.h])
|
||||
|
|
|
@ -111,12 +111,11 @@ perf_result_t perf_dname_fromstring(const char* str, size_t len, perf_buffer_t*
|
|||
for (at = 0; at < len; at++) {
|
||||
if (*(str + at) == '\\') {
|
||||
at++;
|
||||
if (at >= len)
|
||||
return PERF_R_FAILURE;
|
||||
if (*(str + at) >= '0' && *(str + at) <= '9') {
|
||||
char b[4];
|
||||
long v;
|
||||
memcpy(b, str, 3);
|
||||
memcpy(b, str + at, 3);
|
||||
at += 2;
|
||||
b[3] = 0;
|
||||
v = strtol(b, 0, 7);
|
||||
if (v < 0 || v > 255)
|
||||
|
@ -124,6 +123,8 @@ perf_result_t perf_dname_fromstring(const char* str, size_t len, perf_buffer_t*
|
|||
perf_buffer_putuint8(target, (uint8_t)v);
|
||||
continue;
|
||||
}
|
||||
} else if (*(str + at) == '.') {
|
||||
break;
|
||||
}
|
||||
perf_buffer_putmem(target, str + at, 1);
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
|
||||
CLEANFILES = test*.log test*.trs \
|
||||
test2.out test4.out test4err.out key.pem cert.pem
|
||||
test2.out test4.out test4err.out key.pem cert.pem test6.out
|
||||
|
||||
TESTS = test1.sh test2.sh test3.sh test4.sh test5.sh
|
||||
TESTS = test1.sh test2.sh test3.sh test4.sh test5.sh test6.sh
|
||||
|
||||
EXTRA_DIST = $(TESTS) \
|
||||
datafile datafile2 updatefile datafile3 datafile4 datafile5
|
||||
datafile datafile2 updatefile datafile3 datafile4 datafile5 datafile6
|
||||
|
|
|
@ -465,11 +465,11 @@ top_builddir = @top_builddir@
|
|||
top_srcdir = @top_srcdir@
|
||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||
CLEANFILES = test*.log test*.trs \
|
||||
test2.out test4.out test4err.out key.pem cert.pem
|
||||
test2.out test4.out test4err.out key.pem cert.pem test6.out
|
||||
|
||||
TESTS = test1.sh test2.sh test3.sh test4.sh test5.sh
|
||||
TESTS = test1.sh test2.sh test3.sh test4.sh test5.sh test6.sh
|
||||
EXTRA_DIST = $(TESTS) \
|
||||
datafile datafile2 updatefile datafile3 datafile4 datafile5
|
||||
datafile datafile2 updatefile datafile3 datafile4 datafile5 datafile6
|
||||
|
||||
all: all-am
|
||||
|
||||
|
@ -694,6 +694,13 @@ test5.sh.log: test5.sh
|
|||
--log-file $$b.log --trs-file $$b.trs \
|
||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||
test6.sh.log: test6.sh
|
||||
@p='test6.sh'; \
|
||||
b='test6.sh'; \
|
||||
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
||||
--log-file $$b.log --trs-file $$b.trs \
|
||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||
.test.log:
|
||||
@p='$<'; \
|
||||
$(am__set_b); \
|
||||
|
|
26
src/test/datafile6
Normal file
26
src/test/datafile6
Normal file
|
@ -0,0 +1,26 @@
|
|||
\" A
|
||||
\001 A
|
||||
\". A
|
||||
a\". A
|
||||
\"a. A
|
||||
a\"a. A
|
||||
a\"a\". A
|
||||
\!\"a\". A
|
||||
\001. A
|
||||
a\001. A
|
||||
\001a. A
|
||||
a\001a. A
|
||||
a\001\001\001a. A
|
||||
a\001a\001a\001. A
|
||||
\".\". A
|
||||
a\".a\". A
|
||||
\"a.\"a. A
|
||||
a\"a.a\"a. A
|
||||
a\"a\".a\"a\". A
|
||||
\!\"a\".\!\"a\". A
|
||||
\001.\001. A
|
||||
a\001.a\001. A
|
||||
\001a.\001a. A
|
||||
a\001a.a\001a. A
|
||||
a\001\001\001a.a\001\001\001a. A
|
||||
a\001a\001a\001.a\001a\001a\001. A
|
7
src/test/test6.sh
Executable file
7
src/test/test6.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh -xe
|
||||
|
||||
test "$TEST_DNSPERF_WITH_NETWORK" = "1" || exit 0
|
||||
|
||||
../dnsperf -vvv -d "$srcdir/datafile6" -s 1.1.1.1 >test6.out
|
||||
|
||||
grep "NXDOMAIN 26" test6.out
|
Loading…
Add table
Reference in a new issue