mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-08-08 23:44:34 +02:00
new option to disable fullness checking
On high latency links, the PING/PONG round trip triggered by fullness checking could kill the bandwidth. Disabling it could result in >10x bandwidth increase in some setups where the existing latency is already high and the available bandwidth is also high.
This commit is contained in:
5
main.py
5
main.py
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
import sys, os, re
|
||||
import helpers, options, client, server, firewall, hostwatch
|
||||
import helpers, options, client, server, firewall, hostwatch, ssnet
|
||||
import compat.ssubprocess as ssubprocess
|
||||
from helpers import *
|
||||
|
||||
@ -51,6 +51,7 @@ sshuttle --server
|
||||
sshuttle --firewall <port> <subnets...>
|
||||
sshuttle --hostwatch
|
||||
--
|
||||
f,disable-fullness turn off fullness checking (could 10x bandwidth on high latency link)
|
||||
l,listen= transproxy to this ip address and port number [127.0.0.1:0]
|
||||
H,auto-hosts scan for remote hostnames and update local /etc/hosts
|
||||
N,auto-nets automatically determine subnets to route
|
||||
@ -73,7 +74,7 @@ o = options.Options('sshuttle', optspec)
|
||||
if opt.daemon:
|
||||
opt.syslog = 1
|
||||
helpers.verbose = opt.verbose
|
||||
|
||||
ssnet.no_fullness = opt.disable_fullness
|
||||
try:
|
||||
if opt.server:
|
||||
if len(extra) != 0:
|
||||
|
Reference in New Issue
Block a user