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 #1402

Merged
merged 3 commits into from
Aug 18, 2022
Merged

Hotfix padd issues #1402

merged 3 commits into from
Aug 18, 2022

Conversation

PromoFaux
Copy link
Member

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

Original PR: #1396

DL6ER and others added 3 commits August 17, 2022 21:36
…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>
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
@PromoFaux PromoFaux merged commit d10b6a6 into master Aug 18, 2022
@PromoFaux PromoFaux deleted the hotfix-padd-issues branch August 18, 2022 11:00
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

3 participants