LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-22-2012, 08:47 AM   #1
fedora10
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Rep: Reputation: 0
squidGuard whitelist


Good Day ,

I have Squid and Squidguard running but no matter what I do I cannot seem to get my whitelists working well.

in squidGaurd I creat this:

Code:
dest whitelists {
 domainlist      whitelists/domainlist
 urllist         whitelists/urllist
}
my question is when I will create the whitelist file the path ?

I tried with this way :

Quote:
mkdir -p /var/squidGuard/whitelists
gedit /var/squidGuard/whitelists/urllist
gedit /var/squidGuard/whitelists/domainlist
and inside the urllist I put .yahoo.fr and inside the domainlist .yahoo.fr

Quote:
Admin {
pass whitelists !all
redirect http://10.0.0.1/index.html
}
but is not working if I didi like that they can access to all the website not just in yahoo .

I ask you kindly if you can help me I will be thankful , I m blocked 2 weeks ago trying deferent things .

Many Thanks

Regards

Last edited by fedora10; 05-22-2012 at 10:11 AM.
 
Old 05-23-2012, 10:06 PM   #2
nixblog
Member
 
Registered: May 2012
Posts: 426

Rep: Reputation: 53
Try this maybe,

Code:
dest whitelists {
 domainlist      whitelists/domains
 urllist         whitelists/urls
}
In /var/squidGuard/whitelists, either create two news files called domains and urls (or rename the current files to match). Edit these new files with your domain and url content for whitelisting. Once done issue the following command,

Code:
squidGuard -C all
I assume your "Admin" group has a src definition for the acl section,

Code:
acl {
     Admin {
       pass whitelists !all
       redirect http://10.0.0.1/index.html
     }
     default {
       pass none
       redirect http://10.0.0.1/index.html
     }
}
If you haven't done so already, read through squidguard docs
 
Old 07-10-2017, 01:32 AM   #3
CaptainDerp
LQ Newbie
 
Registered: Mar 2013
Posts: 27

Rep: Reputation: Disabled
Whitelists

There are some 64+ pretty useful free whitelists over here at http://whitelists.squidblacklist.org
 
Old 07-10-2017, 09:59 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Hi CaptainDerp,

Suggest what you do is rather than resurrect various old pots would be to instead create a new thread with your thoughts and reference the various older posts.

Best Regards.
 
  


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
SquidGuard: include some config file in squidGuard.conf toure32 Linux - Server 1 04-12-2011 02:10 PM
Does Squidguard support wildcards for a whitelist? bigjohn888jb Linux - Software 2 03-21-2009 12:04 PM
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 01:24 PM
Whitelist mahmoud Linux - General 2 06-27-2008 06:50 AM
Whitelist kool_kid Red Hat 6 07-05-2007 12:08 PM

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

All times are GMT -5. The time now is 12:13 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