tkmunzwa / tiny-http-proxy Goto Github PK
View Code? Open in Web Editor NEWSimple Python HTTP proxy
Home Page: http://www.voidtrance.net/2010/01/simple-python-http-proxy/
Simple Python HTTP proxy
Home Page: http://www.voidtrance.net/2010/01/simple-python-http-proxy/
Some time ago my company announced that they will start capturing and logging all HTTP traffic to and from the company. While I definitely don't spend my time at work surfing the web, I don't appreciate them looking over my shoulder and checking up on everything that I visit and read on the web. So I wrote a small application which is a very simple, rudementary HTTP proxy server. It handles most HTTP traffic and some very simple FTP traffic (clicking on FTP links from web pages). The code is based on Suzuki Hisao's Tiny HTTP Proxy module. I enhanced it to make it a standalone application. Tiny HTTP Proxy script Usage Examples Below is the script's help text which shows the accepted options and command line format: proxy [-p port] [-l logfile] [-dh] [allowed_client_name ...]] -p - Port to bind to -l - Path to logfile. If not specified, STDOUT is used -d - Run in the background To start the proxy server and bind it to port 22222 (the port on which it will listen and accept connections): proxy -p 22222 To start the proxy server, bind it to port 22222 and tell it to log all requests to the file proxy.log: proxy -p 22222 -l proxy.log To start the proxy server where it only allows connections from IP 123.123.123.123: proxy 123.123.123.123 To start the proxy server bound to port 22222, log to file proxy.log and run the server in the background (as a daemon): proxy -p 22222 -l proxy.log -d (the above information, like the script itself, were taken from http://www.voidtrance.net/2010/01/simple-python-http-proxy/)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.