[tor-dev] ExitPortStatistics interpretation

Karsten Loesing karsten at torproject.org
Sun Jan 29 16:02:43 UTC 2017


On 29/01/17 13:56, nusenu wrote:
> Hi,

Hi nusenu,

> 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)

Those are the 10 ports with the highest number of (written and read)
bytes, unrelated to the number of stream.  And all lines below report
statistics for these 10 ports plus "other".

All the best,
Karsten


> 
> 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".
> 
> 
> 
> 
> _______________________________________________
> tor-dev mailing list
> tor-dev at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
> 


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


More information about the tor-dev mailing list