Bug 252819 - net/avahi-app: avahi-browse does not show hosts on a LAN segment
Summary: net/avahi-app: avahi-browse does not show hosts on a LAN segment
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-19 05:53 UTC by Victor Sudakov
Modified: 2021-01-20 02:19 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (desktop)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2021-01-19 05:53:06 UTC
"avahi-browse -a" shows only the FreeBSD host itself.
"avahi-browse -la" shows nothing.

Expected behaviour: it should show other hosts registered in mDNS.

There ARE other hosts on the LAN segment, and "avahi-browse -a" on an
Ubuntu host in the same segment, for example, does show them (Linux sees the FreeBSD host and the WiFi printer).

That said, the resolving of other hosts in the .local domain from the FreeBSD host (via mdns_minimal) works fine, so the avahi-daemon is functional.
Comment 1 Victor Sudakov 2021-01-20 02:19:40 UTC
From the output below you can see that the name dexp1.local exists, but it is not browseable ("VAS" is the name of the local host):

vas@vas ~] avahi-browse -at
+    re1 IPv6 vas                                           _ssh._tcp            local
+    re1 IPv4 vas                                           _ssh._tcp            local
+    re1 IPv6 vas                                           _sftp-ssh._tcp       local
+    re1 IPv4 vas                                           _sftp-ssh._tcp       local
+    re1 IPv6 VAS                                           _device-info._tcp    local
+    re1 IPv4 VAS                                           _device-info._tcp    local
+    re1 IPv6 VAS                                           _smb._tcp            local
+    re1 IPv4 VAS                                           _smb._tcp            local
[vas@vas ~] ping dexp1.local
PING dexp1.local (192.168.170.252): 56 data bytes
64 bytes from 192.168.170.252: icmp_seq=0 ttl=64 time=0.212 ms
64 bytes from 192.168.170.252: icmp_seq=1 ttl=64 time=0.425 ms
64 bytes from 192.168.170.252: icmp_seq=2 ttl=64 time=0.291 ms
^C
--- dexp1.local ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.212/0.309/0.425/0.088 ms
[vas@vas ~] uname -a
FreeBSD vas.sibptus.ru 12.2-RELEASE-p1 FreeBSD 12.2-RELEASE-p1 GENERIC  amd64