ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

?????? ??? ???????????? IP-??????? - ? ??? ???????


  • To: nginx-ru@xxxxxxxxx
  • Subject: ?????? ??? ???????????? IP-??????? - ? ??? ???????
  • From: Dmitry Goryainov <three_daws@xxxxxxxxx>
  • Date: Tue, 11 Jul 2006 05:21:06 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WSjcr2ZKoD1bQl6UGZY0D9hp48uBAt8ijn/kI1U6k3uY/q3F05f8Y9BL1FtkXp17RUr4wyIKc4A1hS7w2Y7D/l4D7iYttrm94b0dZ3JSdjVIPbBvNhb5enRods/Mr/lvU8NDWGRjuerDjm39AQEsNNMj9jkiasBtvfUl/JSQD7A= ;

???? ?????? ????????? ??? -
http://sysoev.ru/nginx/docs/http/ngx_http_access_module.html

???? nginx-0.3.53, ???? ???????????????? ????:

location / {
    allow XX.XXX.XXX.0/255;
    deny  all;
...
}

??? ????????? ? IP-?????? XX.XXX.XXX.185 ????÷??? 403
Forbidden ? ? access.log:

XX.XXX.XXX.185 - - [11/Jul/2006:15:37:40 +0400] "GET /
HTTP/1.1" 403

???? ?? ???????? ? ????.???? ??????? ??? ???????????
IP-?????? XX.XXX.XXX.185:
location / {
    allow XX.XXX.XXX.0/255;
    allow XX.XXX.XXX.185;
    deny  all;
...
}

?? ??? ??????, ???????? ???????? ?????????

÷?????? ?????, ? ?? ???????, ÷?? ? ????? ?? ???, ?? ?
?? ???? ????? ????? ?? ??????: ??÷??? ?? ????????
???????? ??????????? ??? ?????????? ?????????

--
??????? ????????


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



 




Copyright © Lexa Software, 1996-2009.