From owner-freebsd-questions@freebsd.org Wed Jan 20 02:19:27 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 98E984E6F4C for ; Wed, 20 Jan 2021 02:19:27 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DL8NZ4z12z3JLb for ; Wed, 20 Jan 2021 02:19:26 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=ldU7LLhY/iiS7HKED9Vdb4NYkc7oxhuD4i9+d8ofS8w=; b=BH4IO3NXfua5yGoCRaRz4Zl9MJ xXSWYfHH7Q3ba/u4FuEZJ0rHRLbwmPy+LC9RsNl+7jInsjuuvS87O6toqnc35apixvNooMLH7woPw dcodPOfe3R1ZvKxX8xleid9XUNH19W7X1Kc/ex//NG29SJuFH5sjtaN7OBN0HSOb6zR0=; Received: from vas by admin.sibptus.ru with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1l235g-0000IZ-1e for freebsd-questions@freebsd.org; Wed, 20 Jan 2021 09:19:24 +0700 Date: Wed, 20 Jan 2021 09:19:24 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: "avahi-browse -a" does not show hosts on LAN Message-ID: <20210120021924.GA603@admin.sibptus.ru> References: <20210117173628.GA11235@admin.sibptus.ru> <20210119055402.GA26903@admin.sibptus.ru> <20210119084633.44a8ede92689c65c789fe4de@aim.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <20210119084633.44a8ede92689c65c789fe4de@aim.com> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 4DL8NZ4z12z3JLb X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=BH4IO3NX; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-6.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:19f0:5001:21dc::10:from]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:19f0:5001:21dc::10:from:127.0.2.255]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2021 02:19:27 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Aim via freebsd-questions wrote: > > >=20 > > > Do you have any idea why a FreeBSD host sees only itself in the > > > "avahi-browse -a" output?=20 > > >=20 > > > There are other hosts on the LAN segment, and "avahi-browse -a" on an > > > Ubuntu host does show them (and does not show itself, which is > > > reasonable). > >=20 > > Created a PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252819 > >=20 >=20 > It works OK here: I wonder, what's different between your setup and mine? From the output bel= ow you can see that the name dexp1.local exists mDNS, 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._t= cp local + re1 IPv4 VAS _device-info._t= cp 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=3D0 ttl=3D64 time=3D0.212 ms 64 bytes from 192.168.170.252: icmp_seq=3D1 ttl=3D64 time=3D0.425 ms 64 bytes from 192.168.170.252: icmp_seq=3D2 ttl=3D64 time=3D0.291 ms ^C --- dexp1.local ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 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 amd= 64 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJgB5MsAAoJEA2k8lmbXsY0MewIAIRz3kP+KOGawxyyHbU7seAW t13PNBuSuqTlKgixm14pxcPAOQCkcwydHfB3mrS2U/SX3MsDkavQ8HVtu1H6bC9T h9w1ZfnpYJhtou87fZPVj4SGSM7j5cIOp4iiD3UwOUrUA81CpN3hehNfwwUhypwn H5bJ2Pbo2J/G7WKCI1k/ZWBm5v8j/oEVVse/iyMg+eag0QwnDi65eUZSzNKj7Va8 Xp0dyoaIjT5oDth5xxvF5xmbMen/1AMLDmVNj7OEmBAs4T5X8/779IQbS2SRPuov mr655kT8dDXDBGYORFsOXDDJN20LcwXsIYmIZ+Le9KCFJ3SA1sLP48u5JE4xwNo= =PfRn -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--