[avahi] avahi not publishing ssh/sftp records

Lennart Poettering lennart at poettering.net
Mon Aug 27 04:57:14 PDT 2007


On Tue, 21.08.07 22:31, Janos Farkas (chexum+0f4f4 at gmail.com) wrote:

> Hi!

Hi!

> I have two, software-wise quite similar machines, running custom
> built, and reasonably (but not always exactly) the same version of
> packages, kernels, etc.

I assume this is Linux?

> 
> There are two main differences: one of them is an old K6 acting as a
> gateway via a bunch of vlan interfaces, the other is a much more
> recent Athlon having a single ethernet interface (well, active).
> 
> The thing that bothers me:
> 
> avahi-browse -at looks the same on both machines (apart from vlan1<>eth0)
> + vlan1 IPv4 K8                                            SSH Remote
> Terminal  local
> + vlan1 IPv4 SFTP File Transfer on K8                      SFTP File
> Transfer   local
> + vlan1 IPv4 K8 [XX:XX:XX:XX:XX:XX]                        Workstation
>        local
> + vlan1 IPv4 GW [XX:XX:XX:XX:XX:XX]
> Workstation

[...]

> When watched closely, GW does send out registration requests(?) only
> once (and receives it back correctly).  K8 does this cycle two more
> times then announces "successfully established".

Three subsequent "Probe" requests should be normal behaviour. 

> 
> Is avahi on GW confused by the extra vlan interfaces?  The ppp
> interface?  The IP-less eth interface?  Why is basic .local name
> registration working?  Is this a bug, or a feature?
> How can I help resolve this?  It's somewhat annoying to not be able
> use bssh :)

Hmm, it is very interesting that apparently the workstation service
has been registered on both machines while the ssh/sftp services are
not. This looks very suspicious. I have no experience with VLANs. Is
it possible that the packets sent out on one vlan iface are looped
back on the other?

If you register a service manually on GW, by calling:

avahi-publish-service test _test._tcp 80

does this work?

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the avahi mailing list