Home | History | Annotate | Download | only in mDNSPosix
History log of /src/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c
RevisionDateAuthorComments
 1.20  06-Sep-2025  skrll PR/58778: mDNS spams console with recent build

Default to logging off.

OK christos
 1.19  26-Oct-2024  christos branches: 1.19.2;
Merge conflicts between 878.30.4 and 2559.1.1
 1.18  30-Jun-2023  gutteridge branches: 1.18.2;
PosixDaemon.c: restore NetBSD logging additions lost in merges

Restore part of local modifications r. 1.2 & 1.4 from tsarna@. One
aspect could not be carried forward, as Apple dropped the bug detection
query functionality that was formerly represented by the teststate
member of the DNSServer struct. Otherwise, reapplied almost verbatim,
except for minor consistency and style changes.

This was added again in part as an example should there be a need to
add further logging content for NetBSD's purposes. (DumpStateLog() has
changed further as of Apple's 1790.80.10 release, but should we roll
forward, our means here should still be viable.)
 1.17  30-Jun-2023  gutteridge PosixDaemon.c: convert tabs to spaces to match coding style

Match Apple's coding style for this project. (In part for those of us
who have tabs visually representing four spaces!)
 1.16  29-May-2023  andvar mdnsd(8): restore fixes for PR bin/46758, lost on resolving merge conflicts.
Original commit message from Roy Marples:
"Derive our primary interface and address by trying to connect to an
address in the TEST-NET-2 network as noted in RFC5737 instead of using
the 1.1.1.1 address. Also, use port 7 (echo) for better style.
Fixes PR bin/46758 thanks to Lloyd Parkes."

pullups needed for netbsd-9, netbsd-10.
 1.15  27-May-2023  andvar reapply changes for the built-in drop-privs support by tsarna.
this commit doesn't reapply "dumping of the unicast server list
to the DumpStateLog debugging output" enhancement.
It doesn't build anymore, no idea how to rewrite.
Should fix PR 57442. Needs pull-ups for netbsd-9, netbsd-10.
 1.14  22-Jul-2020  roy branches: 1.14.6;
mdnsd: Make the unable to parse resolv.conf message informative

resovconf will SIGHUP mdnsd when resolv.conf changes so this message
should not be an error.
 1.13  21-Jul-2020  roy mdnsd: starting and stopping are informational messages
 1.12  11-Apr-2018  christos branches: 1.12.4;
Add the missing lock.
 1.11  03-Mar-2018  christos branches: 1.11.2;
Fix Reproducible builds by obeying MDNS_VERSIONSTR_NODTS in all cases.
Reported by wiz@
 1.10  14-Jan-2018  christos resolve conflicts
 1.9  14-Jan-2018  christos merge conflicts
 1.8  15-Oct-2015  roy Derive our primary interface and address by trying to connect to an
address in the TEST-NET-2 network as noted in RFC5737 instead of using
the 1.1.1.1 address. Also, use port 7 (echo) for better style.
Fixes PR bin/46758 thanks to Lloyd Parkes.

While here, if we do fail to connect to the test address, don't spam
this to the console as it's a common case during the boot sequence.
 1.7  15-Oct-2015  roy Starting and stopping should be informational messages to avoid console
spam.
 1.6  24-Mar-2014  pettai Import mDNSResponder-258.14, merge, fix conflicts
 1.5  17-Dec-2010  joerg branches: 1.5.6; 1.5.12;
Kill use of __DATE__ and __TIME__ in SCCS strings.
 1.4  24-Oct-2009  tsarna Add interface list dump to debugging output.
 1.3  03-Oct-2009  tsarna Make signals match what OS X and the manpage say. Implement toggles for
debug and packet trace logging.

Make this conditional on HAVE_SIGINFO. Presumably lack of SIGINFO as a
standard posix feature is why they went with different signals here in
the first place, but since we have it, let's use it.
 1.2  01-Oct-2009  tsarna mdnsd enhancements and fixes:

- Enhance the built-in drop-privs support and use it instead of
having the rc.conf do it. Avoids log error on startup.
From OpenSolaris, with enhancements.
- Add dumping of the unicast server list to the DumpStateLog
debugging output, a'la Mac OS X.
- Fix a locking botch that caused warnings in the log.
- Fix FILE leak. From OpenSolaris.
 1.1  29-Sep-2009  tsarna branches: 1.1.1;
Initial revision
 1.1.1.6  26-Oct-2024  christos Import mDNSResponder-2559.1.1 (previous was 878.30.4)
Can't find a ChangeLog...
 1.1.1.5  14-Jan-2018  christos import latest version
 1.1.1.4  14-Jan-2018  christos import latest mDNSResponder
 1.1.1.3  31-Mar-2014  pettai Import mDNSResponder-320.16, as previous import (258.14) is quite old
 1.1.1.2  24-Mar-2014  pettai Import mDNSResponder-258-14 as per discussion with gdt@ and cristos@
 1.1.1.1  29-Sep-2009  tsarna Import Apple's mDNSResponder 212.1 per tech-net discussion
 1.5.12.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.11.2.1  16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.12.4.3  03-Jun-2023  martin Pull up following revision(s) (requested by andvar in ticket #1641):

external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c: revision 1.7
external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c: revision 1.16

mdnsd(8): restore fixes for PR bin/46758, lost on resolving merge conflicts.

Original commit message from Roy Marples:
"Derive our primary interface and address by trying to connect to an
address in the TEST-NET-2 network as noted in RFC5737 instead of using
the 1.1.1.1 address. Also, use port 7 (echo) for better style.
Fixes PR bin/46758 thanks to Lloyd Parkes."
 1.12.4.2  28-May-2023  martin Pull up following revision(s) (requested by andvar in ticket #1634):

external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c: revision 1.15

reapply changes for the built-in drop-privs support by tsarna.

this commit doesn't reapply "dumping of the unicast server list
to the DumpStateLog debugging output" enhancement.
It doesn't build anymore, no idea how to rewrite.

Should fix PR 57442. Needs pull-ups for netbsd-9, netbsd-10.
 1.12.4.1  26-Jul-2020  martin Pull up following revision(s) (requested by roy in ticket #1023):

external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c: revision 1.6
external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c: revision 1.17
external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c: revision 1.13
external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c: revision 1.14

mdnsd: Treat EADDRNOTAVAIL as a transient error

mdnsd: starting and stopping are informational messages

mdnsd: Make the unable to parse resolv.conf message informative
 1.14.6.2  03-Jun-2023  martin Pull up following revision(s) (requested by andvar in ticket #193):

external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c: revision 1.7
external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c: revision 1.16

mdnsd(8): restore fixes for PR bin/46758, lost on resolving merge conflicts.

Original commit message from Roy Marples:
"Derive our primary interface and address by trying to connect to an
address in the TEST-NET-2 network as noted in RFC5737 instead of using
the 1.1.1.1 address. Also, use port 7 (echo) for better style.
Fixes PR bin/46758 thanks to Lloyd Parkes."
 1.14.6.1  28-May-2023  martin Pull up following revision(s) (requested by andvar in ticket #183):

external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c: revision 1.15

reapply changes for the built-in drop-privs support by tsarna.

this commit doesn't reapply "dumping of the unicast server list
to the DumpStateLog debugging output" enhancement.
It doesn't build anymore, no idea how to rewrite.

Should fix PR 57442. Needs pull-ups for netbsd-9, netbsd-10.
 1.18.2.1  02-Aug-2025  perseant Sync with HEAD
 1.19.2.1  01-Oct-2025  martin Pull up following revision(s) (requested by skrll in ticket #39):

external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c: revision 1.20

PR/58778: mDNS spams console with recent build

Default to logging off.

OK christos

RSS XML Feed