| Summary: | sshd sends channel data after sending EOF | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | denis bider <bugzilla-mindrot-org> | ||||||
| Component: | sshd | Assignee: | Markus Friedl <markus> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | normal | ||||||||
| Priority: | P1 | ||||||||
| Version: | -current | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| URL: | http://www.denisbider.com | ||||||||
| Attachments: |
|
||||||||
|
Description
denis bider
2002-03-22 11:20:00 AEDT
hm, sshd is not sending channel data after EOF, it's sending _extended_ channel
data. does EOF affect both channel data and extended channel data?
the draft says:
3.3 Closing a Channel
When a party will no longer send more data to a channel, it SHOULD
send SSH_MSG_CHANNEL_EOF.
byte SSH_MSG_CHANNEL_EOF
uint32 recipient_channel
Much like a black man is still a man, and a brown cow is still a cow, I would think that extended data is still data - especially since data and extended data consume the same window. This should be no issue. However, I think the draft should be more clear about how EOF relates to channel requests. It doesn't say anything about whether requests and responses can be sent after EOF has been sent. I'll follow up your message about that on the sex-age - I mean, secsh mailing list. extended data handling is an ad hoc hack and very broken. should fix it.... Created attachment 52 [details]
possible fix
Created attachment 53 [details]
another patch
fixed in -current Mass change of RESOLVED bugs to CLOSED |