Re: Блокировка по user-agent

Антон Редозубов aredozubov at gmail.com
Sat Oct 18 01:00:17 MSD 2008


Привет
У меня примерно так делается

if ($http_user_agent ~
AESOP_com_SpiderMan|Alexibot|Anonymouse\.org|asterias|attach|BackDoorBot|BackWeb|Bandit|Baiduspider|BatchFTP|Bigfoot...)
return 503;
}

17 октября 2008 г. 23:29 пользователь Vladimir Rusinov <
vladimir at greenmice.info> написал:

> Есть некий Linux-сервер с nginx->apache и несколкими некоммерческими
> сайтами. Последнее время на один из них валятся толпы запросов вида
> 85.21.86.34 [17/Oct/2008:23:10:28 +0400] "GET /soft/dirhtml/ HTTP/1.1" 200
> 169 "-" "BTWebClient/1810" "-".
>
> Вопрос: как максимально просто запретить запросы с таким user-agent?
>
> --
> Vladimir Rusinov
> http://greenmice.info/
>



-- 
Антон
+7 (495) 7225946
http://redozubov.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20081018/2a474bfe/attachment.html>


More information about the nginx-ru mailing list