Condition to match a missing "Host:" header

Luigi Perroti luigi.perroti at googlemail.com
Thu Aug 21 22:20:34 MSD 2008


On Thu, Aug 21, 2008 at 7:38 PM, Igor Sysoev <is at rambler-co.ru> wrote:

>
> Why at all do you want to log request without Host ?
>

It's one more thing that my scripts can check when evaluating if an IP
should be banned or not.
Since nowadays there are no legit clients that won't send the Host
header I can use this information as a ringing bell for malicious
activity.

Regards,
-Luigi





More information about the nginx mailing list