On Mon, Jun 22, 2020 at 08:13:11AM +0100, Brian Candler wrote: > On 22/06/2020 07:03, Otto Moerbeek wrote: > > AF 2 is inet, not inet6, in /usr/include/sys/socket.h on my (OpenBSD) > > machine: > > > > #define AF_INET 2 > > Ah I see, I was going by pdns/dnstap.proto: > > // SocketFamily: the network protocol family of a socket. This specifies how > // to interpret "network address" fields. > enum SocketFamily { > INET = 1; // IPv4 (RFC 791) > INET6 = 2; // IPv6 (RFC 2460) > }
Yes, it is confusing, the IANA assigned numbers differ from the internal AF_* values... -Otto > > > > The problem is your version of the fstrm lib only supports unix domain > > sockets. inet and inet6 support are recent addtions to libfstrm. > > That makes a lot of sense - thank you. > > root@cache2:~# dpkg-query -l | grep fstrm > ii libfstrm0:amd64 0.3.0-1build1 amd64 Frame > Streams (fstrm) library > root@cache2:~# ldd /usr/sbin/pdns_recursor | grep fstrm > libfstrm.so.0 => /usr/lib/x86_64-linux-gnu/libfstrm.so.0 > (0x00007f031ef14000) > > Ubuntu 20.04 has version 0.6.0, which is the latest release. I'll try that. > > Cheers, > > Brian. > _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users