LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2012, 02:43 AM   #1
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 192
Blog Entries: 3

Rep: Reputation: 3
error in squid configuration


my users unable to open www.facebook.com via Squid Proxt 2.6 stable.

After checking squid.out log i found below error

quid.conf line 623: http_access allow facebook special_client
FATAL: Bungled squid.conf line 623: http_access allow facebook special_client
FATAL: Bungled squid.conf line 4536: acl facebook scr www.facebook.com
FATAL: Bungled squid.conf line 4536: acl facebook scr www.facebook.com
FATAL: Bungled squid.conf line 4536: acl facebook scr www.facebook.com
FATAL: Bungled squid.conf line 4536: acl facebook scr www.facebook.com
2012/09/27 16:27:28| ACL name 'www.facebook.com' not defined!
FATAL: Bungled squid.conf line 4537: http_access allow www.facebook.com
2012/09/27 16:27:28| ACL name 'www.facebook.com' not defined!
FATAL: Bungled squid.conf line 4537: http_access allow www.facebook.com

Last edited by ganesh24pal@gmail.com; 10-09-2012 at 02:55 AM.
 
Old 10-09-2012, 03:10 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
right so "scr" was meant to be "src"? If so then facebook is the destination, not the source. and the ACL you're trying to create is clearly called "facebook" not "www.facebook.com".
 
Old 10-09-2012, 04:18 AM   #3
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 192
Blog Entries: 3

Original Poster
Rep: Reputation: 3
Examples:
#acl macaddress arp 09:00:2b:23:45:67
#acl myexample dst_as 1241
#acl password proxy_auth REQUIRED
#acl fileupload req_mime_type -i ^multipart/form-data$
#acl javascript rep_mime_type -i ^application/x-javascript$
#
#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
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
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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

#Default:
http_access allow 192.168.2.0
http_access allow 192.168.1.0
http_access allow 192.168.121.0
http_access allow 192.168.0.0
#http_access allow 192.168.3.0
http_access allow 192.168.50.0
http_access allow GoodSites
#http_access deny pornsites
#http_access allow all
# http_access deny all
 
Old 10-09-2012, 04:20 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
what is that post for??
 
Old 10-09-2012, 04:25 AM   #5
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 192
Blog Entries: 3

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by acid_kewpie View Post
what is that post for??
This is Squid.conf out put

---------- Post added 10-09-12 at 02:56 PM ----------

Quote:
Originally Posted by acid_kewpie View Post
right so "scr" was meant to be "src"? If so then facebook is the destination, not the source. and the ACL you're trying to create is clearly called "facebook" not "www.facebook.com".
There is nothing as comment in squid.conf
 
  


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
[SOLVED] Error in Squid configuration SAbhi Linux - Server 14 01-04-2012 11:36 PM
Problem with configuration of Squid server behind a squid ajitup Linux - Server 13 08-12-2009 10:55 PM
installing squid : service squid start --> error jonaskellens Linux - Software 2 09-05-2008 03:06 AM
Squid configuration Drunkalot Linux - Networking 1 03-10-2006 04:18 AM
Squid: special configuration for remote Squid server hamish Linux - Software 0 12-06-2005 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration