[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: просмотр web-контента под transparent SQUID и под SQUID



Здравствуйте, debian-russian.

В FAQ на http://www.squid-cache.org/Doc/FAQ/FAQ-1.html#ss1.12 указано:

"As of version 2.5, Squid can terminate SSL connections. This is perhaps only useful in a surrogate (http accelerator)
configuration. You must run configure with --enable-ssl. See https_port in squid.conf for more information.

Squid also supports these encrypted protocols by ``tunelling'' traffic between clients and servers. In this case,
Squid can relay the encrypted bits between a client and a server. 

Normally, when your browser comes across an https URL, it does one of two things: 

The browser opens an SSL connection directly to the origin server.
The browser tunnels the request through Squid with the CONNECT request
method."

Я правильно понял - 2.5 версия сквида умеет туннелировать SSL?
Попытался установить из сырцов 2.5 - скомпилился нормально с опциями -
./configure --prefix=/usr/local/squid/ --exec_prefix=/usr/1 --bindir=/usr/sbin/1 --sbindir=/usr/sbin/1 --libexecdir=/usr/lib/squid1 --sysconfd
ir=/etc/1 --localstatedir=/var/spool/squid1 --with-pthreads --enable-store-io=ufs,aufs,diskd --enable-removal-policies=lru,heap --enable-delay
-pools --enable-htcp --enable-poll --enable-cache-digests --enable-underscores --enable-linux-netfilter --enable-ssl --with-openssl=/root/open
ssl/include/openssl

но при запуске
#squid -z
возникает еррор:

# ./squid -z
FATAL: Could not determine fully qualified hostname.  Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE5): Terminated abnormally.
CPU Usage: 0.080 seconds = 0.020 user + 0.060 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 221
Aborted

При этом указывай, не указывай директиву visible_hostname -- еррор тот
же....
Попробовал удалить из системы предыдущию версию сквида -- из
deb-пакета  -- думал конфликтуют -- рез-ат тот же...
Может надо еще /etc/hosts как -то подправить?
В чем грабли? Help pls...




rezpekt,

 Tzunami




Reply to: