Code Monkey home page Code Monkey logo

Comments (3)

noiala avatar noiala commented on May 9, 2024

I see #23 now, but I'm still not sure how to setup iptables/netfilter to get this working.

from sslsplit.

droe avatar droe commented on May 9, 2024

Well, you need to tell your kernel not to interfer with connections originating from sslsplit locally, otherwise that creates an endless loop of connections. As outlined in #23, there are many ways to do that, depending on your setup. Try limiting the redirection rules to the network interface that the connections are coming in on, for an easy solution. In case you are trying to run sslsplit on the same system as the browser, on Linux Netfilter you can solve that by running sslsplit under a different account than the browser and then using the owner module to only apply the redirection rules to the user the browser runs as. If you have a working iptables config for running it locally, feel free to submit a patch to the manual page or post it here to share it, that might be useful for others.

Not a bug, closing the issue.

from sslsplit.

arinc9 avatar arinc9 commented on May 9, 2024

Looking at this issue years later, using owner module to differentiate the traffic makes sense. Maybe marking the sslsplit traffic could be another solution? Adding an option to set a fwmark on sslsplit traffic so the marked traffic won't be caught by the REDIRECT rule we put.

For anyone looking for an easy way out:
Run sslsplit as root.

iptables -t nat -A OUTPUT -d <attackedIP> -p tcp -m owner --gid-owner <yourUserName> --dport 443 -j REDIRECT --to-ports 8443

from sslsplit.

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.