vanguards: Vanguards silently fail on certain condition

  1. Configure torrc file (add some HiddenService lines)

  2. 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)

  2. Run 'ps axu|grep pypy' - you'll find vanguards is running

  3. 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

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