GithubHelp home page GithubHelp logo

Comments (6)

tmackay avatar tmackay commented on July 17, 2024

I can see how getting the details from the certificate would come in handy - hostname for example. What if we could connect first by IP, get the certificate details, then reconnect using hostname? This would help a lot with hostname based acls in the parent proxy.

from go-any-proxy.

ryanchapman avatar ryanchapman commented on July 17, 2024

I like your idea tmackay--it's adds an additional layer of security. Adding it to the issue.

from go-any-proxy.

skbly7 avatar skbly7 commented on July 17, 2024

I think we (I and @jyotishp) have a PoC implementation for this over go-any-proxy.
Any comments or suggestions would be great.

The first packet is being captured i.e. HELLO, hostname extracted out using sni.go available in google/tcpproxy. This allows us to make hostname based connection on parent proxies, so filtering rules remain intact. Further, the initial HELLO packet is retransmitted upon proxy
CONNECT. Overall, HTTPS is preserved.

master...skbly7:master

from go-any-proxy.

ryanchapman avatar ryanchapman commented on July 17, 2024

Just taking a quick pass, looks ok to me. Could you add an optional flag so that it isn't enabled by default? Then I think we could merge a PR.

from go-any-proxy.

skbly7 avatar skbly7 commented on July 17, 2024

Sure, I have made it optional and sent the pull request for the same.

from go-any-proxy.

ryanchapman avatar ryanchapman commented on July 17, 2024

Thanks for the contribution!

from go-any-proxy.

Related Issues (20)

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.