• vieira's avatar
    Load pf kernel module when enabling pf · 3635cc17
    vieira authored
    When the pf module is not loaded our calls to pfctl will fail with
    unhelpful messages.
    This change spares the user the pain of decrypting those messages and manually
    enabling pf. It also keeps track if pf was loaded by sshuttle and unloads on
    exit if that was the case.
    
    Also fixed the case where both ipv4 and ipv6 anchors were added by sshuttle
    but the first call of disable would disable pf before the second call had the
    chance of cleaning it's anchor.
    3635cc17
Name
Last commit
Last update
docs Loading commit data...
sshuttle Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGES.rst Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
conftest.py Loading commit data...
requirements.txt Loading commit data...
run Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...