* [Comm] файлы списков сайтов и баннеров для squid
@ 2005-04-08 7:11 Владимир Гусев
2005-04-08 7:51 ` Alexey Morsov
2005-04-08 9:49 ` Mike Lykov
0 siblings, 2 replies; 6+ messages in thread
From: Владимир Гусев @ 2005-04-08 7:11 UTC (permalink / raw)
To: AltLinux Community
Здравствуйте!
Какой формат файла списка сайтов и баннеров для запрещения считается правильным?
Где ни смотрел - везде по-разному. В одних примерах строки начинаются с http://*.damochka.ru, в других - просто с точки - .damochka.ru и т.д. Как правильно?
И достаточны ли в случае запрета баннеров такие строки в sqiud.conf
acl antibanner url_regex -i "/etc/squid/banner"
http_access deny antibanner
если перед http_access deny antibanner стоят такие строки как например
http_access allow admin adm
http_access allow postshop pshop
http_access allow localhost
Они не перекроют http_access deny antibanner ?
--
С уважением, Владимир Гусев
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] файлы списков сайтов и баннеров для squid
2005-04-08 7:11 [Comm] файлы списков сайтов и баннеров для squid Владимир Гусев
@ 2005-04-08 7:51 ` Alexey Morsov
2005-04-08 10:22 ` Владимир Гусев
2005-04-08 9:49 ` Mike Lykov
1 sibling, 1 reply; 6+ messages in thread
From: Alexey Morsov @ 2005-04-08 7:51 UTC (permalink / raw)
To: community
Владимир Гусев wrote:
> Здравствуйте!
>
> Какой формат файла списка сайтов и баннеров для запрещения считается правильным?
> Где ни смотрел - везде по-разному. В одних примерах строки начинаются с http://*.damochka.ru, в других - просто с точки - .damochka.ru и т.д. Как правильно?
> И достаточны ли в случае запрета баннеров такие строки в sqiud.conf
>
> acl antibanner url_regex -i "/etc/squid/banner"
> http_access deny antibanner
Если я правильно помню, то в regex . - это одиночный (любой) символ
А вообще такими вещами занимается редиректоры - squidguard, rejik3 и еще
куча...
--
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
ICQ: 196766290
Jabber: Samurai@jabber.pibhe.com
http://www.ricom.ru
http://www.fondmarket.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] файлы списков сайтов и баннеров для squid
2005-04-08 7:51 ` Alexey Morsov
@ 2005-04-08 10:22 ` Владимир Гусев
2005-04-08 12:10 ` Alexey Morsov
0 siblings, 1 reply; 6+ messages in thread
From: Владимир Гусев @ 2005-04-08 10:22 UTC (permalink / raw)
To: community
>> Какой формат файла списка сайтов и баннеров для запрещения считается правильным?
>> Где ни смотрел - везде по-разному. В одних примерах строки начинаются с http://*.damochka.ru, в других - просто с точки - .damochka.ru и т.д. Как правильно?
>> И достаточны ли в случае запрета баннеров такие строки в sqiud.conf
>>
>> acl antibanner url_regex -i "/etc/squid/banner"
>> http_access deny antibanner
> Если я правильно помню, то в regex . - это одиночный (любой) символ
> А вообще такими вещами занимается редиректоры - squidguard, rejik3 и еще
> куча...
>
Ясненько.. просто не хотелось привлекать дополнительные программы и обойтись силами самого сквида
--
С уважением, Владимир Гусев
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] файлы списков сайтов и баннеров для squid
2005-04-08 10:22 ` Владимир Гусев
@ 2005-04-08 12:10 ` Alexey Morsov
0 siblings, 0 replies; 6+ messages in thread
From: Alexey Morsov @ 2005-04-08 12:10 UTC (permalink / raw)
To: community
Владимир Гусев wrote:
>>>Какой формат файла списка сайтов и баннеров для запрещения считается правильным?
>>>Где ни смотрел - везде по-разному. В одних примерах строки начинаются с http://*.damochka.ru, в других - просто с точки - .damochka.ru и т.д. Как правильно?
>>>И достаточны ли в случае запрета баннеров такие строки в sqiud.conf
>>>
>>>acl antibanner url_regex -i "/etc/squid/banner"
>>>http_access deny antibanner
>>
>>Если я правильно помню, то в regex . - это одиночный (любой) символ
>>А вообще такими вещами занимается редиректоры - squidguard, rejik3 и еще
>>куча...
>>
>
>
> Ясненько.. просто не хотелось привлекать дополнительные программы и обойтись силами самого сквида
Да я тоже сначала так (силами сквида ) делал... Но мне быстро надоело
каждый день поплнять список банеров и порнухи... так что перешел на
rejik3 чем и доволен
--
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
ICQ: 196766290
Jabber: Samurai@jabber.pibhe.com
http://www.ricom.ru
http://www.fondmarket.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] файлы списков сайтов и баннеров для squid
2005-04-08 7:11 [Comm] файлы списков сайтов и баннеров для squid Владимир Гусев
2005-04-08 7:51 ` Alexey Morsov
@ 2005-04-08 9:49 ` Mike Lykov
2005-04-08 10:22 ` Владимир Гусев
1 sibling, 1 reply; 6+ messages in thread
From: Mike Lykov @ 2005-04-08 9:49 UTC (permalink / raw)
To: community
В сообщении от Пятница 08 Апрель 2005 12:11 Владимир Гусев написал:
> Какой формат файла списка сайтов и баннеров для запрещения считается
> правильным? Где ни смотрел - везде по-разному. В одних примерах строки
> начинаются с http://*.damochka.ru, в других - просто с точки - .damochka.ru
> и т.д. Как правильно?
это формат, содержащий т.наз. regular expressions (регулярные выражения).
они могут быть любыми - главное, чтобы удовлетворяли тому условию, какое вам
нужно. "единственно верного" формата нет.
если вы еще не прочитали документацию на тему "регулярных выражений" - срочно
сделайте это ;))
--
Mike Lykov
Samara, "Vesna" parfum company, System administrator
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] файлы списков сайтов и баннеров для squid
2005-04-08 9:49 ` Mike Lykov
@ 2005-04-08 10:22 ` Владимир Гусев
0 siblings, 0 replies; 6+ messages in thread
From: Владимир Гусев @ 2005-04-08 10:22 UTC (permalink / raw)
To: community
>> Какой формат файла списка сайтов и баннеров для запрещения считается
>> правильным? Где ни смотрел - везде по-разному. В одних примерах строки
>> начинаются с http://*.damochka.ru, в других - просто с точки - .damochka.ru
>> и т.д. Как правильно?
>
> это формат, содержащий т.наз. regular expressions (регулярные выражения).
> они могут быть любыми - главное, чтобы удовлетворяли тому условию, какое вам
> нужно. "единственно верного" формата нет.
>
> если вы еще не прочитали документацию на тему "регулярных выражений" - срочно
> сделайте это ;))
>
:)
--
С уважением, Владимир Гусев
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-04-08 12:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08 7:11 [Comm] файлы списков сайтов и баннеров для squid Владимир Гусев
2005-04-08 7:51 ` Alexey Morsov
2005-04-08 10:22 ` Владимир Гусев
2005-04-08 12:10 ` Alexey Morsov
2005-04-08 9:49 ` Mike Lykov
2005-04-08 10:22 ` Владимир Гусев
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