[avahi] Local only services

Trent Lloyd lathiat at bur.st
Thu Jan 24 11:20:21 PST 2008


Hi Yavor,

On 25/01/2008, at 3:46 AM, Yavor Goulishev wrote:

> Hi all,
> I'm trying to register local only services.
> The services should not be visible from other machines.
>
> I can do this with Bonjour by passing the interface index  
> kDNSServiceInterfaceIndexLocalOnly (-1) to the DNSServiceRegister  
> function call.
>
> Unfortunately I can't do this with Avahi. Passing -1 for the  
> interface index means unspecified.
> Looking at the core code, this feature is not implemented.
> Are there any plans for implementing it?
> Is there any other way to register local only services with Avahi?

I wonder why you would do this? This is not really what avahi is  
designed to do and seems like a bit of an abuse of it.

What is your specific application?

Regards,
Trent


More information about the avahi mailing list