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
9bdd9fea
Commit
9bdd9fea
authored
Dec 06, 2020
by
Samuel Bernardo
Committed by
Brian May
Dec 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct flake8 liting issues
Signed-off-by:
Samuel Bernardo
<
samuel@lip.pt
>
parent
d5cceb3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tproxy.py
sshuttle/methods/tproxy.py
+3
-3
No files found.
sshuttle/methods/tproxy.py
View file @
9bdd9fea
...
...
@@ -153,10 +153,10 @@ class Method(BaseMethod):
def
setup_firewall
(
self
,
port
,
dnsport
,
nslist
,
family
,
subnets
,
udp
,
user
):
self
.
setup_firewall_tproxy
(
port
,
dnsport
,
nslist
,
family
,
subnets
,
udp
,
user
,
self
.
firewall
.
tmark
)
user
,
self
.
firewall
.
tmark
)
def
setup_firewall_tproxy
(
self
,
port
,
dnsport
,
nslist
,
family
,
subnets
,
udp
,
user
,
tmark
):
def
setup_firewall_tproxy
(
self
,
port
,
dnsport
,
nslist
,
family
,
subnets
,
udp
,
user
,
tmark
):
if
family
not
in
[
socket
.
AF_INET
,
socket
.
AF_INET6
]:
raise
Exception
(
'Address family "
%
s" unsupported by tproxy method'
...
...
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