Coder Social home page Coder Social logo

izogain / torproxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from r-a-w/torproxy

0.0 1.0 0.0 26 KB

TorProxy is a tool which uses netfilter hooks in the linux kernel to route all network traffic through the Tor network

Makefile 4.59% Shell 18.75% C 76.65%

torproxy's Introduction

  _______         _____  
 |__   __|       |  __ \  
    | | ___  _ __| |__) | __ _____  ___   _  
    | |/ _ \| '__|  ___/ '__/ _ \ \/ / | | |  
    | | (_) | |  | |   | | | (_) >  <| |_| |  
    |_|\___/|_|  |_|   |_|  \___/_/\_\\__, |  
                                       __/ |  
                                      |___/  

TorProxy is kernel module which routes all network traffic through the Tor anonymity network.

The module uses netfilter hooks in the linux kernel to filter/NAT packets and ensure all outbound traffic is headed for the Tor network.

The Tor network currently only supports TCP ipv4 traffic so all other protocol packets are dropped, with the exception of DNS packets, these are allowed and are forwarded to the TorDNS proxy to prevent DNS leaks.

This means no ICMP pings, ipv6, UDP etc...

Applications do not have to be configured to use the proxy as it uses Tors transparent proxy and NAT's all outbound TCP requests.

Access to hidden services still has to be performed through the Tor browser.

Tested on Debian kernel version 3.16.0-4, you will need to have the linux-headers.

Installation:

To build:

make

you can either run the proxy portably within the folder after compilation or install using:

make install

ensure you have the Tor DNS and Transparent Tor proxy running on the following ports:

add to your torrc configuration file:

DNSPort 9053
TransPort 9040

Usage:

The proxy must be run as root and Tor must be running. Insert the module and your done! Remember to remove the module when you want regular internet access.

If Tor chooses a new entry relay you may need to refresh the relays table in the module using '-r'.

Arguments:

-s insert module and start proxy  
-i insert torproxy kernel module  
-r remove torproxy kernel module  
-t refresh tor relays table

torproxy's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.