jwchat - two things

g'day all
i have just started my adventure with ejabberd and jwchat and till now im impressed :)

got two questions...

1. can i somehow use tls with jwchat to encrypt connection c2s and how can i do it??

2. how can i set up jwchat to open ONE and only one chatroom right after log in user??
user shouldnt be able to see anything else...

cheers

--
tomder

tomder wrote: 1. can i

tomder wrote:

1. can i somehow use tls with jwchat to encrypt connection c2s and how can i do it??

Your clients connect with a web browser to your web server using HTTP. Your web server connects to your Jabber server using HTTP-Poll or HTTP-Bind.

If your web server and your Jabber server are on the same machine, there is no need to encrypt that, right?

So the only concern is the communication between web browsers and your web server. Solution: use HTTPS instead of HTTP. Check your web server manual.

tomder wrote:

2. how can i set up jwchat to open ONE and only one chatroom right after log in user??
user shouldnt be able to see anything else...

That's a question related to JWChat, not ejabberd.

However, a solution is to create a chatroom, and configure mod_muc to not allow anybody else to create more chatrooms. Check ejabberd guide.

Re: Your clients connect

Quote:

Your clients connect with a web browser to your web server using HTTP. Your web server connects to your Jabber server using HTTP-Poll or HTTP-Bind.

If your web server and your Jabber server are on the same machine, there is no need to encrypt that, right?

So the only concern is the communication between web browsers and your web server. Solution: use HTTPS instead of HTTP. Check your web server manual.

agree
cannot sniff password :)
what with jwchat on different server?

Quote:

That's a question related to JWChat, not ejabberd.

agree with that too

Quote:

However, a solution is to create a chatroom, and configure mod_muc to not allow anybody else to create more chatrooms. Check ejabberd guide.

i have done it
problem is: i would like to create config when someone whos connecting to my ejabberd is connecting directly to one room and dont need to 'choose' anything. is it possible to set up on ejabberd?

cheers

--
tomder

SSH tunneling

tomder wrote:

what with jwchat on different server?

I don't know if there is any nice way to use HTTP-Poll or HTTP-Bind encrypted.

On the worst case, you can still set a SSH tunnel from the JWChat+Apache computer to the ejabberd computer.

tomder wrote:

i would like to create config when someone whos connecting to my ejabberd is connecting directly to one room and dont need to 'choose' anything. is it possible to set up on ejabberd?

I doubt.

re:

badlop wrote:
tomder wrote:

i would like to create config when someone whos connecting to my ejabberd is connecting directly to one room and dont need to 'choose' anything. is it possible to set up on ejabberd?

I doubt.

cheers anyway

--
tomder

MUCkl

tomder wrote:

2. how can i set up jwchat to open ONE and only one chatroom right after log in user??
user shouldnt be able to see anything else...

That sounds like MUCkl.

Syndicate content