LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2003, 02:32 AM   #1
80s
Member
 
Registered: Dec 2002
Location: Pretoria South Africa
Distribution: Mandrake 8.1 & 9 Debian Woody
Posts: 41

Rep: Reputation: 15
SquidGuard not blocking sights


Hi there Please Help..

I trying to settup squidguard but it's not blocking sights.
It's not generating any log entries ether ??

Here is a copy of the squidGuard.conf file ....

# CONFIGURATION DIRECTORIES
dbhome /home/squidGuard/db
logdir /home/squidGuard/logs



# SOURCE ADDRESSES:
#src privilegedsource {
# iplist 192.168.200.245 192.168.200.257
#}

src lansource {
iplist 192.168.200.0/16
}

# DESTINATION CLASSES:
dest porn {
domainlist porn/domains
urllist porn/urls
expressionlist porn/expressions
log /home/squidGuard/logs/porn.log
}

dest adult {
domainlist adult/domains
urllist adult/urls
expressionlist adult/expressions
log /home/squidGuard/logs/adult.log
}

dest audio-video {
domainlist audio-video/domains
urllist audio-video/urls
log /home/squidGuard/logs/audio_video.log
}

dest forums {
domainlist forums/domains
urllist forums/urls
expressionlist forums/expressions
log /home/squidGuard/logs/forums.log
}

dest hacking {
domainlist hacking/domains
urllist hacking/urls
log /home/squidGuard/logs/hacking.log
}

dest redirector {
domainlist redirector/domains
urllist redirector/urls
expressionlist redirector/expressions
log /home/squidGuard/logs/redirector.log
}

dest warez {
domainlist warez/domains
urllist warez/urls
log /home/squidGuard/logs/warez.log
}

dest ads {
domainlist ads/domains
urllist ads/urls
log /home/squidGuard/logs/ads.log
}

dest aggressive {
domainlist aggressive/domains
urllist aggressive/urls
log /home/squidGuard/logs/aggressive.log
}

dest drugs {
domainlist drugs/domains
urllist drugs/urls
log /home/squidGuard/logs/drugs.log
}

dest gambling {
domainlist gambling/domains
urllist gambling/urls
log /home/squidGuard/logs/gambling.log
}

dest publicite {
domainlist publicite/domains
urllist publicite/urls
expressionlist publicite/expressions
log /home/squidGuard/logs/publicite.log
}

dest violence {
domainlist violence/domains
urllist violence/urls
expressionlist violence/expressions
log /home/squidGuard/logs/violence.log
}


dest banneddestination {
domainlist banneddestination/domains
urllist banneddestination/urls
expressionlist banneddestination/expressions
log /home/squidGuard/logs/banneddestination.log
}

dest advertising {
domainlist advertising/domains
urllist advertising/urls
redirect http://127.0.0.1/cgi-bin/nulbanner.png
log /home/squidGuard/logs/advertising.log


}

# ACLs
acl {
privilegedsource {
pass !advertising all
redirect http://127.0.0.1/cgi-bin/squidGuard....lass=%t&url=%u

}


lansource {
pass !adult !audio-video !forums !hacking !redirector !warez !ads !aggressive !drugs !gambling !publicite !violence !banneddestination !advertising all
redirect http://127.0.0.1/cgi-bin/squidGuard....lass=%t&url=%u
}


default {
pass none
redirect http://127.0.0.1/cgi-bin/squidGuard....lass=%t&url=%u

}
}


Thanks
 
Old 01-20-2004, 06:39 AM   #2
tazman
LQ Newbie
 
Registered: Jan 2003
Location: NJ, USA
Distribution: Redhat X.X
Posts: 4

Rep: Reputation: 0
Check all the files permissions, squid should be the owner and group.
chown -R squid "dir";^own^grp

Ted
 
Old 02-28-2004, 09:15 PM   #3
kbrian38
LQ Newbie
 
Registered: Nov 2003
Location: Philippines
Distribution: RedHat Linux 9
Posts: 17

Rep: Reputation: 0
I could Suggest to simplify the sites to block during testing. Makesure you use The right BerkelyDB version.
 
  


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
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 01:24 PM
SquidGuard is not blocking anything vivekthemind Linux - Networking 2 12-05-2005 10:45 PM
sights that want windows media in Linux firefox AhYup Linux - Software 2 10-11-2005 03:33 PM
Squidguard sanjibgupta Linux - Security 1 09-26-2005 01:47 AM
squidguard metallica1973 Linux - Security 5 05-24-2005 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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