[jitsi-users] in-band registration SRV lookups support


#1

Hi,

I've set up an ejabberd xmpp server which has some vhosts on it and accepts IBR. Most xmpp clients do SRV lookups to discover which is the actual hostname of the xmpp server and then they're using the vhost name the user provided and submit the registration request to the actual xmpp server. I noticed that jitsi doesn't do that or I'm missing something. The question is: is this a bug or a feature, or neither? If its a bug, does anyone know if it's gonna be fixed?

thanks a lot,

speck.


#2

Jitsi does perform SRV lookups, for XMPP it specifically is _xmpp-client._tcp.example.com

Please try to take a look at a network capture or Jitsi's logs (https://jitsi.org/logs).

Freundliche Grüsse,
Ingo Bauersachs

-- sent from my mobile

···

Le 09.10.2014 à 18:57, "specktator.totallynoob" <specktator@totallynoob.com> a écrit :

Hi,

I've set up an ejabberd xmpp server which has some vhosts on it and accepts IBR. Most xmpp clients do SRV lookups to discover which is the actual hostname of the xmpp server and then they're using the vhost name the user provided and submit the registration request to the actual xmpp server. I noticed that jitsi doesn't do that or I'm missing something. The question is: is this a bug or a feature, or neither? If its a bug, does anyone know if it's gonna be fixed?

thanks a lot,

speck.

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3
···

Well, I noticed the logs (btw, the network capture feature is a stress relief!!)

  Two things I've discovered:
  1.       Jitsi doesn't create a network capture file before an account set up is completed.
    
  2.       I sniffed my interface again with wireshark and Jitsi only creates two dns requests -during account registration process (IBR)- A and AAAA and thereafter it tries to connect to the wrong server.
    
  3.       You were right, jitsi does perform SRV lookups after an account is authorized and not during the registration of a new one.
    

Jitsi version: 2.5.5240

    OS: Ubuntu 14.04.1 LTS, Linux 3.13.0-36-generic #63- Ubuntu x86_64 x86_64 x86_64 GNU/Linux

    If anyone want to test it, just try to register a dummy account to totallynoob.com xmpp server with jitsi and then try gajim to see the packets being created on wireshark.

thanks,

  speck.

  On 09/10/2014 02:24 μμ, Ingo Bauersachs wrote:

Jitsi does perform SRV lookups, for XMPP it specifically is _xmpp-client._tcp.example.com Please try to take a look at a network capture or Jitsi's logs (). Freundliche Grüsse, Ingo Bauersachs -- sent from my mobile

Le 09.10.2014 à 18:57, "specktator.totallynoob" a écrit : Hi, I've set up an ejabberd xmpp server which has some vhosts on it and accepts IBR. Most xmpp clients do SRV lookups to discover which is the actual hostname of the xmpp server and then they're using the vhost name the user provided and submit the registration request to the actual xmpp server. I noticed that jitsi doesn't do that or I'm missing something. The question is: is this a bug or a feature, or neither? If its a bug, does anyone know if it's gonna be fixed? thanks a lot, speck. _______________________________________________ users mailing list Unsubscribe instructions and other list options:

_______________________________________________ users mailing list Unsubscribe instructions and other list options:

https://jitsi.org/logsspecktator@totallynoob.comusers@jitsi.orghttp://lists.jitsi.org/mailman/listinfo/usersusers@jitsi.orghttp://lists.jitsi.org/mailman/listinfo/users


#4

Well, I noticed the logs (btw, the network capture feature is a stress
relief!!)

Two things I've discovered:

1. Jitsi doesn't create a network capture file before an account set up
is completed.

AFAIK the DNS packages itself are not logged at all and the account registration process is outside of the regular XMPP account protocol, so this unfortunately bypasses the logger (not intentionally, but by oversight).

2. I sniffed my interface again with wireshark and Jitsi only creates two
dns requests -during account registration process (IBR)- A and AAAA and
thereafter it tries to connect to the wrong server.

This is indeed a bug in the class JabberAccountCreationForm. Could you please open an issue at https://trac.jitsi.org and reference this thread?

3. You were right, jitsi does perform SRV lookups after an account is
authorized and not during the registration of a new one.

Jitsi version: 2.5.5240
OS: Ubuntu 14.04.1 LTS, Linux 3.13.0-36-generic #63- Ubuntu x86_64 x86_64
x86_64 GNU/Linux

If anyone want to test it, just try to register a dummy account to
totallynoob.com xmpp server with jitsi and then try gajim to see the packets
being created on wireshark.

thanks,
speck.

Ingo

···

On 2014-10-09 22:51, specktator wrote: