sshuttle/tests/client
Scott Kuhl 6d4261e3f9 Refactor automatic method selection.
Add an "is_supported()" function to the different methods so that each
method can include whatever logic they wish to indicate if they are
supported on a particular machine. Previously, methods/__init__.py
contained all of the logic for selecting individual methods. Now, it
iterates through a list of possible options and stops on the first
method that it finds that is_supported().

Currently, the decision is made based on the presence of programs in
the PATH. In the future, things such as the platform sshuttle is
running on could be considered.
2020-12-28 10:21:56 +11:00
..
test_firewall.py Refactor automatic method selection. 2020-12-28 10:21:56 +11:00
test_helpers.py Make server and client handle resolv.conf differently. 2020-11-03 20:27:57 -05:00
test_methods_nat.py IPv6 support in nft method. 2020-10-21 17:47:07 -04:00
test_methods_pf.py Improve consistency of PATH, environments, and which() 2020-10-23 20:33:20 -04:00
test_methods_tproxy.py Add tproxy udp port mark filter that was missed in #144, fixes #367. 2019-10-13 11:45:04 +11:00
test_options.py Remove localhost test since it can resolve to either IPv4, IPv6, or both in any particular order 2020-10-17 15:56:23 -04:00
test_sdnotify.py Fix/pep8 (#277) 2019-02-11 09:59:13 +11:00