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

Issue 6099050: code review 6099050: ssh: handle bad servers better. (Closed)

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

Description

ssh: handle bad servers better. This change prevents bad servers from crashing a client by sending an invalid channel ID. It also makes the client disconnect in more cases of invalid messages from a server and cleans up the client channels in the event of a disconnect.

Patch Set 1 #

Patch Set 2 : diff -r 80f56bcd6343 https://agl%40golang.org@code.google.com/p/go.crypto/ #

Total comments: 2

Patch Set 3 : diff -r 80f56bcd6343 https://agl%40golang.org@code.google.com/p/go.crypto/ #

Total comments: 2

Patch Set 4 : diff -r 80f56bcd6343 https://agl%40golang.org@code.google.com/p/go.crypto/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -17 lines) Patch
M ssh/client.go View 1 5 chunks +50 lines, -17 lines 0 comments Download
M ssh/session_test.go View 1 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 4
agl1
Hello dave@cheney.net (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://agl%40golang.org@code.google.com/p/go.crypto/
12 years ago (2012-04-23 22:29:48 UTC) #1
agl1
http://codereview.appspot.com/6099050/diff/2001/ssh/client.go File ssh/client.go (right): http://codereview.appspot.com/6099050/diff/2001/ssh/client.go#newcode276 ssh/client.go:276: return It wasn't clear here whether you wanted to ...
12 years ago (2012-04-23 22:30:22 UTC) #2
dave_cheney.net
LGTM. Thank you for closing this long standing TODO. http://codereview.appspot.com/6099050/diff/2001/ssh/client.go File ssh/client.go (right): http://codereview.appspot.com/6099050/diff/2001/ssh/client.go#newcode276 ssh/client.go:276: ...
12 years ago (2012-04-24 09:04:27 UTC) #3
agl1
12 years ago (2012-04-24 17:46:29 UTC) #4
*** Submitted as
http://code.google.com/p/go/source/detail?r=af839935547f&repo=crypto ***

ssh: handle bad servers better.

This change prevents bad servers from crashing a client by sending an
invalid channel ID. It also makes the client disconnect in more cases
of invalid messages from a server and cleans up the client channels
in the event of a disconnect.

R=dave
CC=golang-dev
http://codereview.appspot.com/6099050
Sign in to reply to this message.

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