ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Gosha <gosha@sendmail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: Re[2]: [mdk-re] [JT] squid
Date: Mon Nov 26 18:28:14 2001
Message-ID: <20011126202616.5a0ba52e.gosha@sendmail.ru> (raw)
In-Reply-To: <261726965465.20011126100917@psrp.te.ru>

On Mon, 26 Nov 2001 10:09:17 +0500
"Russu V.F." <ruwa@psrp.te.ru> wrote:

> >> .......
> >> # ACL
> >> acl all src 0.0.0.0/0.0.0.0
> >> acl all_private src 192.168.1.0/255.255.255.0
> >> acl all_nonprivate src (адрес.моей.неприватной.сети)/255.255.255.248
> >> .......
> >> http_access allow all_private
> >> http_access allow all_nonprivate
> 
> > Уточню. Оказалось, что если прописать не сети, а конкретные
> > машины, то доступ с этих машин есть. Т.е., например:
> 
> > acl host1 src 192.168.1.1/255.255.255.255
> > http_access allow host1
> 
> > дает доступ с машины host1. А как же быть с сетями?
> > Что ж мне все машины всех сетей прописывать придется?
> 
>         порядок правил соблюден ???

вот ровно как выше написано, так все и есть.

> у меня работает по сетям все.... вот мой пример
> 
> acl all src 0.0.0.0/0.0.0.0
> acl PSRP src 192.168.20.0/24
> [ ешо куча правил, типа рубить chat и все такое ]
> http_access deny all !PSRP

А у меня не желает так работать. Прям чудеса какие-то!
 
> поставь в конфиге
> debug_options ALL,2
> и смотри в cache.log как у тебя правила обрабатываются, какое
> срабатывает !

Спасибо. Попробую разобраться. 


-- 
Best regards!
Igor Solovyov
Zlatoust, Russia



      reply	other threads:[~2001-11-26 18:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-24 21:06 Gosha
2001-11-24 22:45 ` Gosha
2001-11-25 14:55   ` Michael Shigorin
2001-11-26 10:38     ` Gosha
2001-11-26 10:49       ` Re[2]: " Russu V.F.
2001-11-26 18:04         ` Gosha
2001-11-26 18:56           ` Michael Shigorin
2001-11-27 19:56             ` Gosha
2001-11-27 10:34           ` [mdk-re] Re[3]: " Vyt
2001-11-27 13:52             ` SilverFox
2001-11-27 19:55               ` Gosha
2001-11-27 19:55             ` Gosha
2001-11-27 21:42               ` SilverFox
2001-11-26  8:01   ` Re[2]: [mdk-re] " Russu V.F.
2001-11-26 18:28     ` Gosha [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011126202616.5a0ba52e.gosha@sendmail.ru \
    --to=gosha@sendmail.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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