Re: How to communicate between Receiving and Authoritative server

Florian Schmaus <[email protected]>
Newsgroups gmane.network.jabber.devel
Message-ID <[email protected]>
On 11.02.2015 14:27, [email protected] wrote:
> Hi, I am new and I hope that is the right mailing list for questions
> like this.

It is the right mailing list. But there is also the
[email protected] MUC, which is also a good place to ask questions.

Nice to see that someone is working on Vines's s2s support. :)

> According to XEP-0220 the Authoritative-Server receives via a new
> connection `db:verify` and sends a go or no-go back to the
> Receiving-Server.
> 
> How can he send the `db:verify` to an other server without having a
> established connection?

The Receiving Server just established a TCP connection and XMPP stream
to you sending the db:verify. According to XEP-220 § 2.1.2. the
Receiving Server either re-uses an existing XML stream or establishes a
new one. Either way, there is an established connection, the one over
which the Receiving Server send the db:verify to the Authoritative Server.

> According to the RFC a proper XMPP stream is initialized by
> `stream:stream` and `stream:features`. But then we are stuck in a loop
> cause he wants to authenticate again.

You have to distinguish between authenticated and unauthenticated
streams. You can, and in fact have to, exchange dialback elements over
unauthenticated streams. So there is no loop.

Hope this helps.

- Florian

_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________
signature.asc (application/pgp-signature, 668 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQF8BAEBCgBmBQJU22JHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMzU3QjAxODY1QjI1MDNDMTg0NTNEMjA4
Q0FDMkE5Njc4NTQ4RTM1AAoJEIysKpZ4VI41HK4H/3LT4eDnJxniDxekKfcqt8o9
vs9qIox+jFKGkFmv1s9uJLzdoSPu38wa9u6V/3djs0Wx7VveTAWt31JVo0KrRuhG
GIraYBxmSO6mSK+o+DkPT7zrlTjgIIqmkaMvGXIG999JC3nPWVlXdW0kWgaKzkxQ
MxYMXe8MdbA/8A4kJRMlxlInMPJgbdWgZAMZC51qrAYHu3+pU25Y5G+7K0qUqTz9
ghJGwzw8RMPXBQ8mJ7mXUPSoUnamHk8ujz/XQFTwpIZgJClL7Xx1nEANHRuDrAcS
0Kh32cRBzZVyrlGjCH9QMMEQhUf/s8ylqjUTU22ea7k38/uJKE0t68RURybFPBg=
=0N4N
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.