Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
Team
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • Metrics
  • Team
  • Wiki
    • Legacy wiki
  • ExitScannerSurvivalGuide

Last edited by Gaba Dec 21, 2020
Page history

ExitScannerSurvivalGuide

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

  1. Log into check-01.
  2. Switch to the tordnsel user by running sudo -u tordnsel -s.
  3. 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

  1. Make sure that exitscan.py shows up when running ps aux.
  2. 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.
  3. 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 format YYYY-MM-DD-HH-MM-SS.
Clone repository
  • Legacy Wiki
    • ContributorGuide
    • Documentation
    • ExitScannerSurvivalGuide
    • MetricsJavaStyleGuide
    • MetricsPythonStyleGuide
    • ObfuscationSimulationAnalysis
    • OldRoadmaps
    • RelaySearch
    • Volunteers
  • Survival Guides
    • Check
    • Exit Scanner
  • Home
  • timeline