Editing XEP-0065: SOCKS5 Bytestreams

From JaWiki (Jabber/XMPP wiki)
Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: MediaWiki upgrading

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 382: Line 382:
 
Здесь Инициатор узнаёт, какой ВедущийУзел использует Цель.
 
Здесь Инициатор узнаёт, какой ВедущийУзел использует Цель.
  
=== Инициатор устанавливает соединение SOCKS5 с ВедущимУзлом ===
+
=== Initiator Establishes SOCKS5 Connection with StreamHost ===
  
Если ВедущийУзел использует Посредника, Инициатор ДОЛЖЕН аутентифицировать и установить соединение с ВедущимУзлом перед запросом активации потока передачи данных. Инициатор установит соединение с прокси-сервером SOCKS5 тем же способом, что и Цель (указывая те же значения в запросе CONNECT), как показано в следущих примерах.
+
If the StreamHost used is a Proxy, the Initiator MUST authenticate and establish a connection with the StreamHost before requesting that the StreamHost activate bytestream. The Initiator will establish a connection to the SOCKS5 proxy in the same way the Target did (passing the same value for the CONNECT request), as shown in the following examples.
  
 +
Example 17. Initiator Connects to StreamHost
 +
CMD = X'01'
 +
ATYP = X'03'
 +
DST.ADDR = SHA1 Hash of: (SID + Initiator JID + Target JID)
 +
DST.PORT = 0
 +
   
  
<b id="Example_17">Пример 17. Инициатор соединяется с ВедущимУзлом.</b>
+
Example 18. StreamHost Acknowledges Connection to Initiator
CMD = X'01'
+
STATUS = X'00'
ATYP = X'03'
+
   
DST.ADDR = SHA1 Hash of: (SID + Initiator JID + Target JID)
+
DST.PORT = 0
+
 
+
 
+
<b id="Example_18">Пример 18. ВедущийУзел принимает соединение Инициатора.</b>
+
STATUS = X'00'
+
 
+
 
=== Activation of Bytestream ===
 
=== Activation of Bytestream ===
  

Please note that all contributions to JaWiki (Jabber/XMPP wiki) may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see JaWiki (Jabber/XMPP wiki):Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)