From a33a4829e2b1866e281764d13ecfe6da27fbb7a4 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Tue, 14 Jun 2022 20:02:12 +0200 Subject: fixed some spelling mistakes --- docs/manpage.rst | 2 +- tests/client/test_methods_nat.py | 2 +- tests/client/test_methods_pf.py | 6 +++--- tests/client/test_methods_tproxy.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/manpage.rst b/docs/manpage.rst index 6ea75f3..fa1106f 100644 --- a/docs/manpage.rst +++ b/docs/manpage.rst @@ -455,7 +455,7 @@ Packet-level forwarding (eg. using the tun/tap devices on Linux) seems elegant at first, but it results in several problems, notably the 'tcp over tcp' problem. The tcp protocol depends fundamentally on packets being dropped -in order to implement its congestion control agorithm; if +in order to implement its congestion control algorithm; if you pass tcp packets through a tcp-based tunnel (such as ssh), the inner tcp packets will never be dropped, and so the inner tcp stream's congestion control will be diff --git a/tests/client/test_methods_nat.py b/tests/client/test_methods_nat.py index 6f7ae48..61b74b5 100644 --- a/tests/client/test_methods_nat.py +++ b/tests/client/test_methods_nat.py @@ -81,7 +81,7 @@ def test_assert_features(): def test_firewall_command(): method = get_method('nat') - assert not method.firewall_command("somthing") + assert not method.firewall_command("something") @patch('sshuttle.methods.nat.ipt') diff --git a/tests/client/test_methods_pf.py b/tests/client/test_methods_pf.py index dca5c51..ea7416a 100644 --- a/tests/client/test_methods_pf.py +++ b/tests/client/test_methods_pf.py @@ -92,7 +92,7 @@ def test_assert_features(): @patch('sshuttle.methods.pf.pf_get_dev') def test_firewall_command_darwin(mock_pf_get_dev, mock_ioctl, mock_stdout): method = get_method('pf') - assert not method.firewall_command("somthing") + assert not method.firewall_command("something") command = "QUERY_PF_NAT %d,%d,%s,%d,%s,%d\n" % ( AF_INET, socket.IPPROTO_TCP, @@ -115,7 +115,7 @@ def test_firewall_command_darwin(mock_pf_get_dev, mock_ioctl, mock_stdout): @patch('sshuttle.methods.pf.pf_get_dev') def test_firewall_command_freebsd(mock_pf_get_dev, mock_ioctl, mock_stdout): method = get_method('pf') - assert not method.firewall_command("somthing") + assert not method.firewall_command("something") command = "QUERY_PF_NAT %d,%d,%s,%d,%s,%d\n" % ( AF_INET, socket.IPPROTO_TCP, @@ -138,7 +138,7 @@ def test_firewall_command_freebsd(mock_pf_get_dev, mock_ioctl, mock_stdout): @patch('sshuttle.methods.pf.pf_get_dev') def test_firewall_command_openbsd(mock_pf_get_dev, mock_ioctl, mock_stdout): method = get_method('pf') - assert not method.firewall_command("somthing") + assert not method.firewall_command("something") command = "QUERY_PF_NAT %d,%d,%s,%d,%s,%d\n" % ( AF_INET, socket.IPPROTO_TCP, diff --git a/tests/client/test_methods_tproxy.py b/tests/client/test_methods_tproxy.py index 994a907..d7bc33f 100644 --- a/tests/client/test_methods_tproxy.py +++ b/tests/client/test_methods_tproxy.py @@ -78,7 +78,7 @@ def test_assert_features(): def test_firewall_command(): method = get_method('tproxy') - assert not method.firewall_command("somthing") + assert not method.firewall_command("something") @patch('sshuttle.methods.tproxy.ipt') -- cgit v1.2.3