• Avery Pennarun's avatar
    iptables: try launching with sudo, then su, then directly. · 2c2bea80
    Avery Pennarun authored
    Previous versions depended on having 'sudo' in your PATH.  Now that we can
    feel safe that --iptables will clean up properly when you exit, and it
    doesn't need to authenticate twice, the advantages of sudo aren't strictly
    needed.  Good old 'su' is a reasonable fallback - and everybody has it,
    which is nice.
    
    Unfortunately su doesn't let you redirect stdin, so I had to play a stupid
    fd trick to make it work.
    2c2bea80
Name
Last commit
Last update
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
client.py Loading commit data...
helpers.py Loading commit data...
iptables.py Loading commit data...
main.py Loading commit data...
options.py Loading commit data...
server.py Loading commit data...
ssh.py Loading commit data...
sshuttle Loading commit data...
ssnet.py Loading commit data...