summaryrefslogtreecommitdiffstats
path: root/sshuttle.md
diff options
context:
space:
mode:
authorAvery Pennarun <apenwarr@gmail.com>2011-02-21 03:04:00 -0800
committerAvery Pennarun <apenwarr@gmail.com>2011-02-21 03:04:00 -0800
commit6ef9ae1796659630e2d35082d83ab766c443751a (patch)
treed14505a800d04736de3de5f015299faa3d8ffef4 /sshuttle.md
parent1ca8aa5b891d01181a5d6a814631f6cf2cd08603 (diff)
firewall.py: iptables: failure to delete a rule isn't always fatal.
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.
Diffstat (limited to 'sshuttle.md')
0 files changed, 0 insertions, 0 deletions