Jim Roberts | 4 Mar 2008 19:10

Jabberd and ICQ transport

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+Registration).  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 -->

_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________
Stefano Monti | 4 Mar 2008 20:08

Re: Jabberd and ICQ transport


Jim Roberts have write:

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+Registration).  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.


Hi to all from Italy, this is my first time here

I have identical problem with a PowerPC Debian Server ( not for me Debian&Linux things, I'm coming from a simply MacOS :-) ; after some unsuccessful tests I have try to use the MSN protocol instead of ICQ, because every test give me the same result as you describe. Jabber is Ok for chatting with PSI and every FQDN function properly. But the only thing I can do now, after some config days, is to register an account on MSN service... obviously isn't working :-(

thanks anyway for your link about ICQ on echomine, I will study on

anyone know if there are some other link for know-how about XMPP gateways? thanks

ciao
Stefano






 









_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________
Jim Roberts | 5 Mar 2008 04:07

Re: Jabberd and ICQ transport

Hi Stefano,

 

My problem turned out to be much simpler that it could have been.  As it turned out to be that the icq.jabber.mydomain.com name was not in DNS or my hosts file.

 

I hope your issue turns out to be as simple.

 

-Jim Roberts

 

From: jadmin-bounces <at> jabber.org [mailto:jadmin-bounces <at> jabber.org] On Behalf Of Stefano Monti
Sent: Tuesday, March 04, 2008 1:08 PM
To: Jabber/XMPP server administration list
Subject: Re: [jadmin] Jabberd and ICQ transport

 

 

Jim Roberts have write:

 

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+Registration).  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.

 

Hi to all from Italy, this is my first time here

 

I have identical problem with a PowerPC Debian Server ( not for me Debian&Linux things, I'm coming from a simply MacOS :-) ; after some unsuccessful tests I have try to use the MSN protocol instead of ICQ, because every test give me the same result as you describe. Jabber is Ok for chatting with PSI and every FQDN function properly. But the only thing I can do now, after some config days, is to register an account on MSN service... obviously isn't working :-(

 

thanks anyway for your link about ICQ on echomine, I will study on

 

anyone know if there are some other link for know-how about XMPP gateways? thanks


ciao

Stefano

 

 

 

 

 

 

       

 

 

 



 

 



 

_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________
Stefano Monti | 6 Mar 2008 00:01

Re: Jabberd and ICQ transport


Il giorno 05.mar.08, alle ore 04:07, Jim Roberts ha scritto:

Hi Stefano,

 

My problem turned out to be much simpler that it could have been.  As it turned out to be that the icq.jabber.mydomain.com name was not in DNS or my hosts file.

 

I hope your issue turns out to be as simple.



Hello Jim, hello to everyone,
first of all excuse my bad english grammar, my dictionary is very limited, I have only a first grade school and my english come from auto lessons ;-)

I have made a domain for every transport, AIM, ICQ, IRC, MSN, Yahoo.
Every domain point to my server and if I try to log in from an external network I obtain success. By this, deducing that all domains I've set are FQDN ( Fully Qualified Domain Name ), right?
Now, in the PSI discovery service I see every transport gateway like upper described, but only for MSN I can register on. Mistery about.
The registration made in MSN transport doesn't reply for about a minute... when I hear the "boink", think to have received the confirmation, instead came out a red error message.

I'm not sure that every information write in the XML files are correct, I can't exclude that can be some error because the information founded somewhere about configurations was little and poor ;-)

Exists some "guide to configure a transport in Jabber"?
very thanks in advance

Stefano Monti


_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________
Richard Taylor | 7 Mar 2008 10:18
Picon

Clients with Jingle support?

Hi

My apologies if this is the wrong ML for this question.

I am working on a design for a system that needs to enable the setup of 
a live video stream between two endpoints. For various reasons I would 
like to use XMPP Jingle (XEP-0166) to setup the connection but I have 
been struggling to find out if there are any XMPP clients that support 
Jingle.

Can anyone point me in the direction of a client that has support for 
XEP-0166? Or am I better off looking at a client with plug-in support 
and writing my own plugin for Jingle?

Regards

Richard

--

-- 
Jabber: RichardTaylor <at> jabber.org
PGPKey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA7DA9FD9
Key fingerprint = D051 A121 E7C3 485F 3C0E  1593 ED9E D868 A7DA 9FD9

_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________

Richard Taylor | 7 Mar 2008 10:21
Picon

Transparent checking proxy?

Hi

Does anyone know if there are any transparent XMPP stream checkers out 
there? I am looking for something that can watch the s2s stream and 
limit the stanzas to only those that conform to a preselected list of 
namespaces/schemas.

Regards

Richard

--

-- 
Jabber: RichardTaylor <at> jabber.org
PGPKey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA7DA9FD9
Key fingerprint = D051 A121 E7C3 485F 3C0E  1593 ED9E D868 A7DA 9FD9

_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________

Sander Devrieze | 7 Mar 2008 16:00
Picon

Re: Clients with Jingle support?

2008/3/7, Richard Taylor <rjt-jadmin <at> thegrindstone.me.uk>:
>  Can anyone point me in the direction of a client that has support for
>  XEP-0166? Or am I better off looking at a client with plug-in support
>  and writing my own plugin for Jingle?

Coccinella ( http://coccinella.im/ ) has support for XEP-0166 as can
be read here: http://coccinella.cvs.sourceforge.net/*checkout*/coccinella/coccinella/READMEs/README-xmpp
It uses IAX as transport method (see XEP-0179).

--

-- 
Mvg, Sander Devrieze.
_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________

Damjan | 7 Mar 2008 16:51
Picon
Favicon

Re: Clients with Jingle support?

> >  Can anyone point me in the direction of a client that has support for
> >  XEP-0166? Or am I better off looking at a client with plug-in support
> >  and writing my own plugin for Jingle?
> 
> Coccinella ( http://coccinella.im/ ) has support for XEP-0166 as can
> be read here: http://coccinella.cvs.sourceforge.net/*checkout*/coccinella/coccinella/READMEs/README-xmpp
> It uses IAX as transport method (see XEP-0179).

Is that compatible with anything else?

--

-- 
damjan | дамјан
This is my jabber ID -->         damjan <at> bagra.net.mk 
 -- not my mail address, it's a Jabber ID --^ :)
_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________
Johansson Olle E | 7 Mar 2008 17:46
Gravatar

Re: Clients with Jingle support?


7 mar 2008 kl. 10.18 skrev Richard Taylor:

> Hi
>
> My apologies if this is the wrong ML for this question.
>
> I am working on a design for a system that needs to enable the setup  
> of
> a live video stream between two endpoints. For various reasons I would
> like to use XMPP Jingle (XEP-0166) to setup the connection but I have
> been struggling to find out if there are any XMPP clients that support
> Jingle.
>
> Can anyone point me in the direction of a client that has support for
> XEP-0166? Or am I better off looking at a client with plug-in support
> and writing my own plugin for Jingle?

Asterisk, the Open Source PBX, has support for Jingle. I don't think we
support video, but I would be very happy to see some work in that area
and interoperability tests.

http://www.asterisk.org

/Olle

_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________

Sander Devrieze | 7 Mar 2008 17:48
Picon

Re: Clients with Jingle support?

2008/3/7, Damjan <gdamjan <at> mail.net.mk>:
> > >  Can anyone point me in the direction of a client that has support for
>  > >  XEP-0166? Or am I better off looking at a client with plug-in support
>  > >  and writing my own plugin for Jingle?
>  >
>  > Coccinella ( http://coccinella.im/ ) has support for XEP-0166 as can
>  > be read here: http://coccinella.cvs.sourceforge.net/*checkout*/coccinella/coccinella/READMEs/README-xmpp
>  > It uses IAX as transport method (see XEP-0179).
>
>
> Is that compatible with anything else?

It should be compatible with any software that implements
http://www.xmpp.org/extensions/xep-0179.html Also, nobody restricts
you from writing a good ICE library that can be used for adding Jingle
ICE transport method to Coccinella...so far a good library for ICE is
lacking, whilst there is a very good lib for IAX (that's what Mats
said; I'm no coder myself so I can't judge on this).

--

-- 
Mvg, Sander Devrieze.
_______________________________________________
JAdmin mailing list
JAdmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________


Gmane