• Avery Pennarun's avatar
    firewall.py: catch SIGINT and SIGTERM too. · e5251969
    Avery Pennarun authored
    There were still a few conditions under some OSes that would cause
    firewall.py to terminate without cleaning up the firewall settings.  'pkill
    sshuttle' was one of them.  Ignore a couple more signals to further ensure a
    correct cleanup.
    
    (This only affects sshuttle --firewall, which is a subprocess of the main
    sshuttle process.  The firewall is supposed to exit automatically whenever
    the client exits, and so far that part seems to work reliably.)
    e5251969
Name
Last commit
Last update
..
compat Loading commit data...
ui-macos Loading commit data...
Makefile Loading commit data...
all.do Loading commit data...
assembler.py Loading commit data...
clean.do Loading commit data...
client.py Loading commit data...
default.8.do Loading commit data...
do 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...