Monitoring, Reporting, and Logging For Your Tor Relay
- Nightly Email Traffic Reports - mySQL Traffic Logging - Uptime and Connections to be Implemented SoonView Demo · Report Bug · Request Feature
Table of Contents
A utility made to monitor your tor relay through the inbuilt api. Has SQL logging capabilities and sends nightly HTML fancy email reports updating you on the status of your relay. Fully configurable for local or remote sql and smtp
- Running Tor Relay with full access to operator control
- SMTP Server
- mySQL DB and user with read/write access
- Python 3x
-
Clone the repo
git clone https://github.com/algertc/Tor_watchdog.git
-
Edit config.ini (all fields are strings. Do not use quotes.
``` [RELAY_AUTH] hashPass = YOUR_RELAY_PASSWORD [SMTP_AUTH] smtpUser = smtpPass = [MYSQL] host = user = passwd = [SMTP_OUTPUT] receivingAddr = Address to which the reports should be sent
-
Run the main once for testing.
cd Tor_watchdog python3 main.py
-
If all is well, kill the script and run it in background.
python3 main.py &
-
Done!
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPL-3.0 License. See LICENSE.txt
for more information.