(anchor)
| 70 | |
| 71 | @staticmethod |
| 72 | def disable(anchor): |
| 73 | pfctl('-a %s -F all' % anchor) |
| 74 | if _pf_context['started_by_sshuttle'] == 1: |
| 75 | pfctl('-d') |
| 76 | _pf_context['started_by_sshuttle'] -= 1 |
| 77 | |
| 78 | def query_nat(self, family, proto, src_ip, src_port, dst_ip, dst_port): |
| 79 | [proto, family, src_port, dst_port] = [ |