Skip to content
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

Fix localport for openssh >= 8.0 #618

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

moritz31
Copy link
Contributor

@moritz31 moritz31 commented Jul 8, 2020

This pullrequest fixed #555. Since openssh 8.0 the serve will check that the originator port has a valid port. 65536 is not a valid port as per definition. So we just fallback and use the last possible port which is 65535.

Link to rfc

@moritz31 moritz31 requested a review from hierynomus as a code owner July 8, 2020 07:59
@hierynomus hierynomus merged commit 5888535 into hierynomus:master Jul 9, 2020
@moritz31 moritz31 deleted the fix-direct-connection branch July 9, 2020 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Opening direct-tcpip channel failed. invalid originator port
2 participants