Great!<br>I 
really 
need 
this 
feature.<br>BTW 

tried 
implementing 
something, 
but 
I&#39;m 
not 
that 
much 
familiar 
with 
the 
avahi 
internals.<br>I&#39;m 
attaching 
my 
patch. 
Basically 

was 
able 
to 
transfer 
registered 
local 
services 
into 
the 
cache 
without 
receiving 

messages 
on 
the 
network.<br>Of 
course 
that 
is 
just 
one 
step. 
The 
cache 
needs 
to 
be 
kept 
up 
to 
date.<br>I 
used 
the 
following 
call 
to 
test:<br>&nbsp; 
&nbsp; 
avahi_server_add_service(server, 
group, 
1, 
AVAHI_PROTO_UNSPEC, 
AVAHI_PUBLISH_NO_ANNOUNCE, 
&quot;My 
Service 
Name&quot;, 
&quot;_daap._tcp&quot;, 
NULL, 
NULL, 
7777, 
&quot;foo&quot;, 
NULL);<br><br>I 
used 
avahi-0.6.21 
source.<br><br>--Yavor<br><br>PS: 
I&#39;ll 
file 

wishlist bug 
too.<br><br><div class="gmail_quote">On Feb 12, 2008 6:17 AM, Lennart Poettering &lt;<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, 24.01.08 10:46, Yavor Goulishev (<a href="mailto:ygoulishev@gmail.com">ygoulishev@gmail.com</a>) wrote:<br><br>&gt; Hi all,<br>&gt; I&#39;m trying to register local only services.<br>&gt; The services should not be visible from other machines.<br>
&gt;<br>&gt; I can do this with Bonjour by passing the interface index<br>&gt; kDNSServiceInterfaceIndexLocalOnly (-1) to the DNSServiceRegister function<br>&gt; call.<br>&gt;<br>&gt; Unfortunately I can&#39;t do this with Avahi. Passing -1 for the interface index<br>
&gt; means unspecified.<br>&gt; Looking at the core code, this feature is not implemented.<br>&gt; Are there any plans for implementing it?<br><br></div>Hmm, I wasn&#39;t aware of this feature of Bonjour. It might make sense to<br>
add this. Please file a wishlist bug on our BTS so I don&#39;t forget<br>about this.<br><br>I see no practical reason why we shouldn&#39;t implement something like this.<br><div class="Ih2E3d"><br>&gt; Is there any other way to register local only services with Avahi?<br>
<br></div>Nope. We have some stuff to implement the inverse (i.e. not show local<br>services), but I guess that doesn&#39;t help much..,<br><br>Lennart<br><font color="#888888"><br>--<br>Lennart Poettering &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Red Hat, Inc.<br>
lennart [at] poettering [dot] net &nbsp; &nbsp; &nbsp; &nbsp; ICQ# 11060553<br><a href="http://0pointer.net/lennart/" target="_blank">http://0pointer.net/lennart/</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GnuPG 0x1A015CC4<br>_______________________________________________<br>
</font><div><div></div><div class="Wj3C7c">avahi mailing list<br><a href="mailto:avahi@lists.freedesktop.org">avahi@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/avahi" target="_blank">http://lists.freedesktop.org/mailman/listinfo/avahi</a><br>
</div></div></blockquote></div><br>