[Bug 51501] Avahi doesn't notify us when a contact drops off the network.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 4 07:59:18 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=51501
--- Comment #7 from Ajay Garg <ajaygargnsit at gmail.com> 2012-07-04 05:59:18 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > https://tools.ietf.org/html/draft-cheshire-dnsext-multicastdns-15#section-10
> > suggests that the time-to-live of the mDNS record is likely to be 120 seconds,
> > although we might set it to something else in Salut.
>
> Salut doesn't change the TTL from the default. However, PTR records in Avahi
> seem to get a TTL of 75 minutes, by using AVAHI_DEFAULT_TTL instead of
> AVAHI_DEFAULT_TTL_HOST_NAME:
>
> /** The default TTL for RRs which contain a host name of some kind. */
> #define AVAHI_DEFAULT_TTL_HOST_NAME (120)
>
> /** The default TTL for all other records. */
> #define AVAHI_DEFAULT_TTL (75*60)
>
> The Internet-Draft says:
>
> As a general rule, the recommended TTL value for Multicast DNS
> resource records with [...] a host name contained within the resource
> record's rdata (e.g. SRV, reverse mapping PTR record, etc.) SHOULD be
> 120 seconds.
>
> so this is probably an Avahi bug?
Thanks a ton Simon for your technical analysis.
So, what would you suggest ::
a)
Should telepathy change the TTL to "AVAHI_DEFAULT_TTL_HOST_NAME" (if possible)
for all cases ?
b)
Should Avahi change the TTL to "AVAHI_DEFAULT_TTL_HOST_NAME" for all cases ?
If yes, what is the bugtracker/mailing-lists for Avahi?
c)
If either of a) or b) is followed, would it cause one of the exisiting
telepathy signals' callbacks to be hit? (for
http://telepathy.freedesktop.org/spec/Connection_Interface_Contact_List.html#Signal:ContactsChangedWithID
??)
d)
Any how, if this is a simple fix, please do let me know the approach to be
followed. I will be too happy to come up with a patch :D :D
Thanks again Will and Simon for your time.
Regards,
Ajay
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list