Opened 11 years ago

Closed 4 years ago

#1 closed defect

SRV records are not honoured

Reported by: soakbot Owned by:
Priority: Milestone:
Version: Keywords:
Cc:

Description

Creator: Jeremy Visser
URL: http://dev.osdrawer.net/issues/254

Many Jabber servers use an SRV record to delegate the XMPP service for a domain to another server.

For example, Google uses SRV records so that Google Talk users who have an @gmail.com address actually communicate with a Jabber server at xmpp-server.l.google.com. See this snippet:

$ host -t srv _xmpp-server._tcp.gmail.com
_xmpp-server._tcp.gmail.com has SRV record 20 0 5269 xmpp-server2.l.google.com.
_xmpp-server._tcp.gmail.com has SRV record 20 0 5269 xmpp-server3.l.google.com.
_xmpp-server._tcp.gmail.com has SRV record 20 0 5269 xmpp-server4.l.google.com.
_xmpp-server._tcp.gmail.com has SRV record 5 0 5269 xmpp-server.l.google.com.
_xmpp-server._tcp.gmail.com has SRV record 20 0 5269 xmpp-server1.l.google.com.

Jabber for Haiku should respect these SRV records. As a compromise, the ability to manually specify an alternative server to connect to (while still retaining the original domain in the login) should be available.

_CAUTION: comments not extracted from issues. See OsDrawer or the WaybackMachine for issue comments._

Change History (3)

comment:1 by pulkomandy, 5 years ago

To be confirmed with the new gloox backend, I think this should work fine now.

comment:2 by pulkomandy, 5 years ago

https://review.haiku-os.org/c/haiku/+/1889 and then further fixes in gloox configure.ac (to look for things in libnetwork) are needed.

comment:3 by pulkomandy, 4 years ago

Status: newclosed

Gloox 1.0.23 is built with getaddrinfo support enabled, so now this should work.

Note: See TracTickets for help on using tickets.