Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-20 Thread Martin Langhoff
On Mon, Apr 20, 2009 at 3:53 PM, Jonas Smedegaard wrote: > DNS-SD using unicast DNS seems reasonable to me too. If we can do without the avahi gunk, and use it in a way that is not optimised for user driven browsing but for automated selection of services, then it might work. > Looking closer at

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-20 Thread pgf
martin wrote: > On Mon, Apr 20, 2009 at 3:53 PM, Jonas Smedegaard wrote: > > DNS-SD using unicast DNS seems reasonable to me too. > > If we can do without the avahi gunk, and use it in a way that is not > optimised for user driven browsing but for automated selection of > services, then it

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-20 Thread Martin Langhoff
On Mon, Apr 20, 2009 at 6:56 PM, Jonas Smedegaard wrote: > I don't understand your question.  Sounds like prefetching that isn't > part of dns (id you perhaps think of DHCP here?) I don't have my well-worn "DNS and BIND" book with me right now but I am positive that the server side can decide to

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-20 Thread pgf
jonas wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mon, Apr 20, 2009 at 09:45:28AM -0400, p...@laptop.org wrote: > >benjamin m. schwartz wrote: > > > Martin Langhoff wrote: > > > > The short of it is that mdns/dns-sd make sense for a small, > > > > underutilised network

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-20 Thread david
On Mon, 20 Apr 2009, Martin Langhoff wrote: On Mon, Apr 20, 2009 at 6:56 PM, Jonas Smedegaard wrote: I don't understand your question.  Sounds like prefetching that isn't part of dns (id you perhaps think of DHCP here?) I don't have my well-worn "DNS and BIND" book with me right now but I am

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-20 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Apr 20, 2009 at 04:08:30PM +0200, Martin Langhoff wrote: >On Mon, Apr 20, 2009 at 3:53 PM, Jonas Smedegaard wrote: >> DNS-SD using unicast DNS seems reasonable to me too. > >If we can do without the avahi gunk, and use it in a way that is not

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-20 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Apr 20, 2009 at 09:45:28AM -0400, p...@laptop.org wrote: >benjamin m. schwartz wrote: > > Martin Langhoff wrote: > > > The short of it is that mdns/dns-sd make sense for a small, > > > underutilised network of peers. They assume that the netwo

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-21 Thread Martin Langhoff
On Tue, Apr 21, 2009 at 2:05 AM, wrote: > my initial reaction to this is that it's going to look to the client exactly > the same as a bad guy trying to poison DNS by sending unasked for responses, > how do the clients tell the difference? They can't. That's how DNS works. Lots of ink have flowe

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-21 Thread pgf
martin wrote: > On Tue, Apr 21, 2009 at 2:05 AM, wrote: > > > also note that this will require that you run some sort of > > DNS cache on the > > The standard dns resolver libs on linux (part of glibc?) caches > alright. All platforms I know cache things alright, and it's fairly > serio

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-21 Thread david
On Tue, 21 Apr 2009, Martin Langhoff wrote: > On Tue, Apr 21, 2009 at 2:05 AM, wrote: >> my initial reaction to this is that it's going to look to the client exactly >> the same as a bad guy trying to poison DNS by sending unasked for responses, >> how do the clients tell the difference? > > The

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-22 Thread Martin Langhoff
On Wed, Apr 22, 2009 at 2:46 AM, wrote: > I believe this is exactly what has been done over the last few years in the > DNS server/DNS cache software. they used to accept extra responses like you > are trying to make, but nowdays they don't. As everyone pointed out, I was wrong about plain clien

Re: [Sugar-devel] Notes on service discovery XS/XO

2009-04-22 Thread david
On Wed, 22 Apr 2009, Martin Langhoff wrote: > On Wed, Apr 22, 2009 at 2:46 AM, wrote: >> I believe this is exactly what has been done over the last few years in the >> DNS server/DNS cache software. they used to accept extra responses like you >> are trying to make, but nowdays they don't. > > A

Re: [Server-devel] [Sugar-devel] Notes on service discovery XS/XO

2009-04-20 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Apr 20, 2009 at 07:26:30AM -0400, Benjamin M. Schwartz wrote: >Martin Langhoff wrote: >> The short of it is that mdns/dns-sd make sense for a small, >> underutilised network of peers. They assume that the network is a >> cheap resource, that

Re: [Server-devel] [Sugar-devel] Notes on service discovery XS/XO

2009-04-20 Thread Martin Langhoff
On Mon, Apr 20, 2009 at 9:46 PM, Jonas Smedegaard wrote: > Here's my understanding: I've read the damned specs, don't worry. I need help getting sh*t done because there's a lot of stuff to do. any takers? m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask in

Re: [Server-devel] [Sugar-devel] Notes on service discovery XS/XO

2009-04-21 Thread Iñaki Arenaza
Martin Langhoff writes: (sorry if you receive this email twice; I've had a network glitch while sending it for the first time and I'm not sure it has gone through) >> also note that this will require that you run some sort of DNS cache on the > > The standard dns resolver libs on linux (part

Re: [Server-devel] [Sugar-devel] Notes on service discovery XS/XO

2009-04-21 Thread Iñaki Arenaza
Martin Langhoff writes: >> also note that this will require that you run some sort of DNS cache on the > > The standard dns resolver libs on linux (part of glibc?) caches > alright. All platforms I know cache things alright, and it's fairly > serious bug if your OS doesn't. I'm afraid that's not

Re: [Server-devel] [Sugar-devel] Notes on service discovery XS/XO

2009-04-22 Thread Martin Langhoff
2009/4/22 Iñaki Arenaza : > I'm afraid that's not always true. Running Debian Lenny here without Paul, Iñaki, -- you guys are right. It also means that there's no point worrying about pushing extra records in the DNS responses. > I've used tcpdump to dump DNS traffic while running 'ping -n I bo

Re: [Server-devel] [Sugar-devel] Notes on service discovery XS/XO

2009-04-22 Thread Peter Robinson
>> I'm afraid that's not always true. Running Debian Lenny here without > > Paul, Iñaki, -- you guys are right. > > It also means that there's no point worrying about pushing extra > records in the DNS responses. It won't affect the XS side of things, but from the XO client side of things the new