Fwd: avahi not registering services with port number "0". added patch.
Rouven WEILER
Rouven_Weiler at gmx.net
Tue Apr 16 18:41:15 UTC 2019
Hey Günter,
here it is.
The original one can be found here (https://raw.githubusercontent.com/OpenIndiana/oi-userland/oi/hipster/components/network/samba/patches/11-avahi-register.patch)
In case it does not work another time…
Best reagards
Rouven
>
>
>
>>
>>
>>> Am 16.04.2019 um 16:56 schrieb Günther Deschner <gd at samba.org>:
>>>
>>> Hi Rouven,
>>>
>>> hm, the attached patch had 0 bytes. Can you re-send the patch ?
>>>
>>> Thanks,
>>> Guenther
>>>
>>> On 02/04/2019 13:54, Rouven WEILER via samba-technical wrote:
>>>>
>>>> In avahi.c there are two mdns services registered under port number "0" for propagation. The two services for the fuit:model named "_device-info" and "_adisk" are not propagated properly under.
>>>>
>>>> Digging on MacOS shows that "_adisk" uses e.g. port number 9 in the TimeCapsule. "_device-info" is not a service at all due to IANA. It is just a TXT entry. The mDNSResponder in MacOS does propagate that at startup. This function is not ported to other implementation. Setting "_device-info" being propagated on port 9 does then work well.
>>>>
>>>> Summed up: Setting both port number to 9 make everything work well. Since "9" is the "discard" port (to my knowledge something like a network "/dev/null") and since there is no real service behind "_device-info" and "_adisk" setting the ports seem reasonable to me.
>>>>
>>>> Additional info: https://www.illumos.org/issues/10577
>>>>
>>>
>>>
>>> --
>>> Günther Deschner GPG-ID: 8EE11688
>>> Red Hat gdeschner at redhat.com
>>> Samba Team gd at samba.org
>>>
>>
>
More information about the samba-technical
mailing list