Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-15-2005, 03:01 PM   #1
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Rep: Reputation: 30
Setting up Squid 2.4 on Mandria 10

We are tring to set up our Mandria 10 distro as a proxy. We are going with Squid 2.4 as our software of choice.

We have done the following steps:

Complied ("make" and "make install") Squid - No Errors
Created user and group "Squid"
We tried to run squid -z as our tutorial instructed but it is not found in:

So we created the cache manually at:

And used Chown to change ownership of the file to "Squid"

Then we ran ./RunCache & which yeilded errors.

Looking into the error log, it told us that we need to set visible_hostname in the squid.conf file.

We did this by addind the line:

visible_hostname arltoyproxy

But we still get the error. Is there anything we need to run/restart to get squid to pick up the change?

Thanks in advance.
Old 08-15-2005, 03:15 PM   #2
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Original Poster
Rep: Reputation: 30
Here is the output of squid.conf without comments


hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /usr/local/squid/cache 100 16 256
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src
acl manager proto cache_object
acl localhost src
acl to_localhost dst
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
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
visible_hostname arltoyproxy
coredump_dir /usr/local/squid/var/cache
Old 08-16-2005, 02:58 PM   #3
Registered: Aug 2005
Location: Chicago
Distribution: RHEL5,CENTOS
Posts: 62

Rep: Reputation: 15
Matt could you email me the PDF you got


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
setting download limit in squid proxy jomy Linux - Networking 2 12-06-2004 07:13 AM
Setting up Squid 2.5 for Internet Cafe sanDiablis Linux - Networking 1 06-16-2004 09:40 PM
help setting squid kefen Linux - Networking 1 03-02-2004 04:59 AM
Setting up Redhat squid gateway with dual NICs wrathyimp Linux - Networking 13 06-12-2003 11:54 PM
help me in setting squid proxy sanam Linux - Networking 1 03-01-2003 09:38 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:40 AM.

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