• Avery Pennarun's avatar
    firewall.py: iptables: failure to delete a rule isn't always fatal. · 6ef9ae17
    Avery Pennarun authored
    If the previous run of sshuttle didn't manage to clean up after itself, it
    might have left the sshuttle-12300 chain intact, but the OUTPUT chain might
    not refer to it anymore.  That would cause the *next* run of sshuttle to
    barf when trying to delete the OUTPUT entry, and then never get to the part
    where it just tries to delete the old chain so it can continue.
    
    Now only the last delete command (the one that actually deletes the chain)
    is fatal if it fails; the others just print a scary message, but that should
    only happen once in your life if you're unlucky.
    6ef9ae17
Name
Last commit
Last update
compat Loading commit data...
ui-macos Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
assembler.py Loading commit data...
client.py Loading commit data...
firewall.py Loading commit data...
helpers.py Loading commit data...
hostwatch.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...
sshuttle.md Loading commit data...
ssnet.py Loading commit data...
ssyslog.py Loading commit data...
stresstest.py Loading commit data...