Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-24-2008, 02:39 AM   #1
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Rep: Reputation: 15
SquidGuard - Building Database from urls & domains

I am trying to build database for squidGuard from urls and domains. But while building the server hangs, neither reports any errors on screen not in squidGuard.log file.

The details are as follows :

I am using CentOS 5, squid-2.6.STABLE6-3.el5, squidGuard-1.3(downloaded the source and compiled with BerkeleyDB(db-4.7.25)),RAM 512 MB.

The squidGuard.conf file is as under :
dbhome /usr/local/squidGuard/db/BL
logdir /usr/local/squidGuard/log
source nicstf {
user chunky
source hcstf {
user jagdish
source admin {
# ip
destination nic {
urllist nic.desturllist
domainlist nic.destdomainlist
dest adv{
log adv
domainlist adv/domains
urllist adv/urls
dest aggressive{
log aggressive
domainlist aggressive/domains
urllist aggressive/urls
dest automobile{
log automobile
domainlist automobile/cars/domains
urllist automobile/cars/urls
domainlist automobile/boats/domains
urllist automobile/boats/urls
domainlist automobile/bikes/domains
urllist automobile/bikes/urls
domainlist automobile/planes/domains
urllist automobile/planes/urls
dest chat{
log chat
domainlist chat/domains
urllist chat/urls
dest dating{
log dating
domainlist dating/domains
urllist dating/urls
dest drugs{
log drugs
domainlist drugs/domains
urllist drugs/urls
dest dynamic{
log dynamic
domainlist dynamic/domains
urllist dynamic/urls
dest finance{
log finance
domainlist finance/realestate/domains
urllist finance/realestate/urls
domainlist finance/other/domains
urllist finance/other/urls
domainlist finance/banking/domains
urllist finance/banking/urls
domainlist finance/moneylending/domains
urllist finance/moneylending/urls
domainlist finance/insurance/domains
urllist finance/insurance/urls
dest gamble{
log gamble
domainlist gamble/domains
urllist gamble/urls
dest hacking{
log hacking
domainlist hacking/domains
urllist hacking/urls
dest hobby{
log hobby
domainlist hobby/games/domains
urllist hobby/games/urls
dest hospitals{
log hospitals
domainlist hospitals/domains
urllist hospitals/urls
dest imagehosting{
log imagehosting
domainlist imagehosting/domains
urllist imagehosting/urls
dest isp{
log isp
domainlist isp/domains
urllist isp/urls
dest jobsearch{
log jobsearch
domainlist jobsearch/domains
urllist jobsearch/urls
dest military{
log military
domainlist military/domains
urllist military/urls
dest models{
log models
domainlist models/domains
urllist models/urls
dest movies{
log movies
domainlist movies/domains
urllist movies/urls
dest music{
log music
domainlist music/domains
urllist music/urls
dest news{
log news
domainlist news/domains
urllist news/urls
dest podcasts{
log podcasts
domainlist podcasts/domains
urllist podcasts/urls
dest politics{
log politics
domainlist politics/domains
urllist politics/urls
dest recreation{
log recreation
domainlist recreation/travel/domains
urllist recreation/travel/urls
domainlist recreation/sports/domains
urllist recreation/sports/urls
domainlist recreation/humor/domains
urllist recreation/humor/urls
domainlist recreation/wellness/domains
urllist recreation/wellness/urls
dest religion{
log religion
domainlist religion/domains
urllist religion/urls
dest remotecontrol{
log remotecontrol
domainlist remotecontrol/domains
urllist remotecontrol/urls
dest ringtones{
log ringtones
domainlist ringtones/domains
urllist ringtones/urls
dest searchengines{
log searchengines
domainlist searchengines/domains
urllist searchengines/urls
dest sex{
log sex
domainlist sex/lingerie/domains
urllist sex/lingerie/urls
dest shopping{
log shopping
domainlist shopping/domains
urllist shopping/urls
dest socialnet{
log socialnet
domainlist socialnet/domains
urllist socialnet/urls
dest spyware{
log spyware
domainlist spyware/domains
urllist spyware/urls
dest tracker{
log tracker
domainlist tracker/domains
urllist tracker/urls
dest violence{
log violence
domainlist violence/domains
urllist violence/urls
dest warez{
log warez
domainlist warez/domains
urllist warez/urls
dest weapons{
log weapons
domainlist weapons/domains
urllist weapons/urls
dest webphone{
log webphone
domainlist webphone/domains
urllist webphone/urls
dest webradio{
log webradio
domainlist webradio/domains
urllist webradio/urls
dest webtv{
log webtv
domainlist webtv/domains
urllist webtv/urls
dest porn{
log porn
domainlist porn/domains
urllist porn/urls
acl {
pass all
redirect 302:#http://localhost.localdomain/cgi-bin...roup=%t&url=%u
hcstf {
pass none
# pass nic mail none
# redirect 302:
redirect 302:#http://localhost.localdomain/cgi-bin...roup=%t&url=%u
default {
pass nicstf !hcstf !adv !aggressive !automobile !chat !dating !drugs !dynamic !finance !gamble !hacking !hobby !hospitals !imagehosting !isp !jobsearch !military !models !movies !music !news !podcasts !politics !porn !recreation ! religion !remotecontrol !ringtones !searchengines !sex !shopping !socialnet !spyware !tracker !violence !warez !weapons !webphone !webradio !webtv all
redirect 302:http://localhost.localdomain/cgi-bin...roup=%t&url=%u
# redirect 302:http://localhost.localdomain/cgi-bin...lass=%t&url=%u
-----------------end of squidGuard.conf---------------------
The output of squidGuard -V is :
"squidGuard : 1.3 Berkeley DB 4.7.25: (May 15,2008)"

Can anybody please guide me in this regard. What is wrong I am doing ?




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
Squid & squidGuard configuration aneeshn Linux - Server 1 08-27-2008 03:09 AM
building a database cm1967 Linux - General 3 02-22-2008 09:00 AM
Squid & SquidGuard kool_kid Red Hat 1 07-10-2007 04:20 PM
squidguard not loading domains and urls file into memory dsids Linux - Newbie 0 01-19-2007 06:02 AM
Sub Domains & Multiple Domains (Apache) lugos Linux - Server 1 09-01-2006 11:22 PM

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

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