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

Set timeouts to avoid Slowloris attacks. #42

Open
mmjunior23 opened this issue Nov 17, 2022 · 0 comments
Open

Set timeouts to avoid Slowloris attacks. #42

mmjunior23 opened this issue Nov 17, 2022 · 0 comments

Comments

@mmjunior23
Copy link

It would be nice to set timeouts to avoid Slowloris attacks.
Something like the following:

$ dhttpd --IdleTimeout=30 --ReadTimeout=10 --WriteTimeout=10

-it, --IdleTimeout=<seconds>    Closes a connection if no data is requested before the timeout interval. (defaults to "30")
-rt, --ReadTimeout=<seconds>    How long the server waits before it closes a connection when it is waiting for an HTTP read request to complete. (defaults to "90")
-wt, --WriteTimeout=<seconds>   How long the server waits before it closes a connection when it is receiving data from client. (defaults to "120")
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

No branches or pull requests

1 participant