Opened 4 months ago

Last modified 4 months ago

#33870 assigned defect

vanguards: Vanguards silently fail on certain condition

Reported by: cypherpunks Owned by: mikeperry
Priority: Medium Milestone:
Component: Core Tor Version:
Severity: Major Keywords: vanguard
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

  1. Configure torrc file (add some HiddenService lines)
  1. Edit vanguards.conf like below:
# IP address that the Tor control port is listening on:
control_ip =

# TCP port the control port is listening on:
control_port = 

# If set, use this filesystem control socket instead of IP+Port:
control_socket = /run/tor/control

# If set, use this as the control port password:
control_pass =
# The current loglevel:
loglevel = NOTICE

# If specified, log to this file instead of stdout:
logfile = /tmp/vandebugger
  1. Restart vanguards (service vanguards stop;service vanguards start)
  1. Run 'ps axu|grep pypy' - you'll find vanguards is running
  1. Now wait 1 minute

---

What will happen:

  1. Vanguards silently exit itself. /tmp/vandebugger logged nothing.
  2. However if you read syslog you'll find this line:
Specified config file /meow/vanguards.conf can't be read: invalid literal for int() with base 10: ''

How to fix:
Setting 'control_port = ' to 'control_port = 9876' fixed this.

What do I want:
Error should not be raised if the user set 'control_port' empty string.

#NoGithub #ILikeYourAddon

Child Tickets

Change History (1)

comment:1 Changed 4 months ago by dgoulet

Component: - Select a componentCore Tor
Keywords: vanguard added
Owner: set to mikeperry
Status: newassigned
Note: See TracTickets for help on using tickets.