3 ms·
What exactly do you do to protect Apache from slow loris? Its my main reason for not using Apache.
by graemep 2y ago
What exactly do you do to protect Apache from slow loris? Its my main reason for not using Apache.
- Joel_Mckay 2y agoThere are several different ways, but the easiest is mod_reqtimeout/mod_qos/mod_security. Check your install with "sudo apache2ctl -M", and there should be several legacy tutorials available (I'd ignore deprecated mod_antiloris.) Rate-limiting token-bucket firewall settings are a personal choice every team must decide upon (what traffic is a priority when choking bandwidth), and often requires tuning to get it right (must you allow mtu fragging for corporate users or have a more robust service etc.) These settings will also influence which events trip your fail2ban rule sets. Have a great day, =)