Giter VIP home page Giter VIP logo

bproxy's People

Contributors

irmana avatar jkuri avatar martinopresnik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bproxy's Issues

Event logger

Print to logger time, source-ip, requested hostname, requested url, response time.

[bug]: Multi chunk request

When request is made with multiple chunks (POST request sending data), http parsing crashes on 2nd chunk.

[bug]: servers running on SSL

If server behind proxy is already running on SSL it doesn't work while accessing via bproxy configured as SSL.

@martinopresnik please note that this bug is critical and it has very high priority as we currently cannot use HTTP/2 push feature behind on our servers because it requires running on SSL.

[bug]: gzipped chunks

I noticed that sometimes there is something wrong with sent chunks. I don't know for sure what's going on here but might be related if there is websocket connection established also on same time.
I noticed that proxying abstruse and I am appending screenshot:

screen shot 2018-04-06 at 21 53 23

[feat]: additional headers

  1. Request

Each proxy should send additional headers with initial request so the server behind proxy knows information about the client.
Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers the Proxy section;

  • X-Forwarded-For
    Identifies the originating IP addresses of a client connecting to a web server through an HTTP proxy or a load balancer.
  • X-Forwarded-Host
    Identifies the original host requested that a client used to connect to your proxy or load balancer.
  • X-Forwarded-Proto
    identifies the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer.
  1. Response

Add our own header in response so if someone checks it knows it was proxied by our reverse proxy,
just like everyone else do.

header name is server, add server: bproxy [VERSION], example for nginx:

screen shot 2018-05-04 at 16 42 48

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.