[avahi] Registering to a specific interface?
mbishop at perforce.com
Mon Aug 18 17:52:58 PDT 2008
Thank you for considering it. In our use case, we provide a small
local webserver that users can run on their system that provides a web
interface to our server. Currently, it has a mode which, for security
reasons, refuses connections from anything other than the local
machine (ie. the local web-browser).
For the convenience of our users, we'd still like the local web-
browser to show the zeroconf-registered local-webserver, but since it
won't accept connections from outside machines, it doesn't make sense
to advertise it to outside machines.
The user in this case just needs to start the local webserver and open
their browser to see it in the list of available servers.
On Aug 18, 2008, at 4:58 PM, Trent Lloyd wrote:
> Hi Michael,
> On 19/08/2008, at 7:04 AM, Michael Bishop wrote:
>> Avahi folk,
>> I'm most used to the DNSSD calls and am trying to find similar
>> functionality in avahi. I see that when registering a service using
>> Bonjour, I can specify a specific interface upon which to register...
>> In particular, I can specify a constant so it will register in a way
>> that only processes on the local machine can see it
>> Is there a way to do this in Avahi?
> Actually, we don't support this.
> This is something that seemed a bit silly to us originally so we never
> implemented it. [Why use DNS-SD for local services!? :)]
> However, this has been requested before:
> And a patch was provided although we have not committed this to date.
> Perhaps I will review this a little later.
> Certainly however this is not available in the currently shipping
> avahi mailing list
> avahi at lists.freedesktop.org
More information about the avahi