LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-31-2013, 10:31 PM   #1
jatender2011
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
squid.conf


Hi Team,

i used fedora 6 in the year 2007. in that i configured squid for internet access, bandwidth management etc. there was thousand of lines in squid.conf like delay pools, etc etc.

today i want to configure the squid once again for my other client.
i installed fc14 as i like it a lot.
but the squid.conf have very limited lines in that...

can any one help me in this regard.. why the lines are less....or the path is different... any help will be highly appreciable...

in fc6 everything is clear as it was in squid.conf itself...
what should i do...

reg,
jaten.
 
Old 06-01-2013, 02:53 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Both Squid and Fedora have changed a lot since 2007. Probably the easiest way to configure Squid now is to use the Squid configuration FAQ as a guide
 
Old 06-02-2013, 06:40 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by jatender2011 View Post
i installed fc14 as i like it a lot.
That's not an adequate reason. FC14 (laughlin) was released in late 2010. While, for anything, there is the question whether it has current support, for Fedora this is worse because it is deliberately a fast-moving distro that doesn't have the testing (and therefore lack of bugs) that an enterprise distro gets. Some people say that this makes it particularly good for a desktop, but what is clear is that it does nothing to help ion the scenario which you are presenting because it doesn't have the extended support period, so you are going to have to keep updating in order to get support.

Wouldn't something like Centos, which does have extended support periods and does get more thorough testing be more appropriate?

Quote:
Originally Posted by jatender2011 View Post
today i want to configure the squid once again for my other client.
but the squid.conf have very limited lines in that...
I don't know what this '...my other client...' is; it seems that, if this is relevant, you should have explained something about your network architecture, but maybe it is just not relevant.

This is the first time that I've heard anyone complain that squid.conf doesn't have enough lines in it! The only thing that I can think is that Fedora have chosen to build a cut down version, which only has the major functionality and which does away with some of the fripperies (optional items). This would, therefore, need less configuring and fewer lines in squid.conf.

If it is true that your squid doesn't have the optional functionality, there is nothing that you can do with squid.conf to put that functionality back.

Quote:
Originally Posted by jatender2011 View Post
why the lines are less....or the path is different... any help will be highly appreciable...
Are you saying that the path to squid is different, or the path to squid.conf is different, or something else entirely. If you could list the old path and the new path maybe someone could have a go at guessing why the change has (or hasn't) occurred, but really the more significant question seems to be 'Can you work with what you've got?' which, I would have thought, would have been the case, if you actually know the paths that you've got.
 
Old 06-02-2013, 07:30 AM   #4
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Rep: Reputation: 1
hi,

if you are looking for sample squid.conf file to use and modify. I guess it's available in /usr/share/doc/squid.XXXX.conf. i use CentOS. i never used fedora much. try

Quote:
[root@server ~]# rpm -ql squid |grep squid.conf
/etc/httpd/conf.d/squid.conf
/etc/squid/squid.conf
/etc/squid/squid.conf.default
/usr/share/doc/squid-3.1.10/squid.conf.documented
I don't know if it works or not but give a trail.
 
Old 06-04-2013, 01:13 PM   #5
markotitel
Member
 
Registered: Feb 2009
Location: Titel - Serbia
Posts: 181

Rep: Reputation: 18
Post your default fedora squid.conf that you are not satisfied with, so we can see what is missing there.
 
Old 06-05-2013, 11:05 PM   #6
jatender2011
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
#
# Recommended minimum configuration:
#
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1

# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines

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

#
# Recommended minimum Access Permission configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager

# Deny requests to certain unsafe ports
http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

# We strongly recommend the following be uncommented to protect innocent
"squid.conf.default" 74L, 2425C
 
Old 06-10-2013, 07:37 AM   #7
markotitel
Member
 
Registered: Feb 2009
Location: Titel - Serbia
Posts: 181

Rep: Reputation: 18
Ok now , what do you want to achieve? What do you want to work and what not?
 
  


Reply



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
How to configure squid and squid.conf share with me please ? eikemoraes Linux - General 3 10-16-2012 05:34 PM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard laxmantsharma Linux - Software 1 02-24-2009 06:02 AM
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 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

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

All times are GMT -5. The time now is 12:55 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
Open Source Consulting | Domain Registration