[jdev] Discovering the Federation.
Hal Rottenberg
halr9000 at gmail.com
Tue Aug 29 21:46:42 CDT 2006
On 8/29/06, Cedric Hyppolite <cedric.hyppolite at free.fr> wrote:
> You could have a system where you can connect to a server without
> having an account on it, and discover which servers he knows. This
> information is not account specific and this is similar to account
> registration which obviously does not require an account.
>
> To solve the bootstrapping problem, the client would include an
> initial list of stable, well-connected xmpp server which would be
> used as a seed to discover the full network, then select which server
> to register to. The advantage of this is to have an xmpp solution to
Instead of going to that mythical well-connected server (which really
can only be jabber.org in this context), I've got an idea for what
could be done first. It's very client-intelligence-dependent but
makes sense to me.
1. SRV query to the child domain to which the client computer belongs.
e.g. americas.hp.net or hsd1.ga.comcast.net.
2. Recurse downwards till you canna recurse anymore, captain!
In theory this could give you your company's or ISP's XMPP server.
Pretty good place to start! You'll have to do name lookups, you can
never rely on the hostname for a home user. Well maybe you should
still attempt that...if I have a jabber.halr9000.local server in the
house I'd certainly want that to come up first. Then,
3. Ask jabber.org
4. ...
--
Psi webmaster (http://psi-im.org)
im:hal at jabber.rocks.cc
http://halr9000.com
More information about the JDev
mailing list