1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
|
Change Log
==========
All relevant changes to the project are documented in this file.
[v0.12][] - 2023-01-22
----------------------
IPv6 support, including a lot of fixes and cleanup again from the team
at [devolo AG](https://www.devolo.com).
### Changes
- libmdnsd, mquery, and mdnsd: add support for IPv6 AAAA records,
including display in mquery, by Florian Zschocke, devolo AG
- mdnsd: add `-H hostname` support, for testing purposes mainly
- mquery: add `-l debug` support
- mquery: Display every answer we get when in `mdnsd-scan` mode
- Initial support for test framework, including unit testing w/ cmocka
- Add support for disabling installation of man pages
- Add support for building without `mquery`
### Fixes
- Fix #11: port to other UNIX systems, currently tested on the following
operating systems, except Linux, should also work on later versions:
- FreeBSD 13
- NetBSD 9.1
- OpenBSD 6.8
- DragonFly BSD 5.8
- SunOS solaris 5.11 omnios-r151034
- Fix #49: various typos in log messages
- Fix #52: double free, introduced in v0.11
- Fix #55: mDNS conflict check, fixed by Florian Zschocke, devolo AG
- Fix #56: parsing of A record from packet must maintain network byte
order, found and fixed by Florian Zschocke, devolo AG
- Fix #65: libmdnsd: Make SPRIME actually a prime number, found and
fixed by Florian Zschocke, devolo AG
- Fix #74: fix segfault when mdnsd interface is removed
[v0.11][] - 2022-01-09
----------------------
Multiple interface support, and a lot of fixes again from the team at
[devolo AG](https://www.devolo.com).
### Changes
- Add support for multiple interfaces. Similar to running one
mdnsd v0.10 per interface, sharing the same .conf files, issue #8
- Drop `-a ADDR` command line option, not applicable anymore
- Drop `-p` command line option, not needed anymore
- The `-i IFACE` option now limits mdnsd to run on one interface
- Add support for query type ANY, by Peter Fleer, issue #34
- The libmdnsd function `mdnsd_step()` is now always non-blocking by
employing `MSG_DONTWAIT` for its `sendto()` and `recvfrom()` ops
- Create PID file when starting up, and touch on .conf reload. This
is used by process supervisors like Finit to acknowledge that the
process (mdnsd) is done and ready to serve requests again
- Updated mquery tool to behave a bit more like mdns-scan(1), except
with more command line options. mquery still only runs on one
interface, unlike mdnsd itself
### Fixes
- Fix #33: multiple code cleanups and minor fixes by Wolfgang Rösler
- Fix #35: validate port number in .conf file
- Fix #38: possible NULL pointer dereference and memory leaks when
reading .conf files, by Wolfgang Rösler
- Fix #39: multiple fixes by Peter Fleer
- Fix conflict detection
- If a conflict is detected, append `-index` suffix to hostname
to uniqify the name -- this happens in multi-deploy scenarios
- When reloading .conf files, delete previously published records
- Drop own, looped back, multicast packets -- only if we detect
it as our own published records
- Send publish records only if probes have gone unanswered
- Fix #43: `_ldecomp()` breaking on long name offsets, by Chris Beaumont
[v0.10][] - 2020-05-06
----------------------
Bug fix release, thanks to [devolo AG](https://www.devolo.com).
### Changes
- Update man page and add `mdnsd.service.5` to document how to write
service record files.
### Fixes
- Memory leak fixes courtesy of Peter Fleer and Wolfram Rösler
- Append text field to the TXT record instead of the A record, in the
case of a PTR type, the name must also match. Found and fixed by
Peter Fleer
- Fix potential endless loop when decoding message labels, found and
fixed by Wolfram Rösler
- Skip message processing when the packet parser failed, found and
fixed by Wolfram Rösler
- Misc. fuzzer fixes, found and fixed by Wolfram Rösler
[v0.9][] - 2020-04-02
---------------------
Bug fix and license clarification release.
### Changes
- Update Debian packaging, split into several packages
- Minor updates to README
- Add manual pages mdnsd(8) and mquery(1)
- Clarify placeholders in BSD-3 license, spotted by Thomas Bong
### Fixes
- Fix #20: segfault that may occur when a new node is allocated, by
Colin MacKenzie IV
- Fix #22: check for both name *and* type in `mdnsd_find()`, otherwise
any previous name matching may be considered an existing node, found
and fixed by Thomas Bong
- Fix #23: possible NULL pointer dereference when comparing strings
[v0.8][] - 2018-08-23
---------------------
Huge thanks to Jeremie Miller for the original mDNS implementation, to
Stefan Profanter for fixing the code from the early days, and also to
Thom Nichols for careful testing and nudging me to finalize the work and
get a proper release out there.
Apologies for the terse change log, there are a lot of changes to Jer's
original, in a sense this is a brand new project. This is a pre-release
of the upcoming v1.0 with some important to remember limitations:
- no IPv6,
- only handles one interface (no multi-homing), and
- only one A record can be announced per service
### Changes
- Added support for systemd unit file
- Added example SSH service record in `/etc/mdns.d/ssh.service`
- Added support for building Debian/Ubuntu `.deb` packages
- Renamed example mhttp appliation to mdnsd
- Added support for running as a proper UNIX daemon
- Added support for logging to syslog
- Added proper option parsing
- Added configuration file support, or rather DNS record file support
- Added GNU configure & build system to ease building and portability
- Added support for mDNS-SD service discovery/enumeration, i.e., the
`mdns-scan` tool finds and reports services mdnsd announces
- Added support for announcing multiple service records
### Fixes
- Build fixes for recent versions of clang and gcc
- Build fixes for Alpine Linux and other musl libc based systems
- Default IP TTL value for multicast frames (224.0.0.251) is now 1
- Fixed endian problems and other issues with `mdns_set_ip()`
- Fixed triggering of unicast reply to mDNS query due to missing `ntohs()`
- Fixed service record TTLs; 120 and 4500 are RFC recommended values
- Fixed memory leaks
[UNRELEASED]: https://github.com/troglobit/mdnsd/compare/v0.12...HEAD
[v0.12]: https://github.com/troglobit/mdnsd/compare/v0.11...v0.12
[v0.11]: https://github.com/troglobit/mdnsd/compare/v0.10...v0.11
[v0.10]: https://github.com/troglobit/mdnsd/compare/v0.9...v0.10
[v0.9]: https://github.com/troglobit/mdnsd/compare/v0.8...v0.9
[v0.8]: https://github.com/troglobit/mdnsd/compare/v0.7G...v0.8
|