LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-17-2008, 07:31 AM   #1
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Rep: Reputation: 15
Red face Configure Squid with SquidGuard on RHEL 4


I have configured the squid-2.5.STABLE6-3 with squidGuard-1.3 on RHEL4. The service is getting started successfully.

The problem is as follows :

I have typed the proxy id addr. & port in the proxy settings in browser. Now whenever i am typeing any url in browser, i have to enter a valid user-name and password for the proxy server. Here I am typeing the correct and valid password for the proxy but i am getting the same screen i.e.( asking the user-name and password ). This process continues 3 times and then a error page throws error as "ERROR : Cache Access Denied".

Can anybody please guide me in this regard ?

For authentication, I have used following lines in squid.conf

"auth_param basic program /usr/lib/squid/pam_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours".

The squidGaurd.conf file is as follows :

# CONFIG FILE FOR SQUIDGUARD
#

dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

dest porn {
domainlist BL/porn/domains
urllist BL/porn/urls
redirect http://mail.nic.in/
# redirect http://[redirectedwebsite]/
}

acl {

default {
pass !porn all
redirect http://mail.nic.in/
#redirect http://[redirectedwebsite]/
}
}


Kindly guide me in this regard.
 
Old 09-18-2008, 08:45 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,802

Rep: Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943
Quote:
Originally Posted by cjagdish69 View Post
I have configured the squid-2.5.STABLE6-3 with squidGuard-1.3 on RHEL4. The service is getting started successfully.

The problem is as follows :

I have typed the proxy id addr. & port in the proxy settings in browser. Now whenever i am typeing any url in browser, i have to enter a valid user-name and password for the proxy server. Here I am typeing the correct and valid password for the proxy but i am getting the same screen i.e.( asking the user-name and password ). This process continues 3 times and then a error page throws error as "ERROR : Cache Access Denied".

Can anybody please guide me in this regard ?

For authentication, I have used following lines in squid.conf

"auth_param basic program /usr/lib/squid/pam_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours".

Kindly guide me in this regard.
This page http://www.opensourcehowto.org/how-t...ntication.html has more info. You're missing the case-insensitive line, but you may not want that. There are other goodies you have to shove in there, too, that are outlined on that page.
 
Old 09-19-2008, 12:12 AM   #3
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Original Poster
Rep: Reputation: 15
Smile Squid Problem

Thanks for pointing me to the site opensourcehowto.org.

My problem is solved now.

Thanks for the kind co-operation.

- JAGDISH.



Quote:
Originally Posted by TB0ne View Post
This page http://www.opensourcehowto.org/how-t...ntication.html has more info. You're missing the case-insensitive line, but you may not want that. There are other goodies you have to shove in there, too, that are outlined on that page.
 
Old 09-19-2008, 08:26 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,802

Rep: Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943Reputation: 2943
Quote:
Originally Posted by cjagdish69 View Post
Thanks for pointing me to the site opensourcehowto.org.

My problem is solved now.

Thanks for the kind co-operation.

- JAGDISH.
Would you mind posting the solution, so that others may benefit as well?
 
  


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
Difference between squid and squidguard shan_nathan Linux - Server 3 04-25-2008 08:18 AM
Squid And Squidguard SBN Linux - Software 1 07-27-2006 05:21 AM
squid and squidguard metallica1973 Linux - Networking 5 12-07-2005 10:23 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
Can squid/squidguard be used to do this? Jeff D Linux - Newbie 2 01-13-2003 03:45 AM


All times are GMT -5. The time now is 10:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration