Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale cache contents #189

Open
hyc opened this issue Jun 29, 2018 · 2 comments
Open

Stale cache contents #189

hyc opened this issue Jun 29, 2018 · 2 comments
Labels

Comments

@hyc
Copy link

hyc commented Jun 29, 2018

It seems that avahi-daemon needs a mechanism to flush its cache contents when its network interfaces change state. After months of uptime on my laptop, multiple suspend/resume cycles in hotels and conference centers scattered around the world, I noticed that it was broadcasting a lot of nonexistent services on my home LAN.

20:23:16.243797 IP (tos 0x0, ttl 255, id 50905, offset 0, flags [DF], proto UDP (17), length 575)
192.168.1.204.5353 > 224.0.0.251.5353: 0 [41q] PTR (QM)? _ipps._tcp.local. SRV (QM)? CharlieM-bM-^@M-^Ys MacBook Air._afpovertcp._tcp.local. SRV (QM)? CharlieM-bM-^@M-^Ys MacBook Air._smb._tcp.local. SRV (QM)? CharlieM-bM-^@M-^Ys MacBook Air._sftp-ssh._tcp.local. TXT (QM)? CharlieM-bM-^@M-^Ys MacBook Air._smb._tcp.local. TXT (QM)? CharlieM-bM-^@M-^Ys MacBook Air._afpovertcp._tcp.local. TXT (QM)? CharlieM-bM-^@M-^Ys MacBook Air._sftp-ssh._tcp.local. SRV (QM)? e7450._sftp-ssh._tcp.local. TXT (QM)? e7450._sftp-ssh._tcp.local. SRV (QM)? linux-oe2k._sftp-ssh._tcp.local. TXT (QM)? linux-oe2k._sftp-ssh._tcp.local. SRV (QM)? linux-hufw._sftp-ssh._tcp.local. TXT (QM)? linux-hufw._sftp-ssh._tcp.local. SRV (QM)? ultra-trouble._sftp-ssh._tcp.local. TXT (QM)? ultra-trouble._sftp-ssh._tcp.local. SRV (QM)? MTHELENA._smb._tcp.local. SRV (QM)? SMF-THINKPAD-P51._smb._tcp.local. TXT (QM)? MTHELENA._smb._tcp.local. TXT (QM)? SMF-THINKPAD-P51._smb._tcp.local. SRV (QM)? Erics MacBook Pro._afpovertcp._tcp.local. TXT (QM)? Erics MacBook Pro._afpovertcp._tcp.local. SRV (QM)? Inti._smb._tcp.local. SRV (QM)? Inti._sftp-ssh._tcp.local. TXT (QM)? Inti._smb._tcp.local. TXT (QM)? Inti._sftp-ssh._tcp.local. SRV (QM)? moncayo._sftp-ssh._tcp.local. TXT (QM)? moncayo._sftp-ssh._tcp.local. SRV (QM)? i-113204.local._sftp-ssh._tcp.local. TXT (QM)? i-113204.local._sftp-ssh._tcp.local. SRV (QM)? Magickakiin._ftp._tcp.local. TXT (QM)? Magickakiin._ftp._tcp.local. SRV (QM)? (:<>!^u---._ftp._tcp.local. TXT (QM)? (:<>!^u---._ftp._tcp.local. PTR (QM)? _ftp._tcp.local. PTR (QM)? _webdav._tcp.local. PTR (QM)? _webdavs._tcp.local. PTR (QM)? _sftp-ssh._tcp.local. PTR (QM)? _smb._tcp.local. PTR (QM)? _afpovertcp._tcp.local. PTR (QM)? _nfs._tcp.local. PTR (QM)? _ipp._tcp.local. (547)

After killing and restarting avahi-daemon these all went away. Should not have to kill/restart the daemon just to flush obsolete records from its cache.

@lathiat
Copy link
Contributor

lathiat commented Aug 2, 2018

Thanks for the report.

This definitely looks like an issue. I wonder if this would be fixed by the monotonic timer changes I have yet to merge.

Will need to look into this further

@lathiat lathiat added the bug label Aug 2, 2018
@lathiat
Copy link
Contributor

lathiat commented Feb 12, 2020

This is probably fixed by #96 (not yet merged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants