Hello,
I have many questions about the way of working in a new jabber server
2.1.6.
I use linux 2.6 and mysql 5.
1. changing password in jabbers clients
I set up the program without problem
and i configure the cryptage with starttls and gnusasl.
All the connection are crypted,but when i try to change the password
from any jabbers' clients, all the clients answer me that i can't. Here
is the xml data : It tells me that i am not allowed:
************************************************************************
********
<iq to="jabber.dsit.sncf.fr" type="set" id="50">
<query xmlns="jabber:iq:register">
<username>ext.altior.giraud</username>
<password>walla</password>
</query>
</iq>
<iq xmlns='jabber:client' from='jabber.dsit.sncf.fr' id='50'
type='error'> <error type='cancel' code='405'> <not-allowed
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
<query xmlns='jabber:iq:register'>
<username>ext.altior.giraud</username>
<password>walla</password>
</query>
</iq>
************************************************************************
********
In the debug log, i find the same informations as up:
************************************************************************
********
C2S : sx (io.c:215) decoded read data (159 bytes): <iq
to="jabber.dsit.sncf.fr" type="set" id="50"><query
xmlns="jabber:iq:register"><username>ext.altior.giraud</username><passwo
rd>walla</password></query></iq>
C2S : sx (io.c:70) completed nad: <iq xmlns='jabber:client' id='50'
type='set' to='jabber.dsit.sncf.fr'><query
xmlns='jabber:iq:register'><username>ext.altior.giraud</username><passwo
rd>walla</password></query></iq>
C2S : sx (chain.c:119) calling nad read chain
C2S : sx (io.c:134) tag 10 event 6 data 0x8582950
C2S : Wed Jun 27 16:13:03 2007 authreg.c:711 register set
C2S : sx (chain.c:106) calling nad write chain
C2S : sx (io.c:381) queueing for write: <iq xmlns='jabber:client'
from='jabber.dsit.sncf.fr' id='50' type='error'><error type='cancel'
code='405'><not-allowed
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error><query
xmlns='jabber:iq:register'><username>ext.altior.giraud</username><passwo
rd>walla</password></query></iq>
C2S : sx (io.c:404) tag 10 event 1 data 0x0
C2S : Wed Jun 27 16:13:03 2007 c2s.c:38 want write
C2S : Wed Jun 27 16:13:03 2007 c2s.c:430 write action on fd 10 C2S : sx
(io.c:303) 10 ready for writing C2S : sx (io.c:261) encoding 283 bytes
for writing: <iq xmlns='jabber:client' from='jabber.dsit.sncf.fr'
id='50' type='error'><error type='cancel' code='405'><not-allowed
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error><query
xmlns='jabber:iq:register'><username>ext.altior.giraud</username><passwo
rd>walla</password></query></iq>
************************************************************************
********
I configure the c2s.xml with the TLS and sasl:
************************************************************************
********
<id pemfile='/usr/local/jabber2.1.6/jabber2.1.6/etc/server.pem'
verify-mode='7' require-starttls='true' >jabber.dsit.sncf.fr
</id>.....
<sasl>
<plain/>
<digest-md5/>
<!--
<anonymous/>
--><!-- -->
</sasl>
************************************************************************
*********
2. Benchmark a jabber server:
I have head about two tools to make measure for maximum user with
jabber: Tsung, jabbersimul. Did you use it and does it work? Thank
_______________________________________________
jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com