ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] squid
@ 2007-12-20  8:52 altlinux
  0 siblings, 0 replies; only message in thread
From: altlinux @ 2007-12-20  8:52 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

всем привет!
есть Squid Cache: Version 2.6.STABLE12
Периодически  пишет доступ запрещен. В логах acces.log TCP_DENIED делаю
service squid reload и всё начинает работать. Такое происходит в 
наиболее загруженное время.
Грешу на winbind но в логах ничего не могу найти.
Как отловить кто виноват? И вопрос по поводу url_rewrite_children 450 
больше указать немогу, незагружается сервис, как сделать что бы больше 
children можно было проставить?

настроен след. образом
[root@gate squid]# cat /etc/squid/squid.conf
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_access_log /var/log/squid/access.log
ftp_user anonymous
url_rewrite_program /usr/local/bin/samsredir
url_rewrite_children 450
debug_options auth_param,9
auth_param ntlm program /usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 20
auth_param basic program /usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-basic
auth_param basic children 20
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320

external_acl_type AD_global_group %LOGIN /usr/lib64/squid/wbinfo_group.pl

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255

acl HTTP_Common         external        AD_global_group grphttp
acl HTTPS_Common        external        AD_global_group grphttps
acl ICQ_Common          external        AD_global_group grpicq

acl to_localhost dst 127.0.0.0/8
acl http_ftp_ports port 80 8080 21 1443 7778 # http
acl https_ports port 443  # https
acl http_icq dstdomain login.icq.com # icq
acl birga dstdomain etc.rndex.ru
acl CONNECT method CONNECT
http_access allow HTTP_Common   http_ftp_ports
http_access allow HTTPS_Common  https_ports
http_access allow ICQ_Common    http_icq https_ports
http_access allow manager localhost
http_access deny manager
http_access allow localhost
http_access deny all
http_reply_access allow all
error_directory /usr/share/squid/errors/Russian-1251




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-20  8:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-20  8:52 [Sysadmins] squid altlinux

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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