Exit Scanner Survival Guide
The exit scanner runs on the host check-01.torproject.org and is controlled over a systemd user script which lives at /home/tordnsel/.config/systemd/user/exitscanner.service
.
Restarting the exit scanner
- Log into check-01.
- Switch to the tordnsel user by running
sudo -u tordnsel -s
. - Run
XDG_RUNTIME_DIR=/run/user/$(id -u) systemctl --user restart exitscanner
.
Checking log files
The exit scanner writes its logs to /srv/tordnsel.torproject.org/exitscanner.log
.
Checking if the exit scanner works
- Make sure that exitscan.py shows up when running
ps aux
. - Take a look at CollecTor's archive. If there are new files once per hour, check-01 is up and running. If all files are of slightly varying size, the exit scanner is up and running too. If subsequent files are of the exact same size, the exit scanner is not running.
- Make sure that the directory
/srv/tordnsel.torproject.org/lists
contains a file that was created in the last hour or so. All file names in this directory have the formatYYYY-MM-DD-HH-MM-SS
.