Subject: Jep0065 SOCKS5
I have posted this comment and elsewhere(http://forum.ag-software.de/forum.php?req=thread&posti…), but i think this is the most appropriate thread to sent it:
In the Jep0065 (http://www.jabber.org/jeps/jep-0065.html) it says:
Example 18. Proxy Informs Initiator of Activation
<iq type='result'
from='proxy.host3'
to='initiator@host1/foo'
id='activate'/>
The Proxy MUST then send SOCKS5 acknowledgement of the connection to the Target.
Example 19. StreamHost Acknowledges Connection to Target
STATUS = X'00'
So, I suppose the Target should send the StreamHostUsed to the Initiator just after he authenticates with the proxy server.
After that he Sends the CONNECT command (SOCKS5) and then it waits for the STATUS '00' REPLY from the proxy server.
This status will come AFTER the Initiator Activates the ByteStream with the proxy server,
Am I wright?
In the Jep0065 (http://www.jabber.org/jeps/jep-0065.html) it says:
Example 18. Proxy Informs Initiator of Activation
<iq type='result'
from='proxy.host3'
to='initiator@host1/foo'
id='activate'/>
The Proxy MUST then send SOCKS5 acknowledgement of the connection to the Target.
Example 19. StreamHost Acknowledges Connection to Target
STATUS = X'00'
So, I suppose the Target should send the StreamHostUsed to the Initiator just after he authenticates with the proxy server.
After that he Sends the CONNECT command (SOCKS5) and then it waits for the STATUS '00' REPLY from the proxy server.
This status will come AFTER the Initiator Activates the ByteStream with the proxy server,
Am I wright?