Есть FReeBSD 5.2.1 SQUID 2.5. решил написать свои правила (пытаюсь разобраться в настройках) вроде грузится в процессах он по крайней мере есть.
Cache.log:
2005/02/01 09:51:26| Starting Squid Cache version 2.5.STABLE3 for i386-portbld-freebsd5.2.1...
2005/02/01 09:51:26| Process ID 16868
2005/02/01 09:51:26| With 3578 file descriptors available
2005/02/01 09:51:26| Performing DNS Tests...
2005/02/01 09:51:26| Successful DNS name lookup tests...
2005/02/01 09:51:26| DNS Socket created at 0.0.0.0, port 49238, FD 4
2005/02/01 09:51:26| Adding nameserver 10.0.0.50 from /etc/resolv.conf
2005/02/01 09:51:26| Adding nameserver 212.46.0.3 from /etc/resolv.conf
2005/02/01 09:51:26| Adding nameserver 193.138.70.2 from /etc/resolv.conf
2005/02/01 09:51:26| Unlinkd pipe opened on FD 9
2005/02/01 09:51:26| Swap maxSize 102400 KB, estimated 7876 objects
2005/02/01 09:51:26| Target number of buckets: 393
2005/02/01 09:51:26| Using 8192 Store buckets
2005/02/01 09:51:26| Max Mem size: 8192 KB
2005/02/01 09:51:26| Max Swap size: 102400 KB
2005/02/01 09:51:26| Rebuilding storage in /usr/local/squid/cache (DIRTY)
2005/02/01 09:51:26| Using Least Load store dir selection
2005/02/01 09:51:26| Current Directory is /root
2005/02/01 09:51:26| Loaded Icons.
2005/02/01 09:51:26| Accepting HTTP connections at 10.0.1.1, port 3128, FD 10.
2005/02/01 09:51:26| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
2005/02/01 09:51:26| WCCP Disabled.
2005/02/01 09:51:26| Ready to serve requests.
2005/02/01 09:51:32| Done scanning /usr/local/squid/cache swaplog (0 entries)
2005/02/01 09:51:32| Finished rebuilding storage from disk.
2005/02/01 09:51:32| 0 Entries scanned
2005/02/01 09:51:32| 0 Invalid entries.
2005/02/01 09:51:32| 0 With invalid flags.
2005/02/01 09:51:32| 0 Objects loaded.
2005/02/01 09:51:32| 0 Objects expired.
2005/02/01 09:51:32| 0 Objects cancelled.
2005/02/01 09:51:32| 0 Duplicate URLs purged.
2005/02/01 09:51:32| 0 Swapfile clashes avoided.
2005/02/01 09:51:32| Took 5.4 seconds ( 0.0 objects/sec).
2005/02/01 09:51:32| Beginning Validation Procedure
2005/02/01 09:51:32| Completed Validation Procedure
2005/02/01 09:51:32| Validated 0 Entries
2005/02/01 09:51:32| store_swap_size = 0k
2005/02/01 09:51:32| storeLateRelease: released 0 objects/usr/local/etc/squid/squid.conf:
acl LocalNet src 10.0.1.0/24
acl denied_ips src "/usr/local/etc/squid/denied_ips"
acl vip_users src "/usr/local/etc/squid/vip_users"
acl allowed_users src "/usr/local/ets/squid/allowed_users"
acl denied_urls url_regex src "/usr/local/etc/squid/denied_urls"
acl media urlpath_regex -i \.mp3$ \.asf$ \.wav$ \.wma$ \.avi$ \.mpg$http_port 10.0.1.1:3128
http_access allow vip_users
http_access deny denied_ips
http_access deny LocalNet denied_urls
http_access deny LocalNet media
http_access allow allowed_users
http_access deny !allowed_users
http_access deny LocalNetно при запуске squid stop (start) пишет:
2005/02/01 10:17:22| strtokFile: /usr/local/ets/squid/allowed_users not found
2005/02/01 10:17:22| aclParseAclLine: IGNORING invalid ACL: acl allowed_users src "/usr/local/ets/squid/allowed_users"
2005/02/01 10:17:22| squid.conf line 13: http_access allow allowed_users
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'allowed_users' not found.
2005/02/01 10:17:22| squid.conf line 13: http_access allow allowed_users
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
2005/02/01 10:17:22| squid.conf line 14: http_access deny !allowed_users
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'allowed_users' not found.
2005/02/01 10:17:22| squid.conf line 14: http_access deny !allowed_users
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
2005/02/01 10:17:22| squid.conf line 17: http_reply_access allow all
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
2005/02/01 10:17:22| squid.conf line 17: http_reply_access allow all
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
2005/02/01 10:17:22| squid.conf line 18: icp_access deny all
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
2005/02/01 10:17:22| squid.conf line 18: icp_access deny all
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
2005/02/01 10:17:22| squid.conf line 19: ident_lookup_access deny all
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
2005/02/01 10:17:22| squid.conf line 19: ident_lookup_access deny all
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
2005/02/01 10:17:22| squid.conf line 20: reply_body_max_size 0 allow all
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
2005/02/01 10:17:22| squid.conf line 20: reply_body_max_size 0 allow all
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
2005/02/01 10:17:22| Squid is already running! Process ID 16868не пойму никак чего он хочет :(
>acl allowed_users src "/usr/local/ets/squid/allowed_users"
^^^^^^^^
Должно быть наверное так/usr/local/etc/squid/allowed_users
>
>>acl allowed_users src "/usr/local/ets/squid/allowed_users"
>
>
> ^^^^^^^^
>
>Должно быть наверное так
>
>/usr/local/etc/squid/allowed_usersне понял...
>>
>>>acl allowed_users src "/usr/local/ets/squid/allowed_users"
>>
>>
>> ^^^^^^^^
>>
>>Должно быть наверное так
>>
>>/usr/local/etc/squid/allowed_users
>
> не понял...
У тебя в пути ошибка etS, а должно быть etC
Squid тебе об этом и говорит2005/02/01 10:17:22| strtokFile: /usr/local/ets/squid/allowed_users not found
2005/02/01 10:17:22| aclParseAclLine: IGNORING invalid ACL: acl allowed_users2005/02/01 10:17:22| strtokFile: /usr/local/ets/squid/allowed_users not found
2005/02/01 10:17:22| aclParseAclLine: IGNORING invalid ACL: acl allowed_users
>>>
>>>>acl allowed_users src "/usr/local/ets/squid/allowed_users"
>>>
>>>
>>> ^^^^^^^^
>>>
>>>Должно быть наверное так
>>>
>>>/usr/local/etc/squid/allowed_users
>>
>> не понял...
>У тебя в пути ошибка etS, а должно быть etC
>Squid тебе об этом и говорит
>
>2005/02/01 10:17:22| strtokFile: /usr/local/ets/squid/allowed_users not found
>2005/02/01 10:17:22| aclParseAclLine: IGNORING invalid ACL: acl allowed_users2005/02/01 10:17:22| strtokFile: /usr/local/ets/squid/allowed_users not
>found
>2005/02/01 10:17:22| aclParseAclLine: IGNORING invalid ACL: acl allowed_usersспасибо.... Слона-то я и не заметил :)
а не подскажете от куда это взялось2005/02/01 10:17:22| squid.conf line 17: http_reply_access allow all
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
2005/02/01 10:17:22| squid.conf line 17: http_reply_access allow all
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
2005/02/01 10:17:22| squid.conf line 18: icp_access deny all
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
2005/02/01 10:17:22| squid.conf line 18: icp_access deny all
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
2005/02/01 10:17:22| squid.conf line 19: ident_lookup_access deny all
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
2005/02/01 10:17:22| squid.conf line 19: ident_lookup_access deny all
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
2005/02/01 10:17:22| squid.conf line 20: reply_body_max_size 0 allow all
2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
2005/02/01 10:17:22| squid.conf line 20: reply_body_max_size 0 allow all
2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skippingэтих правил у меня в конфиге вообще нет
>спасибо.... Слона-то я и не заметил :)
>а не подскажете от куда это взялось
>
>2005/02/01 10:17:22| squid.conf line 17: http_reply_access allow all
>2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
>2005/02/01 10:17:22| squid.conf line 17: http_reply_access allow all
>2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
>2005/02/01 10:17:22| squid.conf line 18: icp_access deny all
>2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
>2005/02/01 10:17:22| squid.conf line 18: icp_access deny all
>2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
>2005/02/01 10:17:22| squid.conf line 19: ident_lookup_access deny all
>2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
>2005/02/01 10:17:22| squid.conf line 19: ident_lookup_access deny all
>2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
>2005/02/01 10:17:22| squid.conf line 20: reply_body_max_size 0 allow all
>2005/02/01 10:17:22| aclParseAccessLine: ACL name 'all' not found.
>2005/02/01 10:17:22| squid.conf line 20: reply_body_max_size 0 allow all
>2005/02/01 10:17:22| aclParseAccessLine: Access line contains no ACL's, skipping
>
>этих правил у меня в конфиге вообще нетВ конфиге должен был быть дефолтовый аксель
acl all src 0.0.0.0/0.0.0.0
Ты его случайно не удалил?