Re: [avahi] Local only services

2008-02-12 Thread Yavor Goulishev
 Great!
I really need this feature.
BTW I tried implementing something, but I'm not that much familiar with the
avahi internals.
I'm attaching my patch. Basically I was able to transfer registered local
services into the cache without receiving a messages on the network.
Of course that is just one step. The cache needs to be kept up to date.
I used the following call to test:
avahi_server_add_service(server, group, 1, AVAHI_PROTO_UNSPEC,
AVAHI_PUBLISH_NO_ANNOUNCE, "My Service Name", "_daap._tcp", NULL, NULL,
, "foo", NULL);

I used avahi-0.6.21 source.

--Yavor

PS: I'll file a wishlist bug too.

On Feb 12, 2008 6:17 AM, Lennart Poettering <[EMAIL PROTECTED]> wrote:

> On Thu, 24.01.08 10:46, Yavor Goulishev ([EMAIL PROTECTED]) 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?
>
> Hmm, I wasn't aware of this feature of Bonjour. It might make sense to
> add this. Please file a wishlist bug on our BTS so I don't forget
> about this.
>
> I see no practical reason why we shouldn't implement something like this.
>
> > Is there any other way to register local only services with Avahi?
>
> Nope. We have some stuff to implement the inverse (i.e. not show local
> services), but I guess that doesn't help much..,
>
> Lennart
>
> --
> Lennart PoetteringRed Hat, Inc.
> lennart [at] poettering [dot] net ICQ# 11060553
> http://0pointer.net/lennart/   GnuPG 0x1A015CC4
> ___
> avahi mailing list
> avahi@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
Index: entry.c
===
--- entry.c (revision 5067)
+++ entry.c (working copy)
@@ -52,6 +52,8 @@
 #include "rr-util.h"
 #include "domain-util.h"
 
+void avahi_transfer_zone_to_cache(AvahiServer * s);
+
 static void transport_flags_from_domain(AvahiServer *s, AvahiPublishFlags 
*flags, const char *domain) {
 assert(flags);
 assert(domain);
@@ -77,6 +79,8 @@
 assert(s);
 assert(e);
 
+avahi_transfer_zone_to_cache(s);
+
 avahi_goodbye_entry(s, e, 1, 1);
 
 /* Remove from linked list */
@@ -563,6 +567,25 @@
 return avahi_string_list_add_printf(strlst, AVAHI_SERVICE_COOKIE"=%u", 
s->local_service_cookie);
 }
 
+void avahi_transfer_zone_to_cache(AvahiServer * s)
+{
+/* Major Assumptions:
+   - The index of the "lo" interface is always 1.
+*/
+AvahiAddress a;
+avahi_address_parse("127.0.0.1", AVAHI_PROTO_INET, &a);
+AvahiInterface * i = avahi_interface_monitor_get_interface(s->monitor, 1, 
AVAHI_PROTO_INET);
+
+AvahiEntry *e;
+avahi_cache_flush(i->cache);
+for (e = s->entries; e; e = e->entries_next) {
+   if (e->dead) {
+   continue;
+   }
+   avahi_cache_update(i->cache, e->record, 1, &a);
+}
+}
+
 static int server_add_service_strlst_nocopy(
 AvahiServer *s,
 AvahiSEntryGroup *g,
@@ -665,6 +688,8 @@
 goto fail;
 }
 
+avahi_transfer_zone_to_cache(s);
+
 fail:
 if (ret != AVAHI_OK && !(flags & AVAHI_PUBLISH_UPDATE)) {
 if (srv_entry)
Index: probe-sched.c
===
--- probe-sched.c   (revision 5067)
+++ probe-sched.c   (working copy)
@@ -216,6 +216,8 @@
 return 1;
 }
 
+void avahi_transfer_zone_to_cache(AvahiServer * s);
+
 static void elapse_callback(AVAHI_GCC_UNUSED AvahiTimeEvent *e, void* data) {
 AvahiProbeJob *pj = data, *next;
 AvahiProbeScheduler *s;
@@ -224,6 +226,8 @@
 
 assert(pj);
 s = pj->scheduler;
+
+avahi_transfer_zone_to_cache(s->interface->monitor->server);
 
 if (pj->done) {
 /* Lets remove it  from the history */
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Crosscompiling Avahi onto a uClinux system

2008-02-12 Thread Lennart Poettering
On Fri, 08.02.08 12:22, Antony Barton ([EMAIL PROTECTED]) wrote:

> Hi everyone,

Hi!
  
> I'm a fairly inexperienced linux developer and i have been landed
> the task of implementing zeroconf on our embedded linux 2.4 system
> to provide the name translation service (so we can refer to each
> device - whose ip will invariably be unknown - by name), no other
> functionality is required and i would ideally like to omit for space
> considerations.

It might be quite a challange to make the standard Avahi daemon work
on systems that lack a proper fork(). Noone has done this before,
YMMV.

> Has anyone done this or something similar, and can anyone suggest
> what components of the avahi package would be necessary to achieve
> this? I have investigated bonjour also, but have had difficulties
> cross compiling it and i also get the impression that avahi is a
> more appropriate choice for a linux based system.

Yes, Avahi totally kicks ass ;-)

If you are interested only in the client side of name resolution
(i.e. resolve other names, not having you own stuff registered), than
you can use the legacy mini mdns stack of nss-mdns. 

If you want to have both name lookup and registration available you
probably should invest some time to get avahi working on systems which
lack a proper fork() (patches always welcome) and then disable almost
every "configure" option you can find. That should build quite a compact
daemon binary. And if that's still too large, you can easily write
your own mdns server based on libavahi-core in just 10 lines or
so. (which might actually be a good option anyway, because
then you can skip the fork-issues, because libavahi-core doesn't use
fork, only avahi-daemon which links against it does.)

Using libavahi-core directly is not well documented. If you have
trouble extracting the necessary code from the full avahi-daemon, then
feel free to ask.

lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem browsing service with avahi and wlan0

2008-02-12 Thread Lennart Poettering
On Tue, 12.02.08 09:47, Dave Lazar ([EMAIL PROTECTED]) wrote:

> > > Hmm, have you filed a buf upstream to that driver?
> >
> > s/buf/bug/ of course.
> >
> 
> Wow.. that is Greek to me.. I have a lot to learn... Thanks!

Oops, sorry. This is just a perl-style substitution regexp, basically
saying that I mistyped "buf" when I meant "bug". So originally I
wanted to say:

"Hmm, have you filed a bug upstream to that driver?"

Some things are not as complicated as they might look.

Yeah, stupid geek speak.

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem seeing available services

2008-02-12 Thread Lennart Poettering
On Tue, 12.02.08 09:46, Dave Lazar ([EMAIL PROTECTED]) wrote:

> > > Interesting...
> >
> > /32?
> 
> 
> I was only trying to say 192.168.1.0 through 192.168.1.255 as 192.168.1.0/32
> which I guess i got wrong... sorry!

That'd be /24.

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem browsing service with avahi and wlan0

2008-02-12 Thread Dave Lazar
Hi,

On Feb 12, 2008 9:33 AM, Lennart Poettering <[EMAIL PROTECTED]> wrote:

> On Tue, 12.02.08 15:28, Lennart Poettering ([EMAIL PROTECTED]) wrote:
>
> >
> > On Tue, 12.02.08 09:15, Dave Lazar ([EMAIL PROTECTED]) wrote:
> >
> > Hi!
> >
> > > *This rig used to work fine with Ubuntu 7.04 and network driver
> ipw3945. The
> > > change I made was to upgrade to Ubuntu 7.10 and switch to the iwl3945
> > > network driver. Googling for iwl3945 reveals some people have had some
> > > problems with it, so maybe that is the issue.
> >
> > Hmm, have you filed a buf upstream to that driver?
>
> s/buf/bug/ of course.
>

Wow.. that is Greek to me.. I have a lot to learn... Thanks!

Dave




>
> Lennart
>
> --
> Lennart PoetteringRed Hat, Inc.
> lennart [at] poettering [dot] net ICQ# 11060553
> http://0pointer.net/lennart/   GnuPG 0x1A015CC4
> ___
> avahi mailing list
> avahi@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Cross-compilation and Alternate Expat Location

2008-02-12 Thread Lennart Poettering
On Tue, 05.02.08 16:07, Grant Erickson ([EMAIL PROTECTED]) wrote:

> Has anyone run into, and found a viable patch for, an issue when
> cross-compiling Avahi 0.6.22 in which libtool insists on sourcing the local
> libexpat.so rather than the one I tell it to find via LDFLAGS?

The only clean way to fix this is to fix our configure script. patches welcome.

I have no experience with cross-building Avahi. And as its upstream
author I haven't heard of any experiences with that and haven't
received any patches.

I fear you are on your own on this!

Sorry,

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem seeing available services

2008-02-12 Thread Dave Lazar
Hi,

On Feb 12, 2008 9:33 AM, Lennart Poettering <[EMAIL PROTECTED]> wrote:

> On Tue, 12.02.08 09:21, Dave Lazar ([EMAIL PROTECTED]) wrote:
>
> Hi!
>
> > > > I am confused about where to fadebug my Workstation to again allow
> > > > avahi-browse to show me the services available. Can someone please
> point
> > > me
> > > > to some debug techniques here. I have confirmed on my workstation
> that
> > > > avahi-daemon is working. I am just not sure how to get it to find
> the
> > > server
> > > > services.
> > >
> > > FAQ #15?
>
> Oh, BTW I am sorry for responding three times with the same
> wisecracking response, I wasn't aware I was responding to the same guy
> all the time. ;-)


No problem.. I would do the same thing in your position.

>
>
> > It would be nice if there was a collection linked to this item
> presenting
> > the network drivers that exhibit this problem. If this is such a
> frequent
> > problem, then the list must be pretty easy to populate. I mysel used to
> use
> > the ipw3945 with no real ill effects, yet my investigations led me to
> > erroneously believe my world would be rocked if I switched to the much
> > improved iwl3945 driver. Now that I have done that and see that avahi on
> my
> > local interface wlan0 no longer works, it is perplexing. Is it truly
> this
> > driver. I have a VPN interface glued onto wlan0 called ham0, which is
> > showing the services offered by my server, so clearly, the network card
> and
> > driver are working fine on that subnet.
>
> This is Free Software and our web site -- including the FAQ -- is a
> wiki. You're welcome to make any changes you believe are suitable. To
> do this all that is necessary is registering (this is mostly spam
> protection, not even an email adress required) on the web site.
>

Of course..Amazing how few people choose to actually do writing for a good
cause.

>
> Free Software relies on the user's contributions! So be assured that
> we are happy about every user contributed change to our wiki! (except
> for wiki spamming changes, of course ;-) )
>
> > How is it explained that 192.168.1.0/32 does not work but 5.0.0.0/32 on
> the
> > same card/driver combo does work??? If multicast is broken, would that
> not
> > nullify the VPN too?
>
> >
> > Interesting...
>
> /32?


I was only trying to say 192.168.1.0 through 192.168.1.255 as 192.168.1.0/32
which I guess i got wrong... sorry!

>
>
> That looks very suspicious to me.
>
> Please note that mDNS is not really suitable for usage over VPNs. FAQ #9.



I am not purposely using the VPN but my notebook, with Hamachi VPN running
and my server running Hamachi VPN, allows my Bansee music player to take
advantage of music sharing over the ham0 interface . Since I cannot get
wlan0 to show the server... for whatever reason... the ham0 will do..
whether it is not suitable or suitable... it works...

Thanks for your time, I will continue to fight through this obnoxious
interface problem by concentrating perhaps on the iwl3945 driver and
multicast issues.. see if perhaps others have same problem...


Dave


>
> Lennart
>
> --
> Lennart PoetteringRed Hat, Inc.
> lennart [at] poettering [dot] net ICQ# 11060553
> http://0pointer.net/lennart/   GnuPG 0x1A015CC4
> ___
> avahi mailing list
> avahi@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Avahi published service only appears for less than 30 secs after starting daemon

2008-02-12 Thread Lennart Poettering
On Tue, 05.02.08 12:24, Michael Tyson ([EMAIL PROTECTED]) wrote:

> However, after some small amount of time - approximately 30 seconds - the 
> service disappears; it no longer appears in either app.  The avahi daemon 
> appears to still be running after this - it appears in the process list.
>
> After restarting the daemon, the service reappears again.
>
> As a workaround, I've made a script that restarts the avahi daemon every 30 
> seconds, but that is a less-than-ideal solution =)
>
> After reading reports that proprietary network card drivers can have issues 
> with multicast, I experimented with changing the virtual network device in 
> the VMWare configuration from the default 'vmxnet' - I tried 'e1000', which 
> appears not to be supported by the kernel, and 'vlance', which worked but 
> yielded exactly the same results - no service after approx 30 seconds.
>
> Can anyone suggest a possible path forward?

Uh, this sounds like yet another iteration of FAQ #15, this time
caused be the networking code in VMWare?

Since VMWare is not free software, I don't see how I can help you
fixing this issue, sorry. Try contacting VMWare support.

All I can recommend is checking with one wireshark running inside the
vm and another one outside of the vm if every single packet is
correctly transferred between them. With exponentially increasing time
intervals (i.e. 2s, 4s, ...) the avahi server should be announcing
every service. if that announcement doesn't go through, than it is
vmware's fault.

maybe vmware is running some stupid firewall on the stuff? maybe you
need to play around with "bridging" mode in vmware or so? 

Consider switching to free software. This will introduce you to a
whole lot of new exciting bugs, but at least they are fixable...

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem browsing service with avahi and wlan0

2008-02-12 Thread Lennart Poettering
On Tue, 12.02.08 15:28, Lennart Poettering ([EMAIL PROTECTED]) wrote:

> 
> On Tue, 12.02.08 09:15, Dave Lazar ([EMAIL PROTECTED]) wrote:
> 
> Hi!
> 
> > *This rig used to work fine with Ubuntu 7.04 and network driver ipw3945. The
> > change I made was to upgrade to Ubuntu 7.10 and switch to the iwl3945
> > network driver. Googling for iwl3945 reveals some people have had some
> > problems with it, so maybe that is the issue.
> 
> Hmm, have you filed a buf upstream to that driver?

s/buf/bug/ of course. 

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem seeing available services

2008-02-12 Thread Lennart Poettering
On Tue, 12.02.08 09:21, Dave Lazar ([EMAIL PROTECTED]) wrote:

Hi!

> > > I am confused about where to fadebug my Workstation to again allow
> > > avahi-browse to show me the services available. Can someone please point
> > me
> > > to some debug techniques here. I have confirmed on my workstation that
> > > avahi-daemon is working. I am just not sure how to get it to find the
> > server
> > > services.
> >
> > FAQ #15?

Oh, BTW I am sorry for responding three times with the same
wisecracking response, I wasn't aware I was responding to the same guy
all the time. ;-)

> It would be nice if there was a collection linked to this item presenting
> the network drivers that exhibit this problem. If this is such a frequent
> problem, then the list must be pretty easy to populate. I mysel used to use
> the ipw3945 with no real ill effects, yet my investigations led me to
> erroneously believe my world would be rocked if I switched to the much
> improved iwl3945 driver. Now that I have done that and see that avahi on my
> local interface wlan0 no longer works, it is perplexing. Is it truly this
> driver. I have a VPN interface glued onto wlan0 called ham0, which is
> showing the services offered by my server, so clearly, the network card and
> driver are working fine on that subnet.

This is Free Software and our web site -- including the FAQ -- is a
wiki. You're welcome to make any changes you believe are suitable. To
do this all that is necessary is registering (this is mostly spam
protection, not even an email adress required) on the web site. 

Free Software relies on the user's contributions! So be assured that
we are happy about every user contributed change to our wiki! (except
for wiki spamming changes, of course ;-) )

> How is it explained that 192.168.1.0/32 does not work but 5.0.0.0/32 on the
> same card/driver combo does work??? If multicast is broken, would that not
> nullify the VPN too?

> 
> Interesting...

/32?

That looks very suspicious to me.

Please note that mDNS is not really suitable for usage over VPNs. FAQ #9.

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem browsing service with avahi and wlan0

2008-02-12 Thread Lennart Poettering
On Tue, 12.02.08 09:15, Dave Lazar ([EMAIL PROTECTED]) wrote:

Hi!

> *This rig used to work fine with Ubuntu 7.04 and network driver ipw3945. The
> change I made was to upgrade to Ubuntu 7.10 and switch to the iwl3945
> network driver. Googling for iwl3945 reveals some people have had some
> problems with it, so maybe that is the issue.

Hmm, have you filed a buf upstream to that driver?

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] D-Bus Connection with avahi

2008-02-12 Thread Lennart Poettering
On Wed, 30.01.08 10:50, Marco Franke ([EMAIL PROTECTED]) wrote:

> Good morning,
> 
> I want to write a small programm which comunicates with avahi over DBus. I 
> want to create a service and I want to listen on services in network.
> 
> I have searched in your doku and in your source files but I have not founded 
> the D-Bus method to create a service and the
> method to listen.
> 
> There are D-Bus functions, which need as parameters the interface, the 
> protocols and the aprotocol as integers. 
> Where can I read which numbers is for what?

This is unfortunately not documented. Patches welcome.

The avahi-python bindings contain a listing of all necessary codes.

Also, the C API is mostly a 1:1 wrapper of the D-Bus API, so it should
be fairly easy to extract to appropriate enums from
avahi-common/defs.h and avahi-common/address.h.

The interface parameter just takes a system interface number. As
returned by if_nametoindex(). Use -1 if you want to register a service
on all interfaces at the same time (which is what most apps probably
want to do). protocol and aprptocol use the enum defined on top of
address.h. (i.e. 0 for INET4, 1 for INET6, -1 for both)

Hope this helps,

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem seeing available services

2008-02-12 Thread Dave Lazar
Hi,

On Feb 12, 2008 9:11 AM, Lennart Poettering <[EMAIL PROTECTED]> wrote:

> On Wed, 23.01.08 10:25, Dave Lazar ([EMAIL PROTECTED]) wrote:
>
> > I am confused about where to fadebug my Workstation to again allow
> > avahi-browse to show me the services available. Can someone please point
> me
> > to some debug techniques here. I have confirmed on my workstation that
> > avahi-daemon is working. I am just not sure how to get it to find the
> server
> > services.
>
> FAQ #15?
>

It would be nice if there was a collection linked to this item presenting
the network drivers that exhibit this problem. If this is such a frequent
problem, then the list must be pretty easy to populate. I mysel used to use
the ipw3945 with no real ill effects, yet my investigations led me to
erroneously believe my world would be rocked if I switched to the much
improved iwl3945 driver. Now that I have done that and see that avahi on my
local interface wlan0 no longer works, it is perplexing. Is it truly this
driver. I have a VPN interface glued onto wlan0 called ham0, which is
showing the services offered by my server, so clearly, the network card and
driver are working fine on that subnet.


How is it explained that 192.168.1.0/32 does not work but 5.0.0.0/32 on the
same card/driver combo does work??? If multicast is broken, would that not
nullify the VPN too?

Interesting...




>
> Lennart
>
> --
> Lennart PoetteringRed Hat, Inc.
> lennart [at] poettering [dot] net ICQ# 11060553
> http://0pointer.net/lennart/   GnuPG 0x1A015CC4
> ___
> avahi mailing list
> avahi@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] help with avahi-browse please

2008-02-12 Thread Lennart Poettering
On Mon, 28.01.08 07:25, Dave Lazar ([EMAIL PROTECTED]) wrote:

> Hi,
> 
> It used to work fine under Ubuntu 7.04, so I don't see the H/W as the
> problem...

Hmm, FAQ #15?

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Local only services

2008-02-12 Thread Lennart Poettering
On Thu, 24.01.08 10:46, Yavor Goulishev ([EMAIL PROTECTED]) 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?

Hmm, I wasn't aware of this feature of Bonjour. It might make sense to
add this. Please file a wishlist bug on our BTS so I don't forget
about this.

I see no practical reason why we shouldn't implement something like this.

> Is there any other way to register local only services with Avahi?

Nope. We have some stuff to implement the inverse (i.e. not show local
services), but I guess that doesn't help much..,

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem browsing service with avahi and wlan0

2008-02-12 Thread Dave Lazar
HI,

*FAQ #15
Make sure that you are not running a firewall that blocks multicast traffic
on port 5353, group 224.0.0.251.

*I have no Firewall running.
*

 If that's not the issue then you most likely are experiencing trouble with
a broken network driver or WLAN AP, which doesn't properly support IP
multicasting. Try to set the ALLMULTI or even PROMISC flags for your
interface with ifconfig. Also, try to enable UPnP support in your router
(because some routers disable multicasting if UPnP is not enabled). And
check with wireshark what traffic is actually being generated and where it
is lost!


*This rig used to work fine with Ubuntu 7.04 and network driver ipw3945. The
change I made was to upgrade to Ubuntu 7.10 and switch to the iwl3945
network driver. Googling for iwl3945 reveals some people have had some
problems with it, so maybe that is the issue.

Thanks


On Feb 12, 2008 9:05 AM, Lennart Poettering <[EMAIL PROTECTED]> wrote:

> On Sat, 09.02.08 09:24, Trent Lloyd ([EMAIL PROTECTED]) wrote:
>
> > This sounds like a common issue with wireless cards and dodgy
> > multicast implementations.
> >
> > I can only suggest trying a different wireless card (and sometimes
> > router or enabling IGMP/multicast in your router/switch)
>
> Also see FAQ #15:
>
> http://avahi.org/wiki/Avah4users#FAQ
>
> Lennart
>
> --
> Lennart PoetteringRed Hat, Inc.
> lennart [at] poettering [dot] net ICQ# 11060553
> http://0pointer.net/lennart/   GnuPG 0x1A015CC4
> ___
> avahi mailing list
> avahi@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem seeing available services

2008-02-12 Thread Lennart Poettering
On Wed, 23.01.08 10:25, Dave Lazar ([EMAIL PROTECTED]) wrote:

> I am confused about where to debug my Workstation to again allow
> avahi-browse to show me the services available. Can someone please point me
> to some debug techniques here. I have confirmed on my workstation that
> avahi-daemon is working. I am just not sure how to get it to find the server
> services.

FAQ #15?

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi


Re: [avahi] Problem browsing service with avahi and wlan0

2008-02-12 Thread Lennart Poettering
On Sat, 09.02.08 09:24, Trent Lloyd ([EMAIL PROTECTED]) wrote:

> This sounds like a common issue with wireless cards and dodgy  
> multicast implementations.
> 
> I can only suggest trying a different wireless card (and sometimes  
> router or enabling IGMP/multicast in your router/switch)

Also see FAQ #15:

http://avahi.org/wiki/Avah4users#FAQ

Lennart

-- 
Lennart PoetteringRed Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/   GnuPG 0x1A015CC4
___
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi