Can Lightsquid log HTTPS without man in the middle?



  • Installed Lightsquid and it's working great… only issue is it's only logging HTTP connections. Is there a way to set it up so it merely logs HTTPS connections, but without having to turn on MITM in the Squid options?

    TIA



  • Do you mean using transparent or explicit proxy?  ???

    If you have configured transparent proxy, then it doesn't work, obviously  ;)



  • I have transparent on for Squid and Lightsquid is logging all HTTP connections from everything on the network… but only when I set the proxy on each machine will it log HTTPS connections for that device only... it appends :443 to the end of HTTPS connections.

    I'd like it so while in transparent mode, it would log HTTPS for everything... if possible.



  • https is designed to prevent this.

    only way is to be evil & do mitm



  • That's how HTTPS works.  If you want to intercept HTTPS then you need either an explicit proxy or a transparent proxy with a pfSense certificate installed on every single client.  WPAD gives you the best of both worlds since you don't have to touch the client but you can still filter HTTPS.



  • @KOM:

    That's how HTTPS works.  If you want to intercept HTTPS then you need either an explicit proxy or a transparent proxy with a pfSense certificate installed on every single client.  WPAD gives you the best of both worlds since you don't have to touch the client but you can still filter HTTPS.

    Filter, at "domain" level but also have some logs too  ;)


  • LAYER 8 Netgate

    The actual domain and URL requested from a particular IP address are inside the encrypted session.

    
    GET /index.html HTTP/1.1
    Host: www.example.com
    
    

Log in to reply