Giter Site home page Giter Site logo

http-proxy's Introduction

http-proxy

Prerequisites

LINUX

sudo apt-get install make gcc libsctp-dev

Setup

On root folder execute

make

The proxy server is the root folder with the name httpd. The manager client is in the root folder with the name httpdclt.

Run proxy

On root directory

./httpd

For more information see ./httpd.8

Run manager

./httpdctl [ip port]

Ip and port are optionals and it must be both of them or neither of them.

The username is "manager" and the password is "pdc69"

Command of manager

It support pipe-linning, the syntaxis is:


  cmd

  cmd

  .

  .

  .

  cmd

  .

Note the it finish with the '.' character and cmd is one of the following commands:

  • Gets the transformation command

get cmd

  • Gets the list of media range

get mime

  • Gets the estate of the transformations

get tf

  • Gets the quantity of concurrents connections

get mtr cn

  • Gets the quantity of historics connections

get mtr hs

  • Gets the quantity of transfer bytes

get mtr bt

  • Change the transformation command for th command parameter

set cmd command

  • Adds the media-range parameter to the list of media-ranges from the proxy

set mime media-range

  • Resets the list of media-ranges from the proxy

set mime

  • Turn on or off the tranfomations

set tf on/off

  • Sends a request Bye to the server

bye

Documentation

The report, protocol ABNF and presentation will be located under documentation folder

Code use from course

The following files has been copied from socks5 course proyect

smt.c
smt.h
buffer.c
buffer.h    
selector.c
selector.h

Logs

Logs will create a folder logs under the directory that you run the httpd binary. In this folder it will create a file for each level of log (access, debug, error).

http-proxy's People

Contributors

agustinalejodammiano avatar agustinizaguirre avatar donosonaumczuk avatar lucas-sg avatar

Watchers

 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.