<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mdnsd, branch master</title>
<subtitle>OpenWrt MDNS daemon</subtitle>
<id>https://git.openwrt.org/project/mdnsd/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/mdnsd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/'/>
<updated>2026-02-07T12:37:55Z</updated>
<entry>
<title>dns: validate IPv4 record addresses</title>
<updated>2026-02-07T12:37:55Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2026-02-06T20:16:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=a52cdb354d13c179150d2ba26f9f8a51d418b43d'/>
<id>urn:sha1:a52cdb354d13c179150d2ba26f9f8a51d418b43d</id>
<content type='text'>
Ensure the IPv4 PTR address contains exactly four numbers, and no excess
characters.

This avoids leaving ip1 potentially uninitialized for shorter prefixes.

Fixes: 2b28094 ("dns: add support for reverse address mapping queries")
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
</entry>
<entry>
<title>dns: validate IPv6 record addresses</title>
<updated>2026-02-07T12:37:55Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2026-02-06T20:14:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=b798c24205b5572cd8f2b79f3ef5857bb5de3180'/>
<id>urn:sha1:b798c24205b5572cd8f2b79f3ef5857bb5de3180</id>
<content type='text'>
IPv6 PTR record addresses always alternate dots and nibbles, so check
that the request name follows that, and reject if not.

This avoids overrunning temp_ip if the prefix contains more than 16
non-dot characters.

Fixes: TOB-OWRT-2
Fixes: 2b28094 ("dns: add support for reverse address mapping queries")
Reported-by: Trail of Bits
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
</entry>
<entry>
<title>dns: validate reverse dns query name lengths</title>
<updated>2026-02-07T10:03:18Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2026-02-06T19:36:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=a3dcb4adc635132ded9b5e88a049dc784fac36d9'/>
<id>urn:sha1:a3dcb4adc635132ded9b5e88a049dc784fac36d9</id>
<content type='text'>
Validate reverse dns query names length to be able to be valid names:

For IPv6 records there is a fixed name length of 72 (32 nibbles + 31
dots + ".ip6.arpa".

For Ipv4 it's a bit more complicated since the decimal numbers have
variable lenghts, so we need to check a range.

Reject any names that do not fit within those bounds. This also ensures
that the name fits into name_buf{,6}.

Fixes: TOB-OWRT-1
Fixes: 2b28094 ("dns: add support for reverse address mapping queries")
Reported-by: Trail of Bits
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: require CMake &gt;= 3.10 due to dropped legacy support</title>
<updated>2025-10-04T11:29:11Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2025-10-04T11:29:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=2f75344fd0cc848558bf2ea3a94c0bf8b903ff89'/>
<id>urn:sha1:2f75344fd0cc848558bf2ea3a94c0bf8b903ff89</id>
<content type='text'>
CMake version 4.0 and later require minimum version of 3.5 or later.
Update to minimum version 3.10 which is the last not deprecated minimum
version.

CMake 3.10 was released in November 2017 and is included in Ubuntu 18.04.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>dns: add support for reverse address mapping queries</title>
<updated>2025-05-28T22:40:37Z</updated>
<author>
<name>Rahul Thakur</name>
</author>
<published>2024-02-20T07:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=2b28094d31caa75cd60ef86f0a27a793beaff968'/>
<id>urn:sha1:2b28094d31caa75cd60ef86f0a27a793beaff968</id>
<content type='text'>
The mdnsd currently does not have the capability of responding to
reverse address mapping dns requests for either IPv4 or IPv6.

This commit adds support to handle reverse address mapping and
respond with hostname if the address matches that of the DUT.

Signed-off-by: Rahul Thakur &lt;rahul.thakur@iopsys.eu&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt; [cleanup]
</content>
</entry>
<entry>
<title>Make mdns responder case-insensitive.</title>
<updated>2025-05-28T22:28:57Z</updated>
<author>
<name>Avi</name>
</author>
<published>2025-03-11T02:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=cecbe1c0caaee3de70bea0413b9f90d4b5b5ca36'/>
<id>urn:sha1:cecbe1c0caaee3de70bea0413b9f90d4b5b5ca36</id>
<content type='text'>
From [the RFC](https://github.com/openwrt/mdnsd/blob/master/rfc6762.txt#L2532-L2550):

&gt;  The simple rules for case-insensitivity in Unicast DNS [RFC1034]
   [RFC1035] also apply in Multicast DNS; that is to say, in name
   comparisons, the lowercase letters "a" to "z" (0x61 to 0x7A) match
   their uppercase equivalents "A" to "Z" (0x41 to 0x5A).  Hence, if a
   querier issues a query for an address record with the name
   "myprinter.local.", then a responder having an address record with
   the name "MyPrinter.local." should issue a response.  No other
   automatic equivalences should be assumed.

Fixes #15.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>ubus: fix ubus announcements txt fields</title>
<updated>2025-05-28T22:28:43Z</updated>
<author>
<name>Andrew Karpow</name>
</author>
<published>2025-05-25T04:02:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=695ac3708aa014aee9be77f91da2699eef1b4c66'/>
<id>urn:sha1:695ac3708aa014aee9be77f91da2699eef1b4c66</id>
<content type='text'>
The txt field of multicast dns is defined as an array of concatenated
length-values, where length is encoded in the first byte and value is a
non-NUL terminated string.
The ubus announcements callback tokenized the txt buffer by dividing
it between non-ASCII characters. This works fine for values with a
length &lt;32 characters, but not for longer strings.
This patch correctly deserializes the txt values and removes the need
for dynamic allocation.

Signed-off-by: Andrew Karpow &lt;andy@ndyk.de&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt; [minor cleanup]
</content>
</entry>
<entry>
<title>interface: when interface properties change, reinitialise</title>
<updated>2025-05-28T22:24:55Z</updated>
<author>
<name>James Haggerty</name>
</author>
<published>2025-03-10T23:46:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=632953a1582dceb3472ed459c03df1fbb5e0717b'/>
<id>urn:sha1:632953a1582dceb3472ed459c03df1fbb5e0717b</id>
<content type='text'>
Without this, when the ip addresses on an interface changed it
would no longer interact correctly with the interface.

Addresses #20

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>service: add support for setting service specific hostname</title>
<updated>2025-05-28T22:22:17Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2025-05-28T22:22:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=ce508467a533424f97d1c3f9997e19bb1a1900fb'/>
<id>urn:sha1:ce508467a533424f97d1c3f9997e19bb1a1900fb</id>
<content type='text'>
Fixes: https://github.com/openwrt/mdnsd/issues/17
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>interface: ask for unicast responses by default</title>
<updated>2025-05-28T22:07:48Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2025-05-28T22:07:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/mdnsd/commit/?id=55d0c1bc1ac594af413e2d94a56e21b0d78346dc'/>
<id>urn:sha1:55d0c1bc1ac594af413e2d94a56e21b0d78346dc</id>
<content type='text'>
When able to bind the socket without REUSEPORT, unicast responses can
be received on the main port. Indicate that in outgoing questions in order
to reduce unnecessary multicast traffic.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
