FATAL: Bungled squid.conf line 10: cache_dir diskd /cache1/cache 5000 16 256
I want to BLOCk Internet access by using MAC addresses,but i have version
SQUID 2.7.STABLE3-20080720[/SIZE][/B] ==============Error Facing==================== [root@localhost ~]# /usr/local/squid/sbin/squid -k reconfigure FATAL: Bungled squid.conf line 10: cache_dir diskd /cache1/cache 5000 16 256 Squid Cache (Version 2.7.STABLE3): Terminated abnormal################ ==================================================================== ====================My Squid.conf============================= http_port 8080 icp_port 3130 cache_mem 16 MB cache_swap_low 90 cache_swap_high 95 maximum_object_size 4096 KB minimum_object_size 0 KB cache_dir diskd /cache1/cache 5000 16 256 ###############test################## cache_access_log /usr/local/squid/var/logs/access.log cache_log /usr/local/squid/var/logs/cache.log #cache_store_log /var/log/squid/store.log cache_store_log none #cache_access_log /var/log/squid/access.log # cache_log /var/log/squid/cache.log # cache_store_log /var/log/squid/store.log hosts_file /etc/hosts diskd_program /usr/lib/squid/diskd refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 #Recommended minimum configuration: acl all src 0.0.0.0/0.0.0.0 acl ourusers src 10.32.137.0/24 acl localdsts dst 10.32.137.0/24 acl user src 10.32.137.0/25 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 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 http acl CONNECT method CONNECT ### test acl ourusers arp 4C:00:10:60:EA:1D http_access ourusers http_access allow manager localhost http_access deny manager #http_access deny !Safe_ports #http_access deny CONNECT !SSL_ports # # We strongly recommend to uncomment the following to protect innocent # web applications running on the proxy server who think that the only # one who can access services on "localhost" is a local user #http_access deny to_localhost http_access allow localhost http_access allow ourusers http_access allow user http_access deny all http_reply_access allow all icp_access allow ourusers icp_access deny all icp_access allow user ident_lookup_access allow ourusers ident_lookup_access deny all #cache_effective_user nobody cache_mgr Shoaib@zte.com.pk visible_hostname IT_DepartmentKarachi@zte.com.pk http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports # http_reply_access allow all # http_reply_access allow all icp_access allow all "/usr/local/squid/etc/squid.conf" [dos] 95L, 2598C |
ab
cvvcxcvcvccx
|
All times are GMT -5. The time now is 04:05 PM. |