Skip to content

DoS: run handleConn as goroutine #1

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

Merged
merged 1 commit into from
Mar 20, 2023
Merged

DoS: run handleConn as goroutine #1

merged 1 commit into from
Mar 20, 2023

Conversation

abbbi
Copy link
Contributor

@abbbi abbbi commented Mar 19, 2023

handleConn needs to be executed within a goroutine otherwise a simple "netcat localhost 4222" will block any further incoming connection (connection handling blocks in pre-auth state: golang/go#43521)

Copy link
Owner

@perbu perbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@perbu perbu merged commit 05d1e64 into perbu:main Mar 20, 2023
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.

2 participants