[jadmin] jabberd and jit in freebsd

Simeon Goranov saiman at thefreeart.com
Wed Oct 3 07:08:39 CDT 2007


I can't run tcpdump .. it's a long story, I don't have bpf in the 
kernell and I can't reboot the mashine ...
Here is the result from jit when I run it in debug mode:
/usr/local/sbin/jit -c /usr/local/etc/jabber-icq.xml -H /var/spool/jit/ -D


[95185] - Wed Oct  3 13:02:10 2007  mio.c:332 freed MIO socket
[95185] - Wed Oct  3 13:02:11 2007  mio.c:634 karma 1
[95185] - Wed Oct  3 13:02:12 2007  mio.c:434 Connecting on socket 4 
host 127.0.0.1 [95185]
[95185] - Wed Oct  3 13:02:12 2007  mio.c:481 calling the connect 
handler for mio object 80A2038
[95185] - Wed Oct  3 13:02:12 2007  base/base_connect.c:152 process XML: 
m:80A2038 state:0, arg:8127E50, x:BEBF0E64
[95185] - Wed Oct  3 13:02:12 2007  base/base_connect.c:162 
base_connecting: 8127E50, 8127E00, icqlinker
[95185] - Wed Oct  3 13:02:12 2007  mio.c:962 mio_write called on x: 0 
buffer:
[95185] - Wed Oct  3 13:02:13 2007  mio.c:634 karma 1
[95185] - Wed Oct  3 13:02:13 2007  mio.c:676 socket 4 has restore karma 
5 -=> 5
[95185] - Wed Oct  3 13:02:13 2007  mio.c:676 socket 4 has restore karma 
5 -=> 5
[95185] - Wed Oct  3 13:02:13 2007  mio.c:230 write_dump writing data: 
<?xml version='1.0'?><stream:stream xmlns:stream='http
://etherx.jabber.org/streams' id='470368A4' 
xmlns='jabber:component:accept' to='icqlinker'>
[95185] - Wed Oct  3 13:02:13 2007  mio.c:676 socket 4 has restore karma 
5 -=> 5
[95185] - Wed Oct  3 13:02:13 2007  mio.c:745 MIO read from socket 4: 
<?xml version='1.0'?><stream:stream xmlns:stream='http:
//etherx.jabber.org/streams' xmlns='jabber:component:accept' 
from='icqlinker' id='4k6zzh4pgb3v0krudkw4j0ukcmpjl8g1d7z2sfti'>
[95185] - Wed Oct  3 13:02:13 2007  mio_xml.c:107 _mio_xstream_init(80a2038)
[95185] - Wed Oct  3 13:02:13 2007  base/base_connect.c:152 process XML: 
m:80A2038 state:2, arg:8127E50, x:8190000
[95185] - Wed Oct  3 13:02:13 2007  mio.c:962 mio_write called on x: 0 
buffer:
[95185] - Wed Oct  3 13:02:13 2007  mio.c:230 write_dump writing data: 
<handshake>5513c644e48239f1d1336da4ecb032576bfd4ecc</h
andshake>
[95185] - Wed Oct  3 13:02:13 2007  mio.c:745 MIO read from socket 4: 
<stream:error xmlns:stream='http://etherx.jabber.org/st
reams'><not-authorized 
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text 
xmlns='urn:ietf:params:xml:ns:xmpp-streams'>hash di
dn't match, auth failed</text></stream:error></stream:stream>
[95185] - Wed Oct  3 13:02:13 2007  base/base_connect.c:152 process XML: 
m:80A2038 state:3, arg:8127E50, x:8190000
[95185] - Wed Oct  3 13:02:13 2007  base/base_connect.c:152 process XML: 
m:80A2038 state:4, arg:8127E50, x:804E99A
[95185] - Wed Oct  3 13:02:13 2007  base/base_connect.c:283 Base Connect 
Failed to connect to 127.0.0.1:5347 Retry [-1] in 2
seconds...
[95185] - Wed Oct  3 13:02:13 2007  mio.c:332 freed MIO socket


The problem maybe is here:
[95185] - Wed Oct  3 13:02:13 2007  mio.c:745 MIO read from socket 4: 
<stream:error xmlns:stream='http://etherx.jabber.org/st
reams'><not-authorized 
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text 
xmlns='urn:ietf:params:xml:ns:xmpp-streams'>hash di
dn't match, auth failed</text></stream:error></stream:stream>

but what is http://etherx.jabber.org/streams and why jit want's to 
connect to it ?



Norman Rasmussen ??????:
> if you run: tcpdump -pnls0 -i lo port 5347  (add -A if tcpdump has the 
> option or fallback to -X)
>
> does it show anything enlightening?
>
> On 10/3/07, *Simeon Goranov * <saiman at thefreeart.com 
> <mailto:saiman at thefreeart.com>> wrote:
>
>     Hi all,
>     I'm trying to setup jabberd with icq support under freebsd without
>     success :(
>     Here is part of main router.log when I start jit
>
>     Wed Oct  3 11:23:16 2007 [notice] [127.0.0.1 <http://127.0.0.1> ,
>     port=64552] connect
>     Wed Oct  3 11:23:17 2007 [notice] [127.0.0.1 <http://127.0.0.1>,
>     port=64552] disconnect
>     Wed Oct  3 11:23:19 2007 [notice] [127.0.0.1 <http://127.0.0.1>,
>     port=62537] connect
>     Wed Oct  3 11:23:20 2007 [notice] [127.0.0.1 <http://127.0.0.1>,
>     port=62537] disconnect
>     Wed Oct  3 11:23:22 2007 [notice] [127.0.0.1 <http://127.0.0.1>,
>     port=63629] connect
>     Wed Oct  3 11:23:23 2007 [notice] [ 127.0.0.1 <http://127.0.0.1>,
>     port=63629] disconnect
>
>     I think that jit can't connect to the router but I have no idea why.
>     This is the end of mine jit.xml configuration file:
>
>       <service id="icqlinker">
>         <uplink/>
>         <connect>
>           <ip>localhost</ip>
>           <port>5347</port>
>           <secret>my secret</secret>
>         </connect>
>       </service>
>
>     where my secret is the secret which I use for jabberd. And this is
>     part
>     of the alias section in router.xml configuration file:
>
>         <alias name='icq.mydomain.com <http://icq.mydomain.com>'
>     target='icqlinker'/>
>         <alias name='sms.mydomain.com <http://sms.mydomain.com>'
>     target='icqlinker'/>
>
>     I can't figure out why jit can't connect to jabberd and I can't find
>     anything else about that into the logs. Any ideas and suggestions
>     will
>     be more than wellcome.
>
>     Thnaks in advance !
>     _______________________________________________
>     JAdmin mailing list
>     JAdmin at jabber.org <mailto:JAdmin at jabber.org>
>     http://mail.jabber.org/mailman/listinfo/jadmin
>     FAQ: http://www.jabber.org/about/jadminfaq.shtml
>     _______________________________________________
>
>
>
>
> -- 
> - Norman Rasmussen
> - Email: norman at rasmussen.co.za <mailto:norman at rasmussen.co.za>
> - Home page: http://norman.rasmussen.co.za/ 
> <http://norman.rasmussen.co.za/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> JAdmin mailing list
> JAdmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20071003/751f21d3/attachment.htm 


More information about the JAdmin mailing list