| Summary: | openssh 6.1/6.2 disconnect due to channel bug | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Eric <emilliken> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | djm, dtucker |
| Priority: | P5 | ||
| Version: | 6.1p1 | ||
| Hardware: | amd64 | ||
| OS: | FreeBSD | ||
| Bug Depends on: | |||
| Bug Blocks: | 2076 | ||
|
Description
Eric
2013-03-17 05:20:13 AEDT
There are a few problems here: 1) Not cancelling the delayed connect when the first slave connection closes 2) Reusing channel IDs while there might still be operations pending on the server for previously-closed ones 3) Disconnecting for something that could probably be ignored This fixes it for me on the openssh 6.1p1 tree:
change mux.c:226 from
if (sc->type != SSH_CHANNEL_OPEN) {
to:
if (sc->type != SSH_CHANNEL_OPEN && sc->type != SSH_CHANNEL_OPENING) {
the change in comment #2 looks reasonable to me Fix applied - this will be in OpenSSH 6.3. Thanks! Close all resolved bugs after 7.3p1 release |