>c какими опциями собран сквид? и покажи конфиг сквида, что пишет сквид
>в cache.log ?
Сквид собирался из портов. Конфиг сквида такой:
http_port 3128
tcp_outgoing_address мой внешний IP
udp_incoming_address мой внутренний IP
udp_outgoing_address мой внешний IP
hierarchy_stoplist cgi-bin ? chat
acl QUERY urlpath_regex cgi-bin \? chat
no_cache deny QUERY
cache_mem 32 MB
maximum_object_size 16384 KB
cache_dir ufs /usr/local/squid/cache 500 16 256
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log
ftp_passive off
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 xxx1 src 192.168.x.x
acl xxx2 src 192.168.x.y
acl xxx3 src 192.168.x.z
и другие acl'и
http_access allow xxx1
http_access allow xxx2
http_access allow xxx3
и другие http_access'ы
http_access deny all
http_reply_access allow all
icp_access allow all
visible_hostname localhost
coredump_dir /usr/local/squid/cache
-----------------------
А на запуск squid -d1 пишет:
Starting Squid Cache version 2.5.STABLE2 for i386-portbld-freebsd5.1...
Process ID 13276
With 957 file discriptors available
Perfoming DNS tests...
Sucessful DNS name lookup tests...
commBind: Cannot bind socket FD 4 to (мой внешний IP):0 (49)
Can't assign request address
FATAL: Could not create a DNS socket
kernel: pid 13276 (squid), uid 65534: exited on signal 6
потом все это повторяется еще 3 раза (не понимаю почему.)
squid[13274]: Exiting due to repeated, frequent failtures.