Code Monkey home page Code Monkey logo

proxyhack's Introduction

proxyhack

An experimentation to make enterprise proxy transparent on linux

If you have been working behind an enterprise proxy which is not transparent, you know how painful is it.

This project is an experimentation whose goal is to:

  • make proxy transparent
  • be avaiable for all software running on the system
  • allow user specific configuration

#use

git clone https://github.com/maxired/proxyhack.git # probably you need to setup your proxy first :) and then unset it cd proxyhack make export LD_PRELOAD=pwd/proxyhack.so export PROXY_ADDR=<your_proxy_port> export PROXY_PORT=<your_proxy_addr> curl curlmyip.com

#Implementations choices We decided to override linux C standard library in order to be accessible for any software on the system. We have been massively influenced by bindhack and reuse same mechanismes. Another solution would have been to create a virtual network devices, with tun/tap mechanismes.

#Features proxyhack is currently working with http request along and HTTP proxy. We need to support other protocols.

#TODO there is lot to do in order to complete the idea :

  • testing : unitary testing would be a need, to make devepements easier, and show people how good the solution work
  • supporting all protocols : http seems to be working right now, but not SSL based protocol.
  • supporting socks proxy : this would allow to also support UDP
  • Advanced configuration : currently proxy settings si done trhought env variable. One proxy will be used for all connection. We want support advanced configuration. I am in favor of Javascript files to do so, as it is format of proxy autoconfiguration file pac

proxyhack's People

Contributors

maxired avatar

Stargazers

Baptiste avatar

Watchers

James Cloos avatar  avatar  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.