[Standards] Questions regarding XEP-0065

Justin Karneges justin-keyword-jabber.093179 at affinix.com
Wed Apr 11 22:39:03 UTC 2007

On Wednesday 11 April 2007 3:10 pm, Matthias Wimmer wrote:
> I have two questions regarding XEP-0065 in proxy mode.
> - The XEP states, that SHA1(SID + Initiator JID + Target JID) has to be
> transmitted as DST.ADDR. Does this mean that the SHA1 should be
> transmitted hex encoded in ASCII or does this mean that the binary SHA1
> value should be transmitted? If second: is network byte order used?

Hex string in ASCII.

> - In the Reply packet for the socks server to the connect request, the
> server transmits the IP address and port that the server uses to connect
> to the destination. As XEP-0065 does not really do SOCKS5, but only uses
> the syntax of SOCKS5, the proxy will not connect on this request. So
> what is expected to be transmitted as this address and port in the
> connect reply?

Looking at the Iris SOCKS5 server code, it seems that I just echo the original 
request back (so, response addr = hash, and response port = 0).  I don't know 
if this is correct though.


More information about the Standards mailing list