]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Only pass source addresses on sockets bound to ANY 15497/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 15 Apr 2025 08:34:47 +0000 (10:34 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 30 Apr 2025 09:12:07 +0000 (11:12 +0200)
commita14d29ed068a2a098d283922942fb03efb33ae0f
tree55bbaf2700066d9223d237670d7ff357b6277d6d
parent18d1656b232e3d9ed907b8df2257285c12a5ef1d
dnsdist: Only pass source addresses on sockets bound to ANY

FreeBSD refuses the use of `IP_SENDSRCADDR` on a socket that is
bound to a specific address, returning `EINVAL` in that case.

(cherry picked from commit 4ce6f5e8b532e103d9c16a54b92e9153ebfce2cb)
pdns/dnsdistdist/doh3.cc
pdns/dnsdistdist/doq-common.cc
pdns/dnsdistdist/doq-common.hh
pdns/dnsdistdist/doq.cc
pdns/iputils.hh