LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-20-2008, 10:01 AM   #1
shoaibrehman
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
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
 
Old 07-20-2008, 10:02 AM   #2
shoaibrehman
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
ab

cvvcxcvcvccx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
use of USF or DISKD in squid Dogar General 0 05-30-2007 01:14 AM
need examples of squid.conf & dansguardian.conf jocast Linux - Software 1 05-11-2006 04:47 PM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
help i've bungled php-nuke mike@wales Linux - Software 3 07-14-2003 09:20 AM


All times are GMT -5. The time now is 07:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration