I am playing around a bit with Bonjour and for prototyping I use the Pybonjour library, which seemed to work like a charm for my first trials. However, when I try to create a service that is visible in Finder, I fail hard. I used this page as a reference for the service identifiers to use. The document specifies which services are browseable in Finder.
I tried _afpovertcp._tcp
and it appeared instantly in Finder. The two more interesting ones (_webdav._tcp, _ftp._tcp
) however, does not. Am I missing some required component, or is this a configuration error (e.g. some built-in firewall enabled by default?). I am using Snow Leopard 10.6.3 for the test.
I also tried the server part on an Ubuntu machine with exactly the same result. Additionally, I noticed that the Terminal.app discovers the FTP server (on both the Ubuntu and OSX server).
EDIT: Update: SMB (_smp._tcp
) works, same behavior as AFP.
I am seeing these possibilities:
- Finder requires something more than just the service string
- Discovery of FTP and WebDAV services is turned off by default and needs to be enabled somehow
- Discovery of FTP and WebDAV has been removed in snow leopard (let's hope not!!)