Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fighting slowloris easy :
- make.conf :
- APACHE2_MODULES="reqtimeout actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
- emerge new apache
- httpd.conf : add :
- LoadModule reqtimeout_module modules/mod_reqtimeout.so
- Include /etc/apache2/conf.d/reqtimeout.conf
- /etc/apache2/conf.d/reqtimeout.conf :
- <IfModule mod_reqtimeout.c>
- RequestReadTimeout header=5-10,MinRate=1000 body=10-15,MinRate=1000
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement