-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh: disable wantReply in some requests to comply with OpenSSH #96
base: master
Are you sure you want to change the base?
Conversation
This PR (HEAD: c8000f4) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/crypto/+/190777 to see it. Tip: You can toggle comments from me using the |
Message from Gobot Gobot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Ilya Lukyanov: Patch Set 2: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Ilya Lukyanov: Patch Set 3: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
The existing implementation does not comply with OpenSSH, where some requests is sent without wantReply flag. [email protected]: https://github.com/openssh/openssh-portable/blob/V_8_0_P1/ssh.c#L1815 (wantconfirm=0) env: https://github.com/openssh/openssh-portable/blob/V_8_0_P1/clientloop.c#L2299 cancel-tcpip-forward: https://github.com/openssh/openssh-portable/blob/V_8_0_P1/channels.c#L565 [email protected]: https://github.com/openssh/openssh-portable/blob/V_8_0_P1/channels.c#L4017
This PR (HEAD: f54c30f) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/crypto/+/190777 to see it. Tip: You can toggle comments from me using the |
Message from Ilya Lukyanov: Patch Set 6: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Brad Fitzpatrick: Patch Set 9: No changes to tests? Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Ilya Lukyanov: Patch Set 9:
Apparently, it's not tested in code, because sshd is used to test client, as far as I understand. OpenSSH server seems to be okay with any implementation (it checks wantReply in any case). Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Brad Fitzpatrick: Patch Set 9: Let me put it another way: what's broken? Add a test that's broken but is fixed with this change. Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Go Bot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Ilya Lukyanov: Patch Set 2: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Ilya Lukyanov: Patch Set 3: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Ilya Lukyanov: Patch Set 6: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Brad Fitzpatrick: Patch Set 9: No changes to tests? Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Ilya Lukyanov: Patch Set 9:
Apparently, it's not tested in code, because sshd is used to test client, as far as I understand. OpenSSH server seems to be okay with any implementation (it checks wantReply in any case). Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
Message from Brad Fitzpatrick: Patch Set 9: Let me put it another way: what's broken? Add a test that's broken but is fixed with this change. Please don’t reply on this GitHub thread. Visit golang.org/cl/190777. |
The existing implementation does not comply with OpenSSH, where
some requests is sent without wantReply flag.
[email protected]:
https://github.com/openssh/openssh-portable/blob/V_8_0_P1/ssh.c#L1815
(wantconfirm=0)
env:
https://github.com/openssh/openssh-portable/blob/V_8_0_P1/clientloop.c#L2299
cancel-tcpip-forward:
https://github.com/openssh/openssh-portable/blob/V_8_0_P1/channels.c#L565
[email protected]:
https://github.com/openssh/openssh-portable/blob/V_8_0_P1/channels.c#L4017