Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Vladimir Leonov                      2:5061/122.1   06 Jul 2004  00:37:08
 To : Ilya Kulagin
 Subject : squid
 -------------------------------------------------------------------------------- 
 
 
  IK> Усё единообразно. Сперва определяем acl (комментарии внутри
 
 [...skipped...]
 
  IK> http_access deny otherhost
 
 ----openf(Windows Clipboard)-----
 acl my_host src 192.168.1.4 192.168.1.1
 acl otherhosts src 0.0.0.0/0
 acl all dst 0.0.0.0/0
 acl thehun dstdomain thehun.org thehun.net
 acl to_localhost dst 127.0.0.0/8
 acl SSL_ports port 443 563
 acl Safe_ports port 80  8080 80180 1080 # http
 acl Safe_ports port 21          # ftp
 acl Safe_ports port 13
 acl Safe_ports port 123         # https, ntp
 acl Safe_ports port 443 563     # https, snews
 acl Safe_ports port 70          # gopher
 acl Safe_ports port 210         # wais
 acl Safe_ports port 1025-65535  # unregistered ports
 acl Safe_ports port 280         # http-mgmt
 acl Safe_ports port 488         # gss-http
 acl Safe_ports port 591         # filemaker
 acl Safe_ports port 777         # multiling http
 acl avi urlpath_regex -i \.avi$
 acl mpeg urlpath_regex -i \.mpeg$
 acl nobanners src 0/0
 http_access deny thehun
 http_access allow my_host all !thehun
 http_access deny otherhosts avi mpeg
 http_access deny !Safe_ports
 # Deny CONNECT to other than SSL ports
 http_access deny CONNECT !SSL_ports
 ----closef(Windows Clipboard)----
 
 А вот на thehun всё равно пускает. :-(
 
  IK> то будет почти как надо. "Почти", потому что надо ещё зайти на сайт
  IK> www.exler.ru и прочитать "письмо узников файрволла", опосля чего
  IK> "много думать"...
 
 Hе нашел. :-( :-]
 
 [pionээr] [nodes over 100]
 И будете ненавидимы всеми за имя Мое, (Лук. 21,17)
 ... Христос Воскрес!
 --- GoldED+ 1.1.5-030227 (WinNT 5.1.2600-Service_Pack_1 i686)
  * Origin: Христос Воскрес! (2:5061/122.1)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 squid   Vladimir Leonov   05 Jul 2004 02:51:26 
 Re: squid   Vasily Korytov   05 Jul 2004 13:25:11 
 Re: squid   Mykola Dzham   05 Jul 2004 13:28:01 
 squid   Ilya Kulagin   05 Jul 2004 14:15:02 
 squid   Vladimir Leonov   06 Jul 2004 00:37:08 
 Re: squid   Andrey Slusar   06 Jul 2004 02:09:39 
 squid   Ilya Kulagin   06 Jul 2004 15:00:05 
 squid   Anatoly Funikov   05 Jul 2004 13:41:14 
 Re: squid   Mykola Dzham   05 Jul 2004 15:29:58 
 squid   Anatoly Funikov   05 Jul 2004 15:56:16 
Архивное /ru.unix.bsd/324340e9bc3e.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional