Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/manpage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/client/test_methods_nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
6 changes: 3 additions & 3 deletions tests/client/test_methods_pf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/client/test_methods_tproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down