[avahi] Reg: Avahi publishing SRV records

Sharath Naeni cs09b021 at gmail.com
Tue Oct 1 23:09:23 UTC 2019


Another thing we observed is that if we modify serviceType(*_cohesity._tcp*
to* _cohesity1._tcp)* , we don't see any SRV records from node 10.2.196.113
in the network. Should we change the way we call function
'avahi_entry_group_add_service_strlst' so that it won't publish SRV records?

Please let us know if any more info is needed. Any input would help us
solve the issue with too much avahi traffic in the network.

Thanks in advance.

Regards,
Sharath

On Wed, Sep 25, 2019 at 11:40 PM Sharath Naeni <cs09b021 at gmail.com> wrote:

> Attached packet capture received on a node(port 5353) in the network from
> ip 10.2.196.113(Another node in the network whose publishing PTR record
> 'NexusFreeNode-181140263382948._cohesity._tcp.local' on avahi.)
> This packet capture has both PTR records and SRV records, Couldn't
> understand why this node (10.2.196.113) is publishing SRV records of
> service running on other nodes.
> Please let me know if you need any more information.
>
> Thanks in advance.
>
> Regards.
>
> On Wed, Sep 25, 2019 at 4:59 PM Trent Lloyd <trent at lloyd.id.au> wrote:
>
>> Can you attach a pcap file showing the relevant packets?
>>
>> - Trent
>>
>> > On 26 Sep 2019, at 6:46 am, Sharath Naeni <cs09b021 at gmail.com> wrote:
>> >
>> > 
>> > Hello All,
>> >
>> > We have a local network of 50 nodes which are publishing on avahi(with
>> no flags, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC). We have noticed that
>> avahi-daemon is using (>100%) CPU and goes into bad state. (avahi-browse
>> complains "Daemon connection timedout")
>> >
>> > So we did a tcpdump of packets received by a node and observed that
>> each node in addition to publishing PTR record with it's own service, also
>> publishing SRV record with details of other 49 nodes. This increased the
>> avahi traffic in the network and we think that heavy traffic is causing
>> avahi-daemon to go into bad state.
>> >
>> > We would like to understand why:
>> > 1. Avahi-daemon is publishing SRV records and is there any way to
>> disable this functionality.
>> > 2. From source code, we noticed that avahi-daemon does process SRV
>> records and hence too many SRV records in the network is causing
>> avahi-daemon hung. Is our hypothesis correct?
>> >
>> > Version (avahi-daemon 0.6.31)
>> > publish-aaaa-on-ipv4=no
>> > publish-a-on-ipv6=no
>> > [reflector]
>> > enable-reflector=no
>> > reflect-ipv=no
>> >
>> > Thanks in advance. Any insights would be great help to us.
>> >
>> > Regards.
>> > _______________________________________________
>> > avahi mailing list
>> > avahi at lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/avahi
>>
>> _______________________________________________
>> avahi mailing list
>> avahi at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/avahi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/avahi/attachments/20191001/81f3f25e/attachment.html>


More information about the avahi mailing list