lwIP - A Lightweight TCP/IP stack - Bugs: bug #49134, mDNS should not advertise invalid...
You are not allowed to post comments on this tracker with your current authentication level.
bug #49134: mDNS should not advertise invalid IPv4 address
Submitter: | Daniel Elstner <danielk> | ||
Submitted: | Mon 19 Sep 2016 09:18:32 PM UTC | ||
Category: | DNS | Severity: | 3 - Normal |
Item Group: | Change Request | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | git head |
Mon 26 Sep 2016 10:10:01 AM UTC, comment #4: |
Erik Ekman <yarrick> |
Wed 21 Sep 2016 10:40:16 AM UTC, comment #3: I applied the patch because it does normally make things better. The MDNS code has a TODO in its header to implement "goodbye messages" which would resolve my objections. |
Dirk Ziegelmeier <dziegel> |
Tue 20 Sep 2016 01:07:31 PM UTC, comment #2: Good question. I checked the DHCP code and it does reset the IP to 0.0.0.0 on nak/release, so that part is fine.
|
Daniel Elstner <danielk> |
Tue 20 Sep 2016 10:27:48 AM UTC, comment #1: What happens if a device "looses" its IP address, e.g. DHCP lease expires / stop DHCP client. The will be no MDNS announcement of IP loss?
|
Dirk Ziegelmeier <dziegel> |
Mon 19 Sep 2016 09:18:32 PM UTC, original submission:
The lwIP mDNS documentation says:
|
Daniel Elstner <danielk> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-09-21 | dziegel | Status | None | Fixed | |
Open/Closed | Open | Closed | |||
2016-09-20 | danielk | Attached File | - | Added 0001-Fix-bug-49134-Do-not-announce-invalid-IPv4-address-v.patch, #38580 | |
2016-09-19 | danielk | Attached File | - | Added 0001-Do-not-announce-an-invalid-IPv4-address-via-mDNS.patch, #38559 |
Powered by Savane 3.13-02a9.
Corresponding source code
It is recommended to use AUTOIP (169.254/16 addresses) to always have an IPv4 address when using mDNS.
But the patch looks good anyway.