LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-15-2005, 03:01 PM   #1
mattp
Member
 
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:
/usr/local/squid/bin

So we created the cache manually at:
/usr/local/squid/cache

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
mattp
Member
 
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 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 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
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
jason.rohde
Member
 
Registered: Aug 2005
Location: Chicago
Distribution: RHEL5,CENTOS
Posts: 62

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


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:47 PM.

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