sshuttle/tests
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
..
client Keep terminal in a sane state when sudo use_pty is used. 2024-01-05 19:08:34 +11:00
server feat: remove mock from test dependencies. 2021-01-17 15:42:55 +11:00
ssh Fix parse_hostport to always return string for host 2020-08-13 07:53:38 +10:00