Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #32637
Closed (moved) (moved)
Open
Issue created Nov 28, 2019 by cypherpunks@cypherpunks

SocksPort IPv6 flags differs in default config and in Torlauncher prefs, and exits can distinguish them

By default tor daemon set only IPv6Traffic flag in client sockets, but not PreferIPv6 https://gitweb.torproject.org/tor.git/tree/src/app/config/config.c#n6094

But Torlauncher sets them both when launch tor daemon with Tor Browser https://gitweb.torproject.org/tor-launcher.git/tree/src/defaults/preferences/torlauncher-prefs.js#n41

As i can see in spec, this flags sets bits in "FLAGS" value in RELAY_BEGIN cell, and exit relays can recognize which flags sets in client port settings. So, exits can distinguish circuits from Tor Browser Bundle clients and, as example, from daemons in linux distro repositories, with high level of probability. https://gitweb.torproject.org/torspec.git/tree/tor-spec.txt#n1595

Is there any reasons why PreferIPv6 flag is not turned on by default? This issue raises up in past (#21269 (moved)), but solution is not efficient - anyway flags sent to exit by default differs from vast majority of real usecases - surfing web with TBB.

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