Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6490 closed enhancement (fixed)

Warn if traffic accounting is enabled and likely to break anonymity

Reported by: rransom Owned by:
Priority: Medium Milestone: Tor: 0.2.3.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: easy tor-hs
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

A Tor instance should log a warning if traffic accounting is enabled and any of the following are true:

  • It is configured to operate two or more hidden services (e.g. there are two or more HiddenServiceDir lines in its configuration).
  • It is configured to operate at least one hidden service and run as a relay or bridge.

This change attempts to address a possible user safety issue and can't break Tor in a subtle way, so I'm filing it for 0.2.3.x.

Child Tickets

Change History (6)

comment:1 Changed 7 years ago by nickm

Status: newneeds_review

branch "bug6490" in my public repo.

comment:2 Changed 7 years ago by arma

s/When when/Warn when/

fails 'make check-spaces'

Other than those, sounds good.

comment:3 Changed 7 years ago by rransom

Status: needs_reviewneeds_revision

I would use server_mode(options) instead of options->ORPort. (Presumably UDP transports would involve a protocol other than ‘OR’, as will pluggable transports if Tor's handling of them improves.)

comment:4 Changed 7 years ago by nickm

Resolution: fixed
Status: needs_revisionclosed

Changes made; branch "bug6490_v2" merged. Thanks!

comment:5 Changed 7 years ago by nickm

Keywords: tor-hs added

comment:6 Changed 7 years ago by nickm

Component: Tor Hidden ServicesTor
Note: See TracTickets for help on using tickets.