[tor-dev] ExitPortStatistics interpretation

nusenu nusenu at openmailbox.org
Sun Jan 29 12:56:00 UTC 2017


Hi,

I'm looking at ExitPortStatistics. Since the spec [1] is not very
specific, I wanted to confirm that my assumption is correct:

The current tor implementation includes the 10 most relevant ports,
correct? (highest number of bytes or stream)

example:
exit-streams-opened
80=5178868,182=1092,443=3499276,5000=29600,5753=8920,6881=43496,8080=31184,8333=472,8999=16572,51413=51496,other=1925104

so the ports
80
182
443
5000
5753
6881
8080
8333
8999
51413

are the most used exit ports on that given relay (not by that order).

thanks,
nusenu





[1]
https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n1082:
>     "exit-kibibytes-written" port=N,port=N,... NL
>         [At most once.]
>     "exit-kibibytes-read" port=N,port=N,... NL
>         [At most once.]
> 
>         List of mappings from ports to the number of kibibytes that the
>         relay has written to or read from exit connections to that port,
>         rounded up to the next full kibibyte.  Relays may limit the
>         number of listed ports and subsume any remaining kibibytes under
>         port "other".
> 
>     "exit-streams-opened" port=N,port=N,... NL
>         [At most once.]
> 
>         List of mappings from ports to the number of opened exit streams
>         to that port, rounded up to the nearest multiple of 4.  Relays may
>         limit the number of listed ports and subsume any remaining opened
>         streams under port "other".


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20170129/3a2119e5/attachment.sig>


More information about the tor-dev mailing list