Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sshuttle
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pub
sshuttle
Commits
9bcca279
Commit
9bcca279
authored
Jun 03, 2020
by
Joshua Li
Committed by
Brian May
Jun 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reduce
parent
d0f0aa9f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
11 deletions
+2
-11
helpers.py
sshuttle/helpers.py
+0
-2
ssnet.py
sshuttle/ssnet.py
+2
-2
conftest.py
tests/conftest.py
+0
-7
No files found.
sshuttle/helpers.py
View file @
9bcca279
...
...
@@ -5,8 +5,6 @@ import errno
logprefix
=
''
verbose
=
0
binary_type
=
bytes
def
b
(
s
):
return
s
.
encode
(
"ASCII"
)
...
...
sshuttle/ssnet.py
View file @
9bcca279
...
...
@@ -5,7 +5,7 @@ import errno
import
select
import
os
from
sshuttle.helpers
import
b
,
binary_type
,
log
,
debug1
,
debug2
,
debug3
,
Fatal
from
sshuttle.helpers
import
b
,
log
,
debug1
,
debug2
,
debug3
,
Fatal
MAX_CHANNEL
=
65535
LATENCY_BUFFER_SIZE
=
32768
...
...
@@ -382,7 +382,7 @@ class Mux(Handler):
# log('outbuf: %d %r\n' % (self.amount_queued(), ob))
def
send
(
self
,
channel
,
cmd
,
data
):
assert
isinstance
(
data
,
b
inary_type
)
assert
isinstance
(
data
,
b
ytes
)
assert
len
(
data
)
<=
65535
p
=
struct
.
pack
(
'!ccHHH'
,
b
(
'S'
),
b
(
'S'
),
channel
,
cmd
,
len
(
data
))
\
+
data
...
...
tests/conftest.py
deleted
100644 → 0
View file @
d0f0aa9f
import
sys
good_python
=
sys
.
version_info
>=
(
3
,
5
)
collect_ignore
=
[]
if
not
good_python
:
collect_ignore
.
append
(
"client"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment