Opened 3 years ago

Closed 3 years ago

#22730 closed defect (worksforme)

Restricting exit nodes in torrc fails silently

Reported by: saint Owned by:
Priority: Medium Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by saint)

When using @ExitNodes@ to restrict exits to one country, an error in syntax causes this option to fail silently when using Tor Browser.

For example, this code works:

ExitNodes {GB}
StrictNodes 1

While this code fails:

ExitNodes {uk}
StrictNodes 1

Spotted on v7.0.1 (64-bit) on Mac OSX 10.11.5 (15F34)

Child Tickets

Change History (7)

comment:1 Changed 3 years ago by saint

Description: modified (diff)

comment:2 Changed 3 years ago by arma

What does 'fail silently' mean here?

comment:3 Changed 3 years ago by nickm

I see this warning when I try without torbrowser:

Jun 26 16:56:38.000 [warn] Country code 'uk' is not recognized.

comment:4 Changed 3 years ago by catalyst

Status: newneeds_information

What behavior do you expect? Do you think that tor should exit with an error when there is an invalid country code in ExitNodes?

comment:5 Changed 3 years ago by nickm

Component: Core TorCore Tor/Tor

comment:6 Changed 3 years ago by dgoulet

Milestone: Tor: 0.3.2.x-final

comment:7 Changed 3 years ago by nickm

Resolution: worksforme
Status: needs_informationclosed

Closing as worksforme, and see #9516 for the usability issue in TB, but please reopen if I'm wrong about any of this!

Note: See TracTickets for help on using tickets.