forked from apenwarr/sshuttle
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implements pf firewall, the least scriptable firewall there is. because it is so lame, the assumption is made that no one is using it and sshuttle will overwrite any existing pf rules at start and flush and disable on exit.
- Loading branch information
Fredrik Gustafsson
committed
Sep 9, 2014
1 parent
4c3b674
commit 5fbc3f7
Showing
2 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5fbc3f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're awesome, thanks for this fix!
5fbc3f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👯
5fbc3f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are the man! =)
5fbc3f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much!
5fbc3f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this fix, nice to have it working again!
It might be worthwhile mentioning adding something like this to sudoers:
%admin ALL=(ALL) NOPASSWD: /sbin/pfctl
Otherwise once the timestamp_timeout fires any new session attempt will cause a traceback in Python.
5fbc3f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the compatibility fix -- confirmed working in El Capitan 10.11.1.