From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 28 Jan 2003 12:56:46 +0300 From: Andrew Nazarkin To: Sisyphus Message-Id: <20030128125646.2072156e.gnomik@mtv.ru> Organization: MTV Russia X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart_Tue__28_Jan_2003_12:56:46_+0300_082d2450" Subject: [sisyphus] Squit antibanner Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: This is a multi-part message in MIME format. --Multipart_Tue__28_Jan_2003_12:56:46_+0300_082d2450 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Вот, кусок примера конфга "баннерорезалки" в сквиде и собственно аттач с "плохими урлами". Не претендует на стандарт де-факто, но работает. Можно заменить "дыры" на месте баннеров на красивые картинки, но это уже редиректор, раз (а роутерочек у меня хи-иленький) и система ставилась "для себя" - т.е. мне на красоту как-то... acl good_url url_regex "/usr/local/etc/squid/acl/good_url" acl bad_urlpath urlpath_regex "/usr/local/etc/squid/acl/bad_urlpath" acl bad_url url_regex "/usr/local/etc/squid/acl/bad_url" http_access deny bad_urlpath !good_url http_access deny bad_url !good_url Файлики из аттача кладуться в /usr/local/etc/squid/acl/ либо в любое другое место, только пути в аклях соответственно поправить... И еще - список, наверное, даже скорее всего уже устарел, поэтому "обмен урлами" целиком и полностью поддеррживаю! --Multipart_Tue__28_Jan_2003_12:56:46_+0300_082d2450 Content-Type: application/x-gzip; name="acl.tgz" Content-Disposition: attachment; filename="acl.tgz" Content-Transfer-Encoding: base64 H4sIAIFTNj4AA+1cS3PkuJHus37FHPakjQLrJZU0F4e6o6c9tqfH4T7YsdasAiRRRahIg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