Skip to content

resolve/mdns: do not append goodby packet entries to known answers section - #30096

Merged
bluca merged 1 commit into
systemd:mainfrom
yuwata:resolve-mdns-goodby
Jan 3, 2024
Merged

bluca merged 1 commit into
systemd:mainfrom
yuwata:resolve-mdns-goodby

Conversation

@yuwata

@yuwata yuwata commented Nov 20, 2023 •

Copy link
Copy Markdown
Member

When we receive a goodby packet about a host, and we have a cache entry about the host, we do not immediately remove the cache entry, but update it with TTL 1. See RFC 6762 section 10.1 and 3755027.

If we receive a request soon after the goodby packet, previously the entry was included in the known answers section of the reply. But such information should not be appended.

Follow-up for 3755027.

@yuwata yuwata added the resolve label Nov 20, 2023
@github-actions github-actions Bot added the please-review PR is ready for (re-)review by a maintainer label Nov 20, 2023
@yuwata

yuwata commented Nov 20, 2023

Copy link
Copy Markdown
Member Author

@vchillara I guess this replaces #22751. Could you take a look?

@github-actions

github-actions Bot commented Nov 20, 2023 •

Copy link
Copy Markdown

We had successfully released a new major release. We are no longer in a development freeze phase.
We will try our best to get back to your PR as soon as possible. Thank you for your patience.

@vchillara

Copy link
Copy Markdown
Contributor

@vchillara I guess this replaces #22751. Could you take a look?

I don't think this would replace #22751. This change is useful in itself, however #22751 serves a different purpose, as described in in this comment

@yuwata yuwata added this to the v256 milestone Nov 22, 2023
…ction

When we receive a goodby packet about a host, and we have a cache entry about
the host, we do not immediately remove the cache entry, but update it with TTL 1.
See RFC 6762 section 10.1 and 3755027.

If we receive a request soon after the goodby packet, previously the
entry was included in the known answers section of the reply. But such
information should not be appended.

Follow-up for 3755027.
@yuwata
yuwata force-pushed the resolve-mdns-goodby branch from c395b27 to 161edb8 Compare January 2, 2024 19:37
@bluca
bluca merged commit 04d4086 into systemd:main Jan 3, 2024
@github-actions github-actions Bot removed the please-review PR is ready for (re-)review by a maintainer label Jan 3, 2024
@yuwata
yuwata deleted the resolve-mdns-goodby branch January 3, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants