[avahi] Can't browse published services

Lennart Poettering lennart at poettering.net
Wed Jan 3 10:57:17 PST 2007

On Wed, 03.01.07 11:42, robert (robert at atlantico.com.br) wrote:

> > Do you have a firewall running, blocking port 5353?
> nmap both locally and via another machine on the lan seems to imply 5353 is 
> open: 
> /root> nmap -sU -p5353
> Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2007-01-03 12:50 WET
> Interesting ports on
> PORT     STATE         SERVICE
> 5353/udp open|filtered unknown
> MAC Address: 00:11:11:E3:CF:84 (Intel)

Hmm, nmap is probably not the best tool to check whether UDP ports
are accesible.

Please make sure that you don't have any firewall configured, with
"iptables -L -n".

Apparently UDP communication on port 5353 doesn't work on your
machine. Please try "tcpdump -i eth0 -n udp port 5353" and then run
"avahi-resolve-host-name yourhost.local" at the same time. Then,
tcpdump should show you two packets: the question and the
reply. Something like this:

19:54:42.683111 IP >  0 [2q] A? ecstasy.local. AAAA? ecstasy.local. (37)
19:54:42.695170 IP >  0*- [0q] 1/0/0 (Cache flush) A (41)


Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/

More information about the avahi mailing list