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
91f65132
Commit
91f65132
authored
Jan 01, 2011
by
Avery Pennarun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of ugly quotes on "Accept:" log messages.
parent
41fd0348
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
client.py
client.py
+2
-2
sshuttle.md
sshuttle.md
+3
-3
No files found.
client.py
View file @
91f65132
...
...
@@ -155,8 +155,8 @@ def _main(listener, fw, ssh_cmd, remotename, python, seed_hosts, auto_nets):
def
onaccept
():
sock
,
srcip
=
listener
.
accept
()
dstip
=
original_dst
(
sock
)
debug1
(
'Accept:
%
r:
%
r ->
%
r
:
%
r.
\n
'
%
(
srcip
[
0
],
srcip
[
1
],
dstip
[
0
],
dstip
[
1
]))
debug1
(
'Accept:
%
s:
%
r ->
%
s
:
%
r.
\n
'
%
(
srcip
[
0
],
srcip
[
1
],
dstip
[
0
],
dstip
[
1
]))
if
dstip
==
listener
.
getsockname
():
debug1
(
"-- ignored: that's my address!
\n
"
)
sock
.
close
()
...
...
sshuttle.md
View file @
91f65132
...
...
@@ -139,8 +139,8 @@ Test locally by proxying all local connections, without using ssh:
s: 192.168.42.0/24
c : connected.
firewall manager: starting transproxy.
c : Accept:
'192.168.42.106':50035 -> '192.168.42.121'
:139.
c : Accept:
'192.168.42.121':47523 -> '77.141.99.22'
:443.
c : Accept:
192.168.42.106:50035 -> 192.168.42.121
:139.
c : Accept:
192.168.42.121:47523 -> 77.141.99.22
:443.
...etc...
^C
firewall manager: undoing changes.
...
...
@@ -166,7 +166,7 @@ and subnet guessing:
hostwatch: Found: testbox1: 1.2.3.4
hostwatch: Found: mytest2: 5.6.7.8
hostwatch: Found: domaincontroller: 99.1.2.3
c : Accept:
'192.168.42.121':60554 -> '77.141.99.22'
:22.
c : Accept:
192.168.42.121:60554 -> 77.141.99.22
:22.
^C
firewall manager: undoing changes.
c : Keyboard interrupt: exiting.
...
...
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