项目作者: sajalasati

项目描述 :
Multithreaded proxy server in python
高级语言: Python
项目地址: git://github.com/sajalasati/simple-proxy-server.git
创建时间: 2019-05-27T09:17:46Z
项目社区:https://github.com/sajalasati/simple-proxy-server

开源协议:

下载


Proxy Server

A multithreaded proxy server in python, implemented using threading and sockets as a part of Computer Networks coursework. As of now it supports HTTP websites only.

Features

  • Multi Threaded : can handle multiple clients and server
  • Multiple Clients can be routed through this server.
  • Caching : Websites are cached in case of frequent requests (more than 3 times) within a period of 5 minutes.
  • Blackilisting: Blocking of websites using a CIDR list (stored in proxy/blacklist.txt)
  • Authentication : username and password required to view blacklisted domains(stored in proxy/authentication.txt)
  • Tested on following http websites:

To Run

  • Fix the port on your host to 20100 (server assumes to be on the port 20100 and re-routes requests through it).
    1. python server.py
  • Now we are ready to open a http website on the web browser after fixing the port as described earlier.