Dialback handshake when Server to Server communication

xiaoxiao2021-04-09  308

I tried to let me write the XMPP server to communicate with other servers, below is with Google

The data shaking hands when Talk is talking:

[2006-6-22 1:22:04] A data from 64.233.166.129:

XMLns: stream = "

http://etherx.jabber.org/streams "xmlns =" ​​jabber: server "

XMLns: DB = "Jabber: Server: Dialback">

[2006-6-22 1:22:06] Send data to 64.233.166.129:

ID = "D25715A6-3EDA-4708-8E6D-A03ECAB0928E" XMLns = "Jabber: Server"

XMLns: db = "Jabber: Server: Dialback"

XMLns: stream = "

http://etherx.jabber.org/streams>

[2006-6-22 1:22:08] Received data from 64.233.166.129:

From = "gmail.com"> caesbxdkuuq8vyeaeg nj6hgmryn / idANF37ZHC =

The way I use is to let Google

Talk first initiated the connection, and then I returned it a ID, and it sent me a DB: Result. But this DB: Result "caesbxdkuuuq8vyeaeg nj6gmryn / idAnf37zhc =" is generated? If I actively to Google

Talk initiates a connection, then what should I generate this string?

I read the relevant content in JEP-0185, but I found that the actual situation and the agreement were different. In the agreement, this text is generated using the HMACSHA256 algorithm, but it is obviously not generated with HMACSHA256. And the agreement also needs to be generated as a "serce" as KEY, but how do I generate my Sercet?

转载请注明原文地址:https://www.9cbs.com/read-133129.html

New Post(0)