Проблема заключается в следующем:
Стоит сервер на линукс Suse 9.0 с доступом к интернет через ВАН
Локальная сеть подключена к серверу на линуксе и имеет доступ к интернет
(в локальных компьютерах использован вход через default gateway шлюз им является сервер на линуксе)
На сервере установил squid v 2.5 st 3 настроил его и запустил
Из локальной сети в параметрах подключение к интернет стоит ip адрес сервера и порт 3128
При попытке загрузить какой нить сайт выдает следующее сообщение:ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------
While trying to retrieve the URL: http://www.chat.ru/The following error was encountered:
Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.Your cache administrator is webmaster.
--------------------------------------------------------------------------
Generated (squid/2.5.STABLE3)Смотрел файл конфигурации сквида там все что связанно с ACL все в порядке
>Смотрел файл конфигурации сквида там все что связанно с ACL все в
>порядкеПокажи свои ACL.
Проверь временные списки доступа
>>Смотрел файл конфигурации сквида там все что связанно с ACL все в
>>порядке
>
>Покажи свои ACL.
Вот АСЛ
squid.conf [B---] 48 L:[1706+17 1723/3221] *(61039/108572b)= . 10 0x0A
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
#---
acl allowed_host src 192.168.0.0/255.255.255.0
#--
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 3128 # http
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 httpacl CONNECT method CONNECT
----------------------------------------
squid.conf [B---] 0 L:[1707+19 1726/3221] *(61068/108572b)= . 10 0x0A
acl localhost src 127.0.0.1/255.255.255.255
#---
acl allowed_host src 192.168.0.0/255.255.255.0
#--
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 3128 # http
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 httpacl CONNECT method CONNECT
# TAG: http_access
# Allowing or Denying access based on defined access lists
1Help 2Save 3Mark 4Replac 5Copy 6Move 7Search 8Delete 9PullDn 10Quit
Попробуй пропсать все ip адреса посдеткаи по отдельности к примеру
acl allowed_host src 192.168.0.1/255.255.255.0
acl allowed_host src 192.168.0.2/255.255.255.0
acl allowed_host src 192.168.0.3/255.255.255.0
и т.д.
>Попробуй пропсать все ip адреса посдеткаи по отдельности к примеру
>acl allowed_host src 192.168.0.1/255.255.255.0
>acl allowed_host src 192.168.0.2/255.255.255.0
>acl allowed_host src 192.168.0.3/255.255.255.0
>и т.д.
пробовал вот что выдаетtut:/etc/squid # squid
2004/12/08 06:41:50| aclParseIpData: WARNING: Netmask masks away part of the spe
cified IP in '192.168.0.1/255.255.255.0'
2004/12/08 06:41:50| WARNING: '192.168.0.0/255.255.255.0' is a subnetwork of '19
2.168.0.0/255.255.255.0'
2004/12/08 06:41:50| WARNING: because of this '192.168.0.0/255.255.255.0' is ign
ored to keep splay tree searching predictable
2004/12/08 06:41:50| WARNING: You should probably remove '192.168.0.0/255.255.25
5.0' from the ACL named 'allowed_host'
2004/12/08 06:41:50| aclParseIpData: WARNING: Netmask masks away part of the spe
cified IP in '192.168.0.4/255.255.255.0'
2004/12/08 06:41:50| WARNING: '192.168.0.0/255.255.255.0' is a subnetwork of '19
2.168.0.0/255.255.255.0'
2004/12/08 06:41:50| WARNING: because of this '192.168.0.0/255.255.255.0' is ign
ored to keep splay tree searching predictable
2004/12/08 06:41:50| WARNING: You should probably remove '192.168.0.0/255.255.25
5.0' from the ACL named 'allowed_host'
2004/12/08 06:41:50| Squid is already running! Process ID 2139
tut:/etc/squid # squid
2004/12/08 06:42:01| aclParseIpData: WARNING: Netmask masks away part of the spe
cified IP in '192.168.0.1/255.255.255.0'
2004/12/08 06:42:01| WARNING: '192.168.0.0/255.255.255.0' is a subnetwork of '19
2.168.0.0/255.255.255.0'
2004/12/08 06:42:01| WARNING: because of this '192.168.0.0/255.255.255.0' is ign
ored to keep splay tree searching predictable
2004/12/08 06:42:01| WARNING: You should probably remove '192.168.0.0/255.255.25
5.0' from the ACL named 'allowed_host'
2004/12/08 06:42:01| aclParseIpData: WARNING: Netmask masks away part of the spe
cified IP in '192.168.0.4/255.255.255.0'
2004/12/08 06:42:01| WARNING: '192.168.0.0/255.255.255.0' is a subnetwork of '19
2.168.0.0/255.255.255.0'
2004/12/08 06:42:01| WARNING: because of this '192.168.0.0/255.255.255.0' is ign
ored to keep splay tree searching predictable
2004/12/08 06:42:01| WARNING: You should probably remove '192.168.0.0/255.255.25
5.0' from the ACL named 'allowed_host'
2004/12/08 06:42:01| Squid is already running! Process ID 2139
>>Попробуй пропсать все ip адреса посдеткаи по отдельности к примеру
>>acl allowed_host src 192.168.0.1/255.255.255.0
>>acl allowed_host src 192.168.0.2/255.255.255.0
>>acl allowed_host src 192.168.0.3/255.255.255.0
>>и т.д.
>пробовал вот что выдает
>
>tut:/etc/squid # squid
>2004/12/08 06:41:50| aclParseIpData: WARNING: Netmask masks away part of the spe
>cified IP in '192.168.0.1/255.255.255.0'
>2004/12/08 06:41:50| WARNING: '192.168.0.0/255.255.255.0' is a subnetwork of '19
>2.168.0.0/255.255.255.0'
>2004/12/08 06:41:50| WARNING: because of this '192.168.0.0/255.255.255.0' is ign
>ored to keep splay tree searching predictable
>2004/12/08 06:41:50| WARNING: You should probably remove '192.168.0.0/255.255.25
>5.0' from the ACL named 'allowed_host'
>2004/12/08 06:41:50| aclParseIpData: WARNING: Netmask masks away part of the spe
>cified IP in '192.168.0.4/255.255.255.0'
>2004/12/08 06:41:50| WARNING: '192.168.0.0/255.255.255.0' is a subnetwork of '19
>2.168.0.0/255.255.255.0'
>2004/12/08 06:41:50| WARNING: because of this '192.168.0.0/255.255.255.0' is ign
>ored to keep splay tree searching predictable
>2004/12/08 06:41:50| WARNING: You should probably remove '192.168.0.0/255.255.25
>5.0' from the ACL named 'allowed_host'
>2004/12/08 06:41:50| Squid is already running! Process ID 2139
>tut:/etc/squid # squid
>2004/12/08 06:42:01| aclParseIpData: WARNING: Netmask masks away part of the spe
>cified IP in '192.168.0.1/255.255.255.0'
>2004/12/08 06:42:01| WARNING: '192.168.0.0/255.255.255.0' is a subnetwork of '19
>2.168.0.0/255.255.255.0'
>2004/12/08 06:42:01| WARNING: because of this '192.168.0.0/255.255.255.0' is ign
>ored to keep splay tree searching predictable
>2004/12/08 06:42:01| WARNING: You should probably remove '192.168.0.0/255.255.25
>5.0' from the ACL named 'allowed_host'
>2004/12/08 06:42:01| aclParseIpData: WARNING: Netmask masks away part of the spe
>cified IP in '192.168.0.4/255.255.255.0'
>2004/12/08 06:42:01| WARNING: '192.168.0.0/255.255.255.0' is a subnetwork of '19
>2.168.0.0/255.255.255.0'
>2004/12/08 06:42:01| WARNING: because of this '192.168.0.0/255.255.255.0' is ign
>ored to keep splay tree searching predictable
>2004/12/08 06:42:01| WARNING: You should probably remove '192.168.0.0/255.255.25
>5.0' from the ACL named 'allowed_host'
>2004/12/08 06:42:01| Squid is already running! Process ID 2139КТО НИТЬ СМОЖЕТЕ РАЗОБРАТЬСЯ???
ЧТО ДЕЛАТЬ В ЭТОЙ СИТУАЦИИ
Ну кто так делает!!!
Если в список доступа добавляешь хост то запись должна быть такой
acl allowed_host src 192.168.0.1/255.255.255.255
все дело в маске
покажи все http_access и http_deny
>покажи все http_access и http_deny# http_access deny all
#
#Recommended minimum configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
# http_access deny manager --
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports#Default:
# http_access deny all
#
#Recommended minimum configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
# http_access deny manager --
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#
ну, и где там http_access allow твой_acl ? :)