Advertisement
Guest User

Untitled

a guest
Oct 1st, 2012
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. ## QoS Settings
  2. <IfModule mod_qos.c>
  3. # handles connections from up to 10000 different IPs
  4. QS_ClientEntries 10000
  5. # will allow only 50 connections per IP
  6. QS_SrvMaxConnPerIP 50
  7. # maximum number of active TCP connections is limited to 256
  8. MaxClients 256
  9. # disables keep-alive when 70% of the TCP connections are occupied:
  10. QS_SrvMaxConnClose 180
  11. # minimum request/response speed (deny slow clients blocking the server, ie. slowloris keeping connections open without requesting anything):
  12. QS_SrvMinDataRate 150 1200
  13. # and limit request header and body (carefull, that limits uploads and post requests too):
  14. # LimitRequestFields 30
  15. # QS_LimitRequestBody 102400
  16. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement