TOR-from-scratch is a comprehensive project that demonstrates the underlying principles of the Tor network. This project is designed for educational purposes, showcasing how to build the Tor network from the ground up, understanding the complexities of anonymous communication, and enhancing privacy on the internet.
To set up the project on your local machine, follow these steps:
-
Clone the Repository:
git clone https://github.com/trevorsaudi/TOR-from-scratch.git cd TOR-from-scratch
-
Install Dependencies:
Ensure you have the required dependencies installed. For a typical Kali Linux environment, you may need:
sudo apt-get update sudo apt-get install tor
-
Configuration:
Configure the Tor service to listen on port 9050 by editing the
torrc
file:sudo nano /etc/tor/torrc
Ensure the following line is present (listens on 9050 by default):
SocksPort 9050
-
Start the Tor Service:
sudo systemctl start tor
To use the Tor network as configured in this project, run the main
application with the host and port as command-line arguments. This will effectively route your traffic through the TOR network to the target
./main <host> <port>