ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey S. Kuznetsov" <buster@kuznetsov.org.ua>
To: community@altlinux.ru
Subject: [Comm] TROUBLE WITH SQUID
Date: Wed, 14 Sep 2005 16:28:14 -0700
Message-ID: <1359323748.20050914162814@kuznetsov.org.ua> (raw)

Привет всем!
       У меня сложилась такая непонятная ситуация со сквидом.
Короче нужно заблокировать кое-какие сайты, чтобы жена по ним не
лазила. Дело очень серьйзное! А вот сквид меня подводит!
Делаю следующее:
      в /etc/squid/squid.conf пишу:
        acl sites url_regex "sites.acl"
      этот файл sites.acl лежит в /etc/squid/.
      в нём лежит:
        ^http://somesite\.com
        ^http://www\.sitesameasabove\.com
        www\.sitesameasabove2\.com
        http://another\.site\.com

     после того, как я созал этот файл, я написал в
     /etc/squid/squid.conf ещё такую штуку:
         http_access allow clients1 !sites
         http_access deny sites
         http_access deny all
Вроде всё заработало!
Но после рестарта сквида эти сайты опять начинают работать.
Пару раз если сквид дёрнуть, то возможно опять начинает работать.
Чё это вообще за глюки? Кто-нибудь сталкивался?


-- 
Sincerely,
Alexey S. Kuznetsov
AK2351-RIPE



             reply	other threads:[~2005-09-14 23:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-14 23:28 Alexey S. Kuznetsov [this message]
2005-09-14 13:35 ` Michael Popov
2005-09-14 13:36 ` Alexey Morsov

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=1359323748.20050914162814@kuznetsov.org.ua \
    --to=buster@kuznetsov.org.ua \
    --cc=community@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