Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Jabber... anyone got it working?

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux Networking
Author Message
autodmc



Joined: 01 Feb 2006
Posts: 40

Posted: Tue Jun 06, 2006 4:56 pm    Post subject: Jabber... anyone got it working?  

I'm driving myself nuts.

I'm running the Ubuntu Linode, and I'm trying to get Jabber on board.

When I tried ejabberd (apt-get ejabberd), all I would get is "SEGMENTATION FAULT" "ERL" (the erlang interpreter) gives a SEGMENTATION FAULT, ejabberdctl: SEGMENTATION FAULT, /etc/init.d/ejabberd start|stop|restart: SEGMENTATION FAULT.

Fine. I didn't need Ejabberd. So I tried to get Jabberd2 up. (apt-get jabberd) works fine. /etc/init.d/jabberd2 start. Works. Top. THERE IT IS. Yahoo!. But when I try to get on with a jabber client...

"There was an error communicating with the Jabber server. Details: Connection Error: Unable to connect to server."

Hmm. So, if I telnet into autodmclabs.com :5222, I get...

Code: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' version='1.0'><st
ream:error xmlns:stream='http://etherx.jabber.org/streams'><xml-not-well-formed
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns
:xmpp-streams'>syntax error</text></stream:error></stream:stream>

My firehol is opened up to the ports (I actually got firehol to work! Who would have thunked?), and I got lighttpd up with tehDan's help... now I'm stuck on Jabberd. ARGH!

Anyone have something like this?

(Also, I'd like to have SSL/TLS protected Jabber connections ONLY. Know how to do that?)
Back to top  
raman



Joined: 30 Nov 2004
Posts: 17

Posted: Wed Jun 07, 2006 12:02 am    Post subject: SSL encrypted  

Re. the ssl encrypted connections -- I had problems with configuring my jabberd2 to do it reliably, so I set up stunnel to forward SSL connections to 5223 to jabberd2 on 5222. I've got stunnel set up in a chroot as well for extra security.

Cheers,
Raman
Back to top  
autodmc



Joined: 01 Feb 2006
Posts: 40

Posted: Wed Jun 07, 2006 1:06 pm    Post subject:  

If I do it that way, would I block 5222 with the firewall so nobody could make a NONSECURE connection?

Thanks!
Back to top  
 
       Linode.com Forum Forum Index -> Linux Networking
Page 1 of 1