[jadmin] Jabberd and ICQ transport
Jim Roberts
Jim.Roberts at tech-pointe.com
Tue Mar 4 12:10:32 CST 2008
Hey all,
Just to give some perspective, I'm very green to jabber and XMPP, but
have a pretty good grasp of Debian.
It's very possible that I don't understand how XMPP and external
gateways work even though I have read an inordinate number of articles.
My goal is to setup a jabber server that will allow jabber accounts to
IM with ICQ, Yahoo, AIM, and MSN. For now I'm just trying to connect to
ICQ. I'm running Debian Etch (recent dist-upgrade) and have installed
jabberd 1.4.
I have a jabber server that is running, and accepting connections
(XMPP). I can connect to the server with Pidgin or Psi, create users
and chat with other users on my jabber server.
I have installed the ICQ transport (via apt-get install ). See configs
below for details.
As I understand it, the next step is to "register the gateway server"
(http://open.echomine.org/confluence/display/MUSE/3.8+Gateway+Registrati
on). If I'm reading this article correctly, I should be able to create
a user with the JID of the ICQ gateway
(icq.jabber.mydomain.com at jabber.mydomain.com). This does not seem to
work.
Any help would be greatly appreciated.
Jim Roberts
Techonolgy Point
------------------------------------------------------------------------
------------------------------------------------------------------
I have configured my jabber-jit.xml like so (of course I have anonymized
my actual server name and jabber.xml follows further down):
<jabber>
<service id="icq.jabber.mydomain.com">
<host>sms.icq.jabber.mydomain.com</host>
<icqtrans xmlns="jabber:config:icqtrans">
<sms>
<host>sms.icq.jabber.mydomain.com</host>
<show>away</show>
<status></status>
</sms>
<instructions>Please enter your UIN and password</instructions>
<search>Search users in ICQ</search>
<vCard>
<FN>JIT</FN>
<DESC>Jabber ICQ Transport</DESC>
<URL>http://jit.jabberstudio.org</URL>
</vCard>
<prime>3907</prime>
<chat/>
<user_count_file>/var/log/jabber/icqsession_count.log</user_count_file>
<session_check>5</session_check>
<reconnects>5</reconnects>
<session_timeout>18000</session_timeout>
<charset>windows-1252</charset>
<server>
<host port="5190">login.icq.com</host>
</server>
</icqtrans>
<load>
<icqtrans>/usr/lib/jabber/jit/jit.so</icqtrans>
</load>
</service>
<service id="icqlinker">
<uplink/>
<connect>
<ip/>
<port>5555</port>
<secret>someSecret</secret>
</connect>
</service>
<pidfile>/var/run/jabber/jabber-jit.pid</pidfile>
</jabber>
<!--END of jabber-jit.xml -->
And here is my jabber.xml:
<jabber>
<service id="sessions">
<host><jabberd:cmdline
flag="h">jabber.mydomain.com</jabberd:cmdline></host>
<jsm xmlns="jabber:config:jsm">
<filter>
<default/>
<max_size>100</max_size>
<allow>
<conditions>
<ns/>
<unavailable/>
<from/>
<resource/>
<subject/>
<body/>
<show/>
<type/>
<roster/>
<group/>
</conditions>
<actions>
<error/>
<offline/>
<forward/>
<reply/>
<continue/>
<settype/>
</actions>
</allow>
</filter>
<vCard>
<FN>QA Jabber Server</FN>
<DESC>Jabber Server on Debian GNU/Linux!</DESC>
<URL>http://jabber.mydomain.com/</URL>
</vCard>
<register notify="yes">
<instructions>Choose a username and password to register with
this server.</instructions>
<name/>
<email/>
</register>
<welcome>
<subject>Welcome!</subject>
<body>Welcome to the Jabber server -- we hope you enjoy this
service! For information about how to use Jabber, visit the Jabber
User's Guide at http://jabbermanual.jabberstudio.org/</body>
</welcome>
<vcard2jud/>
<browse>
<service type="icq" jid="icq.jabber.mydomain.com" name="ICQ
Link">
<ns>jabber:iq:gateway</ns>
<ns>jabber:iq:register</ns>
<ns>jabber:iq:search</ns>
</service>
</browse>
<disco>
<identity category='services' type='jabber' name='Jabber 1.4
Server'/>
<feature var='jabber:iq:browse'/>
<feature var='jabber:iq:agents'/>
<feature var='jabber:iq:register'/>
<feature var='jabber:iq:time'/>
<feature var='jabber:iq:last'/>
<feature var='jabber:iq:version'/>
</disco>
<mod_auth_crypt>
<hash>SHA1</hash>
</mod_auth_crypt>
</jsm>
<load main="jsm">
<jsm>./jsm/jsm.so</jsm>
<mod_echo>./jsm/jsm.so</mod_echo>
<mod_roster>./jsm/jsm.so</mod_roster>
<mod_time>./jsm/jsm.so</mod_time>
<mod_vcard>./jsm/jsm.so</mod_vcard>
<mod_last>./jsm/jsm.so</mod_last>
<mod_version>./jsm/jsm.so</mod_version>
<mod_announce>./jsm/jsm.so</mod_announce>
<mod_agents>./jsm/jsm.so</mod_agents>
<mod_browse>./jsm/jsm.so</mod_browse>
<mod_disco>./jsm/jsm.so</mod_disco>
<mod_admin>./jsm/jsm.so</mod_admin>
<mod_filter>./jsm/jsm.so</mod_filter>
<mod_offline>./jsm/jsm.so</mod_offline>
<mod_presence>./jsm/jsm.so</mod_presence>
<mod_auth_digest>./jsm/jsm.so</mod_auth_digest>
<mod_auth_plain>./jsm/jsm.so</mod_auth_plain>
<mod_log>./jsm/jsm.so</mod_log>
<mod_register>./jsm/jsm.so</mod_register>
<mod_xml>./jsm/jsm.so</mod_xml>
</load>
</service>
<xdb id="xdb">
<host/>
<load>
<xdb_file>./xdb_file/xdb_file.so</xdb_file>
</load>
<xdb_file xmlns="jabber:config:xdb_file">
<spool><jabberd:cmdline
flag='s'>/var/lib/jabber</jabberd:cmdline></spool>
</xdb_file>
</xdb>
<service id="c2s">
<load>
<pthsock_client>./pthsock/pthsock_client.so</pthsock_client>
</load>
<pthcsock xmlns='jabber:config:pth-csock'>
<authtime/>
<heartbeat/>
<karma>
<init>10</init>
<max>10</max>
<inc>1</inc>
<dec>1</dec>
<penalty>-6</penalty>
<restore>10</restore>
</karma>
<ip port="5222"/>
</pthcsock>
</service>
<log id='elogger'>
<host/>
<logtype/>
<format>%d: [%t] (%h): %s</format>
<file>/var/log/jabber/error.log</file>
<stderr/>
</log>
<log id='rlogger'>
<host/>
<logtype>record</logtype>
<format>%d %h %s</format>
<file>/var/log/jabber/record.log</file>
</log>
<service id="dnsrv">
<host/>
<load>
<dnsrv>./dnsrv/dnsrv.so</dnsrv>
</load>
<dnsrv xmlns="jabber:config:dnsrv">
<resend service="_xmpp-server._tcp">s2s</resend>
<resend service="_jabber-server._tcp">s2s</resend>
<resend>s2s</resend>
</dnsrv>
</service>
<service id="s2s">
<load>
<dialback>./dialback/dialback.so</dialback>
</load>
<dialback xmlns='jabber:config:dialback'>
<legacy/>
<ip port="5269"/>
<karma>
<init>50</init>
<max>50</max>
<inc>4</inc>
<dec>1</dec>
<penalty>-5</penalty>
<restore>50</restore>
</karma>
</dialback>
</service>
<service id="update.jabber.org">
<host>update.jabber.org</host>
<null/>
</service>
<service id="icq">
<host>icq.jabber.mydomain.com</host>
<host>sms.icq.jabber.mydomain.com</host>
<accept>
<ip/>
<port>5555</port>
<secret>someSecret</secret>
<timeout>30</timeout>
</accept>
</service>
<io>
<rate points="25" time="5"/>
</io>
<pidfile>/var/run/jabber/jabber.pid</pidfile>
</jabber>
<!--END of jabber.xml -->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20080304/2f9180e0/attachment-0001.htm
More information about the JAdmin
mailing list