NSD 4.3.2rc1 pre-release

Hi,

NSD 4.3.2rc1 pre-release is available:
https://nlnetlabs.nl/downloads/nsd/nsd-4.3.2rc1.tar.gz
sha256 c99bf7c14b70d92dec53a2e13cbc0f210061e4099471cfdfa54c71c8e0f9fd77
pgp https://nlnetlabs.nl/downloads/nsd/nsd-4.3.2rc1.tar.gz.asc

This is the maintainer's pre-release.

This release has bug fixes and some new options. The new commandline
option for nsd '-v' shows the configure line and library versions. The
log-only-syslog option stops duplicate log messages with systemd if
enabled. And the min-expire-time option stops zones from having an
expire time that is too low, forcing too much effort by zone fetching.

4.3.2

Hello Wouter,

I compiled the new version and noted not one single warning.

But there is no change regarding my current issue.
I reviewed the list archive. The current symtoms (segfault after AXFR) look /very/ similar to a solved issue last year:
https://lists.nlnetlabs.nl/pipermail/nsd-users/2019-June/002693.html

Andreas

But there is no change regarding my current issue.
I reviewed the list archive. The current symtoms (segfault after AXFR) look /very/ similar to a solved issue last year:
https://lists.nlnetlabs.nl/pipermail/nsd-users/2019-June/002693.html

just build an run with minimal configuration:

$ ./configure && make

# cat /tmp/nsd.conf
server:
  ip-address: 127.0.0.1@5353
  xfrdir: /tmp/
  xfrdfile: "/tmp/xfrd.state"
  database: ""
  debug-mode: yes

# nsd -v
NSD version 4.3.2
Written by NLnet Labs.

Configure line: --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/nsd --srcdir=. --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules
Event loop: libev 4.25 (uses epoll)
Linked with OpenSSL 1.1.1g 21 Apr 2020

Copyright (C) 2001-2006 NLnet Labs. This is free software.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.

# cat /etc/debian_version
10.4

# echo "10.4 = Debian Buster ..."

# nsd -c /tmp/nsd.conf
[2020-07-07 22:51:10.114] nsd[5297]: notice: nsd starting (NSD 4.3.2)
[2020-07-07 22:51:10.161] nsd[5298]: notice: nsd started (NSD 4.3.2), pid 5297

<pressing STRG+C>

^C[2020-07-07 22:51:13.878] nsd[5298]: warning: signal received, shutting down...
[2020-07-07 22:51:13.879] nsd[5298]: error: problems sending command 11 to server 5299: Broken pipe

I think, on STRG+C no error should happen. Maybe there is any relation to "warning: process terminated with status 11"

Hi Andreas,

You may want to set (export) CFLAGS="-g -O0" before running configure
and then start NSD through valgrind (valgrind nsd ...). The output will
(hopefully) show where NSD accesses already freed or uninitialized
memory as status 11 indicates a segmentation fault.

Cheers,
Jeroen

Hi,

NSD 4.3.2 release is available:
https://nlnetlabs.nl/downloads/nsd/nsd-4.3.2.tar.gz
sha256 5b5cee2f80ed451f19e02dee620c71a98a781bd72a55810e0acc925fecaa8329
pgp https://nlnetlabs.nl/downloads/nsd/nsd-4.3.2.tar.gz.asc

This release has bug fixes and some new options. The new commandline
option for nsd '-v' shows the configure line and library versions. The
log-only-syslog option stops duplicate log messages with systemd if
enabled. And the min-expire-time option stops zones from having an
expire time that is too low, forcing too much effort by zone fetching.

4.3.2

Hello Wouter,

(sorry for reporting an minor issue just after release)

I run ./configure --with-pidfile="" to avoid nsd is dealing with a pidfile.
This was suggested here: https://lists.nlnetlabs.nl/pipermail/nsd-users/2020-May/002868.html

But unfortunately "make install" fail:
...
./install-sh -c -d /usr/local/sbin
./install-sh -c -d /etc/nsd
./install-sh -c -d
install: no input file specified

I guess, it's this: https://github.com/NLnetLabs/nsd/blob/master/Makefile.in#L127

Andreas

Hi Andreas,

NSD 4.3.2 release is available:
https://nlnetlabs.nl/downloads/nsd/nsd-4.3.2.tar.gz

Hello Wouter,

(sorry for reporting an minor issue just after release)

I run ./configure --with-pidfile="" to avoid nsd is dealing with a pidfile.
This was suggested here: https://lists.nlnetlabs.nl/pipermail/nsd-users/2020-May/002868.html

But unfortunately "make install" fail:
...
./install-sh -c -d /usr/local/sbin
./install-sh -c -d /etc/nsd
./install-sh -c -d
install: no input file specified

I guess, it's this: https://github.com/NLnetLabs/nsd/blob/master/Makefile.in#L127

Yes it is. Fixed it in
https://github.com/NLnetLabs/nsd/commit/490bfcb0fd8d7b47e781b633dafee1d83e93cb3a

Thanks for the report.

Best regards, Wouter