ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] Настройка Squid
@ 2000-12-26 21:43 Lenya Khachaturov
  2000-12-27  8:52 ` [mdk-re] " Mandrake
  0 siblings, 1 reply; 3+ messages in thread
From: Lenya Khachaturov @ 2000-12-26 21:43 UTC (permalink / raw)
  To: mandrake-russian

Hello mandrake-russian,

Что-то у меня не получается правильно настроить ACL, пишу
следующее:

acl all src 0.0.0.0/0.0.0.0
acl root src 127.0.0.1/255.255.255.255 
acl georges src 192.168.0.1/255.255.255.0
acl lenya src 192.168.0.2/255.255.255.0
acl localhost src 127.0.0.1/255.255.255.255
acl manager proto cache_object
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl CONNECT method CONNECT

http_access allow manager localhost lenya georges
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all

По идее, при таких настройках он должен пускать ТОЛЬКО юзеров с IP 192.168.0.1 и
192.168.0.2, на самом деле не пускает вообще никого. Если закомментировать
последнюю строчку, начинает пускать всех без разбору. Почему? Он же
смотрит до первого совпадения с правилом, а на остальное забивает!
-- 
Best regards,
 Lenya                          mailto:lenyak@mail.ru





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-12-27 19:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-26 21:43 [mdk-re] Настройка Squid Lenya Khachaturov
2000-12-27  8:52 ` [mdk-re] " Mandrake
2000-12-27 19:10   ` [mdk-re] " Lenya Khachaturov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git