Repository navigation
feat(edge): configure slowloris timeouts, reset timed out sockets, and enable proxy sni - #9
Merged
Conversation
…d enable proxy sni
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Architectural Overview & Diagnostic Format
Architecture Context
Edge reverse-proxy gateways must defend upstream clusters from slow-rate denial-of-service (Slowloris/Slow-Read attacks) while ensuring TLS Server Name Indication (SNI) is preserved when routing to encrypted upstream pools.
Diagnostic Additions
client_body_timeout 15s: Restricts body write pauses to 15 seconds.client_header_timeout 15s: Restricts header transmission intervals to 15 seconds.send_timeout 15s: Clamps client transmission wait time.reset_timedout_connection on: Reclaims worker sockets immediately via TCP RST on timeout.proxy_ssl_server_name on):proxy.conf, ensuring correct virtual host routing.Verification & Test Evidence
python -m pytest tests/test_project.pytest_slowloris_timeouts_and_socket_resetsin 0.08s.