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

Hotfix/padd issues #1401

Closed
wants to merge 2 commits into from
Closed

Hotfix/padd issues #1401

wants to merge 2 commits into from

Conversation

PromoFaux
Copy link
Member

@PromoFaux PromoFaux commented Aug 17, 2022

Fixes for pi-hole/PADD#252 independent of other fixes in development

Original PR: #1396

…a new thread for each incoming connection (more than 40 threads were never allowed). This could potentially be used to DoS FTL by opening and closing telnet sessions in very quick succession. The new behavior is to, instead, launch five (compile-time setting) threads per type (5 for telnet IPv4, 5 for telnet IPv6, and 5 for Unix socket communication) and let them handle incoming connections in a FIFO manner. If too many requests are sent to FTL at once, they will simply have to wait until they are accepted.

Signed-off-by: DL6ER <dl6er@dl6er.de>
@PromoFaux PromoFaux requested a review from a team August 17, 2022 20:38
@PromoFaux PromoFaux closed this Aug 17, 2022
@PromoFaux PromoFaux deleted the hotfix/padd_issues branch August 17, 2022 20:45
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.

None yet

2 participants