Coder Social home page Coder Social logo

jonathanwilbur / sneaky-squid Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 56 KB

Squid HTTP/S proxy that does not log, deletes identifying headers, blocks tracking domains and JS, and provides repudiation.

License: MIT License

Dockerfile 44.16% Shell 55.84%
squid squid-proxy proxy

sneaky-squid's Introduction

Sneaky Squid

Sneaky Squid is a Docker container that runs a Squid proxy, which is configured to do the following, inclusively:

  • Not log anything.
  • Delete or replace HTTP headers that reveal information about users.
    • Namely, the User-Agent header.
  • Block HTTP/S requests to tracking and analytics domains.
    • Note that this blocking is very aggressive by default. Consider editing the files in ./source/blocklists and rebuilding if the defaults do not work for your purposes.
  • Block the JavaScript files commonly used in Analytics tools.
  • Provide repudiatable access by intentionally not requiring authentication.

How to use Sneaky Squid

  1. Deploy it via Docker, Docker Compose, or Kubernetes.
  • If you do not mount /cert.pem and /key.pem, a new key-pair will be generated automatically for performing TLS decryption. Extract /cert.pem from the container by running docker cp <container id>:/cert.pem <destination path>, and add this certificate to your trusted roots.
  1. Configure your device to use it as the HTTP and HTTPS proxy.
  2. HTTP proxy is available on port 3128.
  3. HTTPS proxy is available on port 4128.
  4. Open up an incognito window of your web browser, preferrably on a throwaway virtual machine.
  5. Browse the Internet.
  6. When you are done, undo the proxy configuration to stop using Sneaky Squid.
  7. If the client is not throwaway, delete your browser history.
  8. If the client is not throwaway, delete the certificate from your trusted root certificates when you are done.

TODO

  • HTTPS Interception
  • Healthcheck
  • docker-compose.yml
  • Create Kubernetes deployment.

Contact Me

If you would like to suggest fixes or improvements on this library, please just leave an issue on this GitHub page. If you would like to contact me for other reasons, please email me at [email protected] (My GPG Key) (My TLS Certificate). ๐Ÿ—

sneaky-squid's People

Contributors

jonathanwilbur avatar

Stargazers

 avatar  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.