<div dir="ltr">Hm... Did you try Wireshark on it?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-26 11:46 GMT+03:00 spriver <span dir="ltr"><<a href="mailto:spriver@autistici.org" target="_blank">spriver@autistici.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone!<br>
<br>
I am trying to understand the communication between an application and Tor (especially connecting to a hidden service). I am tracing packets on loopback between a torified netcat request to connect to a .onion address. When the connection gets granted I am getting a response from the socks server:<br>
(hex data of the tcp payload)<br>
<br>
0x05 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00<br>
<br>
Regarding to the SOCKS specification this means that the request is granted. But I don't understand the 0x01 in byte no 4. It means IPv4 address in the SOCKS specification, but the following part of the destination address and port (the following 0x00's) are empty. So what does that 0x01 mean?<br>
<br>
Can someone explain me that?<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
spriver<br>
______________________________<u></u>_________________<br>
tor-dev mailing list<br>
<a href="mailto:tor-dev@lists.torproject.org" target="_blank">tor-dev@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" target="_blank">https://lists.torproject.org/<u></u>cgi-bin/mailman/listinfo/tor-<u></u>dev</a><br>
</blockquote></div><br></div>