[tor-relays] Is TOR using more than just OrPort and DirPort?

Roger Dingledine arma at mit.edu
Mon May 13 07:55:25 UTC 2013


On Sun, May 12, 2013 at 01:45:03PM -0700, Daniel Wu wrote:
> There are these connections, from 127.0.0.1 back to itself.  Some sort of
> internal process used by Tor?  Not as concerned about these, since these
> are internal.  But still curious.
> 
> TCP 127.0.0.1:63417 127.0.0.1:63418 ESTABLISHED
> TCP 127.0.0.1:63418 127.0.0.1:63417 ESTABLISHED
> TCP 127.0.0.1:63419 127.0.0.1:63420 ESTABLISHED

This is because Windows doesn't have socketpair(), so we use a pair of
sockets explicitly:
https://gitweb.torproject.org/tor.git/blob/refs/heads/release-0.2.3:/src/common/compat.c#l1100

In short (as you guessed), nothing to worry about.

--Roger



More information about the tor-relays mailing list