This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 1st, 2012  |  syntax: None  |  size: 0.67 KB  |  views: 77  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>
clone this paste RAW Paste Data