Giter VIP home page Giter VIP logo

Comments (5)

AshleyPinner avatar AshleyPinner commented on May 22, 2024 3

Can I pop in a suggestion to let the system variable you look in for the IP be configurable? In our setup, since we're behind load balancers (with re-negotiated SSL), REMOTE_ADDR is the LB address. Thus in your setup, the IP address would have no variation between users.

from snuffleupagus.

blotus avatar blotus commented on May 22, 2024

I'm not sure that using the SSL_SESSION_ID is a good idea :

  • It is transient, if the server or the client reboots, it's gone (but the same thing can be said about an IP address)
  • If the application is hosted behind a reverse proxy, all clients will share the same SSL_SESSION_ID as the ssl connection is negotiated between the RP and the web server
  • What about websites that don't use SSL ? (i know it's 2017, but i'll bet that the websites that need snuffleupagus the most don't use SSL)

from snuffleupagus.

jvoisin avatar jvoisin commented on May 22, 2024

People are less likely to reset their TLS session than to move to an other IP thanks to roaming. For the reverse-proxy, we do have the same issue with our current IP-based approach: the server will see the IP of the RP, except if the users configures it properly, leading to point 3: we can always fallback to using our current solution :)

from snuffleupagus.

blotus avatar blotus commented on May 22, 2024

Except it is way easier to setup mod_rpaf so that the server will see the client IP than trying to forward the SSL_SESSION_ID :)

from snuffleupagus.

jvoisin avatar jvoisin commented on May 22, 2024

This is done in 377cb2a

Thank everyone for the suggestions ♥

from snuffleupagus.

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.