Skip to content

Tor relays ignore some local bytes in their statistics

In record_num_bytes_transferred_impl(), tor records local connection bytes on:

  • directory connections

But ignores them for:

  • OR connectons,
  • exit connections, and
  • accounting.

I don't think that's right, tor should only be ignoring local connections for accounting.

This is a sponsor 55 must ticket, because we need accurate statistics during testing and deployment.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information