[jdev] How to Do Groupchat in Jabber
Justin Karneges
justin-keyword-jabber.093179 at affinix.com
Wed Nov 12 00:15:07 CST 2008
On Tuesday 11 November 2008 22:03:03 ashiraz wrote:
> After a long pause I get this response :
>
> <presence from='sip at jabber.ietf.org/IETF Announcer'
> to='admin at henryviii/MyResource' type='error'>
>
> <error code='404' type='cancel'><remote-server-not-found
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
> </error>
> </presence>
>
> <message from='sip at jabber.ietf.org' to='admin at henryviii/MyResource'
> type='error'>
> <body>hello my friend ...</body>
> <error code='404' type='cancel'>
> <remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
> </error>
> </message>
These are essentially generic bounce responses indicating that a working XMPP
stream could not be established between your server and jabber.ietf.org.
The problem is that 'henryviii' isn't a valid domain that is publicly
accessible. When your server connects to jabber.ietf.org, your server states
that it is henryviii. The jabber.ietf.org server then separately connects
back to henryviii to verify that this is true (it resolves 'henryviii' via
DNS, then TCP connects to the result on port 5269). You need to make sure
the domain of your server exists, and that resolving and connecting to port
5269 will reach your machine.
This "dialback" procedure is a standard mechanism in Jabber to prevent domain
spoofing.
-Justin
More information about the JDev
mailing list