ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Squid проблемы
@ 2004-05-19  3:30 Кочетков Владимир
  2004-05-19  3:45 ` Андрей Петров
  0 siblings, 1 reply; 2+ messages in thread
From: Кочетков Владимир @ 2004-05-19  3:30 UTC (permalink / raw)
  To: community

Здравствуйте !

Что то я совсем запутался :-/

В принципе работает, но не все страницы можно увидеть.
Например головную страницу гугла вижу, а результат поиска нет.
Ошибка: No route to host
Работаю через родительский прокси, там тоже squid.

Выхожу на него через алиас, поэтому использую tcp_outgoing_address.

Аутентификация через домен win2000, используется sams.

Ткните носом, где не прав.


"squid.conf"

http_port 192.168.1.6:3128

cache_peer XXX.XXX.XXX.XXX parent 3128 0 no-query default

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 8 MB

cache_dir ufs /var/spool/squid 100 16 256

auth_param ntlm program /usr/bin/ntlm_auth -d10 --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 5
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param basic program /usr/bin/ntlm_auth -d10 --helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours


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


acl _sams_default proxy_auth "/etc/squid/default.sams"
acl _sams_chat url_regex "/etc/squid/chat.sams"
acl _sams_porno url_regex "/etc/squid/porno.sams"

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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Jabber_ports port 5222
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT

http_access allow _sams_default

http_access allow manager localhost
http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports !Jabber_ports

http_access allow localhost
http_access deny all

http_reply_access allow all

icp_access allow all

tcp_outgoing_address XXX.XXX.XXX.XXX

visible_hostname blokpost

forwarded_for off

coredump_dir /var/spool/squid


-- 
С уважением,
 Кочетков Владимир                      mailto:kvn@toltc.samen.elektra.ru
 Тольяттинские тепловые сети



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Squid проблемы
  2004-05-19  3:30 [Comm] Squid проблемы Кочетков Владимир
@ 2004-05-19  3:45 ` Андрей Петров
  0 siblings, 0 replies; 2+ messages in thread
From: Андрей Петров @ 2004-05-19  3:45 UTC (permalink / raw)
  To: Кочетков
	Владимир


Здравствуйте, Кочетков Владимир.

Вы писали 19 мая 2004 г., 10:30:09:

КВ> Здравствуйте !

КВ> Что то я совсем запутался :-/

КВ> В принципе работает, но не все страницы можно увидеть.
КВ> Например головную страницу гугла вижу, а результат поиска нет.
КВ> Ошибка: No route to host
КВ> Работаю через родительский прокси, там тоже squid.
По всей видимости проблема такая же как и у меня.
Если посмотришь в логи сквда, то заметишь, что запросы методом
POST не отправляются на родительский прокси.
Я уже задавал в рассылку такой вопрос, но никто не соизволил
ответить :(
А проблема так и осталась еще нерешенной.

Если найдешь решение проблемы, плз, скинь приватом конфиг.

КВ> Выхожу на него через алиас, поэтому использую tcp_outgoing_address.

КВ> Аутентификация через домен win2000, используется sams.

КВ> Ткните носом, где не прав.

<cut>

--
С уважением,
 Андрей Петров                          mailto:Petrov_A@semey.railways.kz


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-19  3:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-19  3:30 [Comm] Squid проблемы Кочетков Владимир
2004-05-19  3:45 ` Андрей Петров

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