Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10898)

Issue 6038047: code review 6038047: go.crypto/ssh: add support for remote tcpip forwarding (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by dfc
Modified:
11 years, 12 months ago
Reviewers:
CC:
gpaul, jmhodges, agl1, lieqie, golang-dev
Visibility:
Public.

Description

go.crypto/ssh: add support for remote tcpip forwarding Add support for server (remote) forwarded tcpip channels. See RFC4254 Section 7.1

Patch Set 1 #

Patch Set 2 : diff -r 91ccd0bd392e https://code.google.com/p/go.crypto #

Patch Set 3 : diff -r 91ccd0bd392e https://code.google.com/p/go.crypto #

Patch Set 4 : diff -r 91ccd0bd392e https://code.google.com/p/go.crypto #

Patch Set 5 : diff -r b42815235d16 https://code.google.com/p/go.crypto #

Patch Set 6 : diff -r b42815235d16 https://code.google.com/p/go.crypto #

Patch Set 7 : diff -r b42815235d16 https://code.google.com/p/go.crypto #

Patch Set 8 : diff -r b42815235d16 https://code.google.com/p/go.crypto #

Total comments: 4

Patch Set 9 : diff -r b42815235d16 https://code.google.com/p/go.crypto #

Patch Set 10 : diff -r b42815235d16 https://code.google.com/p/go.crypto #

Patch Set 11 : diff -r 80f56bcd6343 https://code.google.com/p/go.crypto #

Patch Set 12 : diff -r 80f56bcd6343 https://code.google.com/p/go.crypto #

Total comments: 14

Patch Set 13 : diff -r 80f56bcd6343 https://code.google.com/p/go.crypto #

Patch Set 14 : diff -r 80f56bcd6343 https://code.google.com/p/go.crypto #

Total comments: 10

Patch Set 15 : diff -r af839935547f https://code.google.com/p/go.crypto #

Patch Set 16 : diff -r af839935547f https://code.google.com/p/go.crypto #

Patch Set 17 : diff -r af839935547f https://code.google.com/p/go.crypto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -26 lines) Patch
M ssh/channel.go View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ssh/client.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +78 lines, -8 lines 0 comments Download
M ssh/example_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +29 lines, -0 lines 0 comments Download
M ssh/messages.go View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ssh/tcpip.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +161 lines, -16 lines 0 comments Download

Messages

Total messages: 17
gpaul
Works for me. I haven't driven anything fast through it but I tested the basic ...
12 years ago (2012-04-16 20:46:01 UTC) #1
dfc
PTAL http://codereview.appspot.com/6038047/diff/5003/ssh/tcpip.go File ssh/tcpip.go (right): http://codereview.appspot.com/6038047/diff/5003/ssh/tcpip.go#newcode50 ssh/tcpip.go:50: false, // no reply, assume it works Mostly ...
12 years ago (2012-04-17 11:59:48 UTC) #2
dfc
Hello gustav.paul@gmail.com, jeff@somethingsimilar.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.crypto
11 years, 12 months ago (2012-04-21 22:37:27 UTC) #3
agl1
http://codereview.appspot.com/6038047/diff/22001/ssh/client.go File ssh/client.go (right): http://codereview.appspot.com/6038047/diff/22001/ssh/client.go#newcode278 ssh/client.go:278: return send channelOpenFailureMsg back? http://codereview.appspot.com/6038047/diff/22001/ssh/client.go#newcode313 ssh/client.go:313: func decodeAddr(b []byte) ...
11 years, 12 months ago (2012-04-23 15:12:04 UTC) #4
dfc
Thanks for your comments agl, I will address them this evening. On 24/04/2012, at 1:12, ...
11 years, 12 months ago (2012-04-23 22:01:36 UTC) #5
lieqie
It doesn't open the specified port in fact. I think in this case should need ...
11 years, 12 months ago (2012-04-24 04:48:16 UTC) #6
dfc
Thank you for your comments. http://codereview.appspot.com/6038047/diff/22001/ssh/client.go File ssh/client.go (right): http://codereview.appspot.com/6038047/diff/22001/ssh/client.go#newcode278 ssh/client.go:278: return Done. I have ...
11 years, 12 months ago (2012-04-24 12:40:55 UTC) #7
dfc
Hello gustav.paul@gmail.com, jeff@somethingsimilar.com, agl@golang.org, lieqiewang@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 12 months ago (2012-04-24 13:04:43 UTC) #8
agl1
LGTM http://codereview.appspot.com/6038047/diff/29003/ssh/client.go File ssh/client.go (right): http://codereview.appspot.com/6038047/diff/29003/ssh/client.go#newcode304 ssh/client.go:304: l <- struct { This has a name ...
11 years, 12 months ago (2012-04-24 15:03:30 UTC) #9
dfc
Hello gustav.paul@gmail.com, jeff@somethingsimilar.com, agl@golang.org, lieqiewang@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 12 months ago (2012-04-25 03:14:34 UTC) #10
dfc
Thank you for your comments. I've rejigged the forward/forwardList/ForwardEntry to make a little more sense, ...
11 years, 12 months ago (2012-04-25 03:16:06 UTC) #11
lieqie
// Request the remote side to open a port. l, err := client.Listen("tcp", ":1080") if ...
11 years, 12 months ago (2012-04-25 04:06:38 UTC) #12
dfc
What you may be seeing is your ssh server filtering the hosts that can connect ...
11 years, 12 months ago (2012-04-25 05:57:22 UTC) #13
lieqie
so let's assume ssh server: ssh.example.com:22 after l, err := client.Listen("tcp", ":1080") defer l.Close() http.Serve(l, ...
11 years, 12 months ago (2012-04-25 07:05:44 UTC) #14
dfc
Hello gustav.paul@gmail.com, jeff@somethingsimilar.com, agl@golang.org, lieqiewang@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 12 months ago (2012-04-26 10:32:18 UTC) #15
dfc
*** Submitted as http://code.google.com/p/go/source/detail?r=306e41c8d097&repo=crypto *** go.crypto/ssh: add support for remote tcpip forwarding Add support for ...
11 years, 12 months ago (2012-04-26 10:37:16 UTC) #16
dfc
11 years, 12 months ago (2012-04-26 10:38:07 UTC) #17
Thank you for the feedback. agl: I make the change to tcpChan{,Conn} in this CL.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b