Code Monkey home page Code Monkey logo

proxychains-multi's Introduction

This is a modified version of proxychains with support of multiple chains for different targets.

Inherited functionality allows passing any TCP connection from any application thru proxy server (or chain of proxy servers).

This project adds support of several different proxies (or chains of proxies) that can be used at the same time. Each proxy chain has a set of filters assigned to it. These filters are used to determine which chain to use for particular connection.

Currently filters look at destination IP address and/or port number. If destination matches filter then one of these actions is performed:

  • accept - apply current chain (i.e. chain to which this filter belongs)
  • refuse - refuse connection immediately (can be used to implement simple firewall)
  • skip - skip this chain and proceed to next one

Example:

[chain "direct"]
                                                 # no proxies are defined so direct connection is
                                                 # established
filter accept 127.0.0.0/8 192.168.1.0/16         # address ranges are in CIDR notation
                                                 # by default 'skip' action is implied

[chain "surfing"]
proxy http 192.168.89.3:8080 "login" "password"
filter reject 70.32.146.212:80                   # block annoying ads from here
filter accept :80 :443                           # accept http and https connections

[chain "hacking"]
proxy socks5 192.168.67.78:3128 "lamer" "secret" # double-proxy connections
proxy socks4 192.168.1.49:1080
filter accept any                                # accept rest connections

Chain names are used solely for logging.

To build and install the project issue

cmake . && make && make install

cmake, flex and bison are prerequisites. Alternatively you can use ebuilds from 'portage' directory (if you're Gentoo user).

You can export LD_PRELOAD="libproxychains-multi.so" at system level to automatically enforce every application on your system to use proxies.

proxychains-multi's People

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.