• Avery Pennarun's avatar
    iptables: more resilient startup/cleanup. · a21e8c7a
    Avery Pennarun authored
    Now the sudo iptables subprocess persists for the entire life of sshuttle.
    The benefits of this are:
    
    - no need to authenticate again at shutdown (failure of which could cause us
      to not clean up iptables)
    
    - if the main process dies unexpectedly, iptables still gets cleaned up
    
    - the password prompt can happen *before* starting the ssh/server process,
      which means it'll stand out and the password prompt won't be overwritten.
    a21e8c7a
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...