XMPP and ADSL modem-router problem

Vangelis Katsikaros ibob17 at yahoo.gr
Sun Aug 1 12:20:01 EDT 2010


On 07/06/2010 08:29 PM, Vangelis Katsikaros wrote:
> Ethan Blanton wrote:
>> Vangelis Katsikaros spake unto us the following wisdom:
>>> I have Pidgin 2.6.2 (libpurple 2.6.2) on ubuntu 9.10. My ISP gave me a
>>> new ADSL modem-router [1] and since I have the following.
>>>
>>> 1) I have the XMPP (jabber) account disabled.
>>> 2) I enable it and I get the following debug info [2].
>>> 3) somewhere at (14:42:29) the router freezes completely. It freezes so
>>> badly that I can't log into it, even if I unplug/replug the ethernet
>>> cables. The only option to make it work again is to close it and open it
>>> again.
>>
>>> (14:42:29) dnssrv: querying SRV record for gristle.org:
>>> _xmpp-client._tcp.gristle.org
>>> (14:42:29) dnssrv: res_query returned an error
>>
>> This is almost certainly the cause of both your account not working,
>> and 3). Your router is proxying DNS, and does not understand DNS SRV.
>> This is an unfortunately common problem, although one which has become
>> less prevalent in the past couple of years.
>

Hi and sorry for bouncing this thread. I am trying to figure out whether 
my modem-router has issues with DNS in general, or there is a specific 
issue with the jabber server I connect to.

--------------------------------------------
To check the DNS SRV, I try the following:

$ host -t SRV _xmpp-client._tcp.gmail.com
_xmpp-client._tcp.gmail.com has SRV record 20 0 5222 talk1.l.google.com.
_xmpp-client._tcp.gmail.com has SRV record 20 0 5222 talk2.l.google.com.
_xmpp-client._tcp.gmail.com has SRV record 5 0 5222 talk.l.google.com.
_xmpp-client._tcp.gmail.com has SRV record 20 0 5222 talk3.l.google.com.
_xmpp-client._tcp.gmail.com has SRV record 20 0 5222 talk4.l.google.com.

$ host -t SRV _xmpp-client._tcp.jabber.org
_xmpp-client._tcp.jabber.org has SRV record 30 30 5222 hermes.jabber.org.

$ host -t SRV _xmpp-client._tcp.gristle.org
Host _xmpp-client._tcp.gristle.org not found: 3(NXDOMAIN)

I get the same results using google's DNS (8.8.8.8)

The 1st, 2nd result looks good, the last not so good. I am not much into 
network stuff, so I don't know how to interpret this info
correctly.

In both cases router does not freak out.

--------------------------------------------
To check the account, I registered a new account on jabber.org and then 
added the account on pidgin (including the password). I then get:

(19:57:58) account: Connecting to account lala at jabber.org/pidgin.
(19:57:58) connection: Connecting. gc = 0x1be0700
(19:57:58) dnssrv: querying SRV record for jabber.org: 
_xmpp-client._tcp.jabber.org
(19:57:58) dnssrv: found 1 SRV entries
(19:57:58) dns: DNS query for 'hermes.jabber.org' queued
(19:57:58) dns: Wait for DNS child 8871 failed: No child processes
(19:57:58) dns: Created new DNS child 8884, there are now 1 children.
(19:57:58) dns: Successfully sent DNS request to child 8884
(19:57:58) dns: Got response for 'hermes.jabber.org'
(19:57:58) dnsquery: IP resolved for hermes.jabber.org
(19:57:58) proxy: Attempting connection to 208.68.163.220
(19:57:58) proxy: Connecting to hermes.jabber.org:5222 with no proxy
(19:57:58) proxy: Connection in progress
(19:57:58) proxy: Connecting to hermes.jabber.org:5222.
(19:57:58) proxy: Connected to hermes.jabber.org:5222.
(19:57:58) jabber: Sending: <?xml version='1.0' ?>
(19:57:58) jabber: Sending: <stream:stream to='jabber.org' 
xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' 
version='1.0'>
(19:57:58) jabber: Recv (616): <?xml version='1.0'?><stream:stream 
xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' 
from='jabber.org' id='lalaString' 
version='1.0'><stream:features><starttls 
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms 
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>CRAM-MD5</mechanism><mechanism>LOGIN</mechanism><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>SCRAM-SHA-1</mechanism></mechanisms><compression 
xmlns='http://jabber.org/features/compress'><method>zlib</method></compression><ver 
xmlns='urn:xmpp:features:rosterver'><optional/></ver></stream:features>
(19:57:58) jabber: Sending: <starttls 
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
(19:58:03) util: Writing file accounts.xml to directory /home/lala/.purple
(19:58:03) util: Writing file /home/lala/.purple/accounts.xml

Then router freaks out again.


Vangelis



More information about the Support mailing list