Package: ejabberd
Version: 2.0.1-6+lenny1
Severity: normal

I recently upgraded our server hardware and started afresh with networking and 
the lot.  The 
previous box although IPv6 capable, it was pretty focused around just IPv4, 
this box I get a clean 
slate with.

My /etc/resolv.conf file used to look like:
----
domain wormnet.eu
search wormnet.eu
nameserver ::1
----

Migrating from our old ejabberd server to the same version on the new hardware 
we found most s2s 
connections, particularly the gBorg ones, were uncontactable.  We thought it 
could be DNS 
propagation issues, as we slightly borked that up originally, but noticed that 
the s2s connections 
to some of the minor Jabber servers (@jabber.earth.li for example) were working 
fine.

I cracked out the packet sniffer and saw TCP SYN packets going our to port 5269 
but no replying 
SYN/ACK's.  Strange I thought, then after I while, once I looked at the DNS 
lookups being made too, 
I saw that no SRV records were being looked up and it was just making raw A 
record lookups to make 
the s2s connection.  Eeek.

The A record results for gmail.com are very different to the SRV records you 
get for 
_xmpp-server._tcp.gmail.com.  The 5269/tcp packets were going to the wrong 
place.  This explains 
why for the smaller Jabber installations it just worked as it so happened that 
the SRV records come 
back with identical results to the raw A record lookup.

As a result my resolv.conf file now looks like:
----
domain wormnet.eu
search wormnet.eu
nameserver 127.0.0.1
#nameserver ::1
----

This fixes the problem, but makes for an IPv6 bug in ejabberd (or possibly even 
erlang?).

Cheers

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.26-2-sparc64-smp (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ejabberd depends on:
ii  adduser                3.110             add and remove users and groups
ii  debconf [debconf-2.0]  1.5.24            Debian configuration management sy
ii  erlang-base [erlang-ab 1:12.b.3-dfsg-4   Concurrent, real-time, distributed
ii  erlang-nox             1:12.b.3-dfsg-4   Concurrent, real-time, distributed
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libexpat1              2.0.1-4           XML parsing C library - runtime li
ii  libpam0g               1.0.1-5+lenny1    Pluggable Authentication Modules l
ii  libssl0.9.8            0.9.8g-15+lenny1  SSL shared libraries
ii  openssl                0.9.8g-15+lenny1  Secure Socket Layer (SSL) binary a
ii  ucf                    3.0016            Update Configuration File: preserv
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

ejabberd recommends no packages.

Versions of packages ejabberd suggests:
pn  libunix-syslog-perl           <none>     (no description available)

-- debconf information:
  ejabberd/user:
  ejabberd/hostname: localhost
  ejabberd/nomatch:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to