I have uploaded nsd 4.13.0 to Debian unstable. According to your blog
post I noticed you added XDP support, but that it requires building with
--enable-xdp, see discussion:
What do you think about building with this flag in the Debian package?
Any reasons this may break unrelated things?
I think we are years away from a new Debian release, so it will only be
used by people tracking Debian unstable and testing, which I suspect few
use in production. Which may be a good fit to get wider testing.
Also, by default, it seems some *.o files are installed into
$(sharedfilesdir) which became /usr/share/nsd for me, see Makefile.in:
if test -n "@xdp@"; then $(INSTALL_DATA) xdp-dns-redirect_kern.o $(DESTDIR)$(sharedfilesdir)/xdp-dns-redirect_kern.o; fi
if test -n "@xdp@"; then $(INSTALL_DATA) xdp-dns-redirect_kern_pinned.o $(DESTDIR)$(sharedfilesdir)/xdp-dns-redirect_kern_pinned.o; fi
These are architecture-dependent files, aren't they? Is there some
standard non-/usr/share location for these files that you could use?
This may be a Debian-specific concern, I asked the same here:
Also, by default, it seems some *.o files are installed into
$(sharedfilesdir) which became /usr/share/nsd for me, see Makefile.in:
if test -n "@xdp@"; then $(INSTALL_DATA) xdp-dns-redirect_kern.o $(DESTDIR)$(sharedfilesdir)/xdp-dns-redirect_kern.o; fi
if test -n "@xdp@"; then $(INSTALL_DATA) xdp-dns-redirect_kern_pinned.o $(DESTDIR)$(sharedfilesdir)/xdp-dns-redirect_kern_pinned.o; fi
These are architecture-dependent files, aren't they? Is there some
standard non-/usr/share location for these files that you could use?
Although these files are technically for a specific architecture (that being
eBPF), they are architecture-*in*dependent with regard to x86, ARM, etc.
eBPF programs are compatible across CPU architectures, as they get executed by
the eBPF "VM" inside the Linux kernel.