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

Issue 9753044: code review 9753044: go.crypto/ssh: fix and test port forwarding. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by hanwen-google
Modified:
10 years, 10 months ago
Reviewers:
CC:
golang-dev, agl1, dave_cheney.net
Visibility:
Public.

Description

go.crypto/ssh: fix and test port forwarding. Set maxPacket in forwarded connection, and use the requested port number as key in forwardList.

Patch Set 1 #

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

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

Total comments: 6

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

Total comments: 5

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

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

Total comments: 8

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -19 lines) Patch
M ssh/client.go View 1 2 3 4 5 6 3 chunks +15 lines, -5 lines 0 comments Download
M ssh/tcpip.go View 1 2 3 4 5 6 7 chunks +29 lines, -14 lines 0 comments Download
A ssh/test/forward_test.go View 1 2 3 4 5 6 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 19
hanwen-google
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.crypto
10 years, 10 months ago (2013-06-03 14:59:51 UTC) #1
hanwen-google
Adam, thoughts?
10 years, 10 months ago (2013-06-05 13:32:58 UTC) #2
dave_cheney.net
Thank you for this change. I'd like to see it soon, I just a have ...
10 years, 10 months ago (2013-06-06 11:54:49 UTC) #3
hanwen-google
https://codereview.appspot.com/9753044/diff/4001/ssh/tcpip.go File ssh/tcpip.go (right): https://codereview.appspot.com/9753044/diff/4001/ssh/tcpip.go#newcode52 ssh/tcpip.go:52: ch := c.forwardList.add(*laddr) On 2013/06/06 11:54:49, dfc wrote: > ...
10 years, 10 months ago (2013-06-06 12:55:11 UTC) #4
agl1
dfc knows this code better than I, so I'll leave approval to him. https://codereview.appspot.com/9753044/diff/10001/ssh/tcpip.go File ...
10 years, 10 months ago (2013-06-06 14:02:33 UTC) #5
hanwen-google
https://codereview.appspot.com/9753044/diff/10001/ssh/tcpip.go File ssh/tcpip.go (right): https://codereview.appspot.com/9753044/diff/10001/ssh/tcpip.go#newcode85 ssh/tcpip.go:85: // forward represents an incoming forwarded tcpip connection. The ...
10 years, 10 months ago (2013-06-06 14:18:53 UTC) #6
hanwen-google
Dave, friendly ping? On Thu, Jun 6, 2013 at 4:18 PM, <hanwen@google.com> wrote: > > ...
10 years, 10 months ago (2013-06-10 16:23:17 UTC) #7
dave_cheney.net
Thank you. I think this is very close. My remaining question is around the origPort ...
10 years, 10 months ago (2013-06-11 10:46:06 UTC) #8
hanwen-google
https://codereview.appspot.com/9753044/diff/19001/ssh/client.go File ssh/client.go (right): https://codereview.appspot.com/9753044/diff/19001/ssh/client.go#newcode369 ssh/client.go:369: ch.maxPacket = msg.MaxPacketSize On 2013/06/11 10:46:06, dfc wrote: > ...
10 years, 10 months ago (2013-06-11 13:10:50 UTC) #9
dave_cheney.net
I see, thank you for your patience. I'll submit this now.
10 years, 10 months ago (2013-06-11 13:21:54 UTC) #10
dave_cheney.net
Opps, spoke too soon. --- FAIL: TestPortForward (0.08 seconds) forward_test.go:65: tcpConn.CloseWrite: shutdown tcp 127.0.0.1:56897: transport ...
10 years, 10 months ago (2013-06-11 13:24:18 UTC) #11
hanwen-google
Is this reproducible or flakiness? I tried running a couple of times, but didn't see ...
10 years, 10 months ago (2013-06-11 13:50:22 UTC) #12
dave_cheney.net
On 2013/06/11 13:50:22, hanwen wrote: > Is this reproducible or flakiness? I tried running a ...
10 years, 10 months ago (2013-06-12 02:13:35 UTC) #13
dave_cheney.net
*** Submitted as https://code.google.com/p/go/source/detail?r=40246d2ae2eb&repo=crypto *** go.crypto/ssh: fix and test port forwarding. Set maxPacket in forwarded ...
10 years, 10 months ago (2013-06-12 02:14:01 UTC) #14
dave_cheney.net
Hmm, looks like it wasn't just that one machine. http://build.golang.org/log/619fe15659caeca07b6e900ddeefcf544b414574 Could you take a look ...
10 years, 10 months ago (2013-06-12 02:29:33 UTC) #15
hanwen-google
Looking. My home laptop (OpenSSH 6.2) also sees this. Do you know what platform these ...
10 years, 10 months ago (2013-06-12 09:29:37 UTC) #16
dave_cheney.net
http://code.google.com/p/go-wiki/wiki/DashboardBuilders
10 years, 10 months ago (2013-06-12 09:40:29 UTC) #17
hanwen-google
Ugh. It appears that openssh 5.9 and 6.2 handle dynamically allocated ports differently. That is, ...
10 years, 10 months ago (2013-06-12 11:02:24 UTC) #18
hanwen-google
10 years, 10 months ago (2013-06-12 14:01:29 UTC) #19
*** Abandoned ***
Sign in to reply to this message.

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