sshuttle/tests/client
Scott Kuhl a604d107ef Keep terminal in a sane state when sudo use_pty is used.
This fixes #909 and is an alternative to the #922 pull request. When
sudo's use_pty is used with sshuttle, it causes issues with the
terminal. Pull request #712 contains some fixes for this problem.
However, when sshuttle is run with the --daemon option, it left the
user's terminal in a non-sane state. The problem appears to be related
to a socketpair that the firewall uses for communication. By setting
it up slightly differently (see changes to client.py and firewall.py),
the terminal state is no longer disrupted. This commit also changes
line endings of the printed messages from \r\n to \n. This undoes a
change introduced by pull request #712 and is no longer needed.
2024-01-05 19:08:34 +11:00
..
test_firewall.py Fix tests 2023-08-07 20:00:32 +10:00
test_helpers.py Keep terminal in a sane state when sudo use_pty is used. 2024-01-05 19:08:34 +11:00
test_methods_nat.py Fix tests 2023-08-07 20:00:32 +10:00
test_methods_pf.py Fix tests 2023-08-07 20:00:32 +10:00
test_methods_tproxy.py tproxy: Apply DNS rules first 2023-10-04 08:11:52 +11:00
test_options.py test a wildcarded host acceptable 2022-02-10 23:32:43 +09:00
test_sdnotify.py feat: remove mock from test dependencies. 2021-01-17 15:42:55 +11:00