summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Venthur <venthur@debian.org>2022-06-14 20:02:12 +0200
committerBrian May <brian@linuxpenguins.xyz>2022-06-15 07:43:25 +1000
commita33a4829e2b1866e281764d13ecfe6da27fbb7a4 (patch)
tree51fbea34ab9a3624aec59268b0df56e6917495af
parent90ec0a9cb671800944fd770288e68daf764a5289 (diff)
fixed some spelling mistakes
-rw-r--r--docs/manpage.rst2
-rw-r--r--tests/client/test_methods_nat.py2
-rw-r--r--tests/client/test_methods_pf.py6
-rw-r--r--tests/client/test_methods_tproxy.py2
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')