Спасибо, keepver!
Твои замечания были весьма полезны.
Сейчас Сквид заработал и все вроде бы замечательно :))
Осталась только одна проблема: все соединения Сквид пишет в лог как соединения с одного и того же Ай-Пи(192.168.1.0) независимо от того с какой машины идет обращение.
Подскажите как сделать, чтобы обращения воспринимались правильно.
Вот текущий конфиг:
http_port 3128
icp_port 3130
htcp_port 4827
cache_peer 195.131.89.19 parent 3128 0 default no-query
hierarchy_stoplist cgi-bin ?
cache_mem 20 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 1024 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
ipcache_size 10240
ipcache_low 90
ipcache_high 95
cache_dir ufs c:/squid25/var/cache 100 16 256
cache_access_log c:/squid25/var/logs/access.log
cache_log c:/squid25/var/logs/cache.log
cache_store_log c:/squid25/var/logs/store.log
emulate_httpd_log off
mime_table c:/squid25/etc/mime.conf
log_mime_hdrs off
useragent_log c:/squid25/var/logs/useragent.log
pid_filename c:/squid25/var/logs/squid.pid
debug_options ALL,1
client_netmask 255.255.255.0
ftp_user Squid@
ftp_list_width 32
ftp_passive on
ftp_sanitycheck on
dns_nameservers 195.131.52.130
dns_nameservers 194.8.160.90
diskd_program c:/squid25/libexec/diskd.exe
unlinkd_program c:/squid25/libexec/unlinkd.exe
pinger_program c:/squid25/libexec/pinger.exe
auth_param ntlm program c:/squid25/libexec/ntlm_win32_auth.exe -v -a InetUsers
auth_param ntlm children 15
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 1 minutes
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
cache_mgr 192.168.1.100
visible_hostname 192.168.1.100
unique_hostname 192.168.1.100
memory_pools on
memory_pools_limit 5 MB
icon_directory c:/squid25/share/icons
error_directory c:/squid25/share/errors/English
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl adm src 192.168.1.50/255.255.255.255
acl net src 192.168.1.1-192.168.1.100/255.255.255.255
acl multimedia urlpath_regex -i \.mp3$ \.mpeg$ \.avi$ \.mov$ \.mpg$
acl mult urlpath_regex -i \.swf$ \.zip$
delay_pools 2
delay_class 1 1
delay_class 2 1
delay_access 1 allow multimedia
delay_access 1 deny all
delay_access 2 allow mult
delay_access 2 deny all
delay_parameters 1 1200/1200
delay_parameters 1 15000/15000
http_access allow manager adm
http_access allow net
http_reply_access allow net
icp_access allow net
miss_access allow net
miss_access deny all
http_access deny all
http_reply_access deny all
# ignore_unknown_nameservers on
# ie_refresh on
А вот кусок лог-файла(обращения шли с 192.168.1.5 и 192.168.1.2):
1041762499.156 210 192.168.1.0 TCP_MISS/200 935 GET http://top.list.ru/counter? - DIRECT/194.67.23.251 image/gif
1041762499.276 360 192.168.1.0 TCP_MISS/304 228 GET http://mmedia.ozon.ru/graphics/img_ass/88/oz_button_4.gif - DIRECT/194.186.100.21 -
1041762499.336 120 192.168.1.0 TCP_MISS/200 422 GET http://www.combats.ru/ch.pl? - DIRECT/217.106.235.236 text/html
1041762499.437 131 192.168.1.0 TCP_MISS/200 1085 GET http://counter.rambler.ru/top100.cnt? - DIRECT/81.19.66.19 image/gif
1041762499.597 591 192.168.1.0 TCP_MISS/200 1923 GET http://top.combats.ru/c.pl? - DIRECT/217.106.235.193 image/png
1041762499.697 200 192.168.1.0 TCP_MISS/200 271 GET http://www.clx.ru/pic.php? - DIRECT/217.106.231.254 text/html
Как сделать так, чтобы в логе писался реальный адрес клиентской машины.
Заранее спасибо, Genius