Commit Graph

11 Commits

Author SHA1 Message Date
tron
2f71c69757 Remove generated file "mdnsd.8" in "cleandir" target. 2009-10-18 17:43:11 +00:00
tron
1ce7a503cf Fix off by one in parser for "/etc/resolv.conf" found by SSP. 2009-10-18 11:54:37 +00:00
tsarna
94ebcd4993 Add nss_mdns, a nsswitch plugin for host lookups vis mDNS ("Bonjour"),
eg "hostname.local".  This is a work in progress, but basically
functional. (note: this requires mdnsd to be running.)
2009-10-05 03:54:17 +00:00
tsarna
3c8b3fccbd 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.
2009-10-03 00:03:05 +00:00
christos
5cf5db250b if __packed exists, use it. I might revert this later when I fully implement
attribute for lint.
2009-10-02 21:05:10 +00:00
tsarna
a4329df0cc 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.
2009-10-01 16:36:20 +00:00
tron
0b95c5420c Disable stack protection warnings for "uds_daemon.c" which allocates
variable sized buffers on the stack.
2009-10-01 10:01:14 +00:00
tron
fd27aaa40c Disable stack protection warnings for "dnssd_clientstub.c" which allocates
variable sized buffers on the stack.
2009-10-01 09:35:08 +00:00
tsarna
7b256d8f31 Two minor tweaks:
- Build with MDNS_VERSIONSTR_NODTS a'la OpenSolaris, to exclude
  __DATE__/__TIME__, for repeatable builds.

- log under "mdnsd" instead of "mDNSResponder" to reduce confusion.
2009-10-01 00:22:03 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00
tsarna
49d9bf9d6b Import Apple's mDNSResponder 212.1 per tech-net discussion 2009-09-29 22:14:03 +00:00