vanguards: Vanguards silently fail on certain condition
-
Configure torrc file (add some HiddenService lines)
-
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
-
Restart vanguards (service vanguards stop;service vanguards start)
-
Run 'ps axu|grep pypy' - you'll find vanguards is running
-
Now wait 1 minute
What will happen:
- Vanguards silently exit itself. /tmp/vandebugger logged nothing.
- 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