[JDEV] Jabberd 1.4.2 redirect and alias
jjcoder4 at yahoo.com
Fri Aug 30 06:24:24 CDT 2002
I'm running jabberd 1.4.2 on my machine with the host
parameter in the jabberd.xml set to 'localhost'.
Everything is fine and dandy provided that I initiate
the stream with 'to="localhost"'. However, if I
attempt to connect with 'to="127.0.0.1"' then I can
successfully open the stream and the server just echos
back 'from="127.0.0.1"'. I then try to authenticate
and then I get a rude disconnect due to a stream:error
without a real description of the problem.
So I went into my jabberd.xml and added
and that fixed the problem.
Here's the problem: jabberd (without the alias mod) is
supposed to complain if the 'to' field sent by the
client in the stream:stream element does not match
what its has been given for the 'host' element in the
jabberd.xml. However, if you address the server using
its IP instead of its DNS name, currently the server
doesn't correct the client by using the 'from'
attribute in stream:stream, and so the client has no
idea that something has gone wrong until it gets the
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
More information about the JDev