aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/diff/Makefile.depend
diff options
context:
space:
mode:
authorR. Christian McDonald <rcm@FreeBSD.org>2026-11-27 01:48:10 +0000
committerR. Christian McDonald <rcm@FreeBSD.org>2026-11-27 01:48:10 +0000
commit948598a0d8e9aa992409c4d763ed235117e92020 (patch)
treefac39a28c6fdefc74b0865289b1089effc0ff472 /gnu/usr.bin/diff/Makefile.depend
parent68d4c95925656e301be7bcaec72a6796cc02a00b (diff)
syslogd: Create one forwarding socket per address pairHEADmain
For each address a forwarding destination resolves to, make_forw_socket_array() creates a socket bound to the address of each listening socket and connects it to the destination. The same <laddr, raddr> pair can come up more than once for one rule: the resolver may return an address twice, e.g. when a host name appears on several /etc/hosts lines for one IP, and several listening sockets may be bound to one address. connect() then fails with EADDRINUSE. maybe_dup_forw_socket() only searches the rules parsed earlier, so the casper process exits and syslogd dies with "Failed to xfer configuration nvlist" on every start and reload. Skip address pairs the rule already has a socket for. A second socket would add nothing, and with -A it would send each message twice. Reported by: Marcos Mendoza Reviewed by: markj Fixes: ae4f708f0b38 ("syslogd: Ensure that forwarded...") See also: https://redmine.pfsense.org/issues/16966 MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D61493
Diffstat (limited to 'gnu/usr.bin/diff/Makefile.depend')
0 files changed, 0 insertions, 0 deletions