chrome listens on udp port 5353 in conflict with avahi-daemon
Reported by
matthijs...@gmail.com,
Aug 14
|
|||||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Steps to reproduce the problem:
1. start chrome
2. check for open udp ports
What is the expected behavior?
chrome should use the system's mDNS stack (avahi) if it wants to browse for (or publish) mDNS records
What went wrong?
chrome opens udp sockets on port 5353:
root:~# ss -lup src :mdns | cut -b 34-
Local Address:Port Peer Address:Port
0.0.0.0:mdns 0.0.0.0:* users:(("chrome",pid=22621,fd=76))
0.0.0.0:mdns 0.0.0.0:* users:(("avahi-daemon",pid=19639,fd=12))
*:mdns *:* users:(("chrome",pid=22621,fd=114))
[::]:mdns [::]:* users:(("avahi-daemon",pid=19639,fd=13))
If avahi-daemon is restarted while chrome is running, it explicitly warns about this situation:
avahi-daemon[19639]: *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
avahi-daemon[19639]: *** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Did this work before? N/A
Chrome version: 68.0.3440.106 Channel: stable
OS Version: debian sid
Flash Version: Shockwave Flash 30.0 r0
,
Aug 17
,
Aug 17
Very similar to Issue 859359. Comment #22 describes a way to turn off mDNS listening.
,
Aug 17
I'm not asking about disabling mDNS. I'm saying chrome should use the system-provided mDNS stack when available, especially since Avahi warns (presumably with reason) that running multiple mDNS stacks on the same host can adversely affect reliability.
,
Aug 21
Need to investigate cooperating w/ Avahi on linux
,
Aug 21
Note that other platforms typically also have mDNS stacks, even Windows nowadays I think
,
Nov 7
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by swarnasree.mukkala@chromium.org
, Aug 15