Re: [VGLUG] Re: squid Guard problem

52 views
Skip to first unread message

niraj vara

unread,
Jul 29, 2009, 7:19:57 AM7/29/09
to VG...@googlegroups.com
Please check the following entry in squid.conf file

redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf


On Wed, Jul 29, 2009 at 4:46 PM, Ganesh Ghube <ganesh...@gmail.com> wrote:
find below squidguard file

# Squid Guard config file

#-------------------------

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

# DESTINATIONS
dest books {
        domainlist books/domains
        urllist books/urls
        log /usr/local/squidGuard/log/blocked.log
}

#dest porn {
#        domainlist porn/domains
#        urllist porn/urls
#        log /var/log/squidGuard/blocked.log
#}


# ACCESS CONTROL LISTS
acl {
        default {
                pass !books all
                redirect http://192.168.200.40

              }
}
Best wishes & Regards,

Ganesh :-)

“Winning doesn’t always mean being first, winning means you are doing better
than you have done before!



On Wed, Jul 29, 2009 at 4:30 PM, Ganesh Ghube <ganesh...@gmail.com> wrote:

Hi All,

Squid Guard is started successfully .... please chk below log details for /var/log/message

Jul 29 15:58:00 firewall3 squid[4166]: Squid Parent: child process 4168 exited with status 0
Jul 29 15:58:01 firewall3 squid[4290]: Squid Parent: child process 4292 started
Jul 29 16:27:14 firewall3 squid[4290]: Squid Parent: child process 4292 exited with status 0
Jul 29 16:27:15 firewall3 squid[4402]: Squid Parent: child process 4404 started

squid-guard configured properly  below are log details

2009-07-29 16:28:04 [4420] New setting: logdir: /usr/local/squidGuard/log
2009-07-29 16:28:04 [4420] New setting: dbhome: /usr/local/squidGuard/db
2009-07-29 16:28:04 [4420] init domainlist /usr/local/squidGuard/db/books/domains
2009-07-29 16:28:04 [4420] loading dbfile /usr/local/squidGuard/db/books/domains.db
2009-07-29 16:28:04 [4420] domainlist empty, removed from memory
2009-07-29 16:28:04 [4420] init urllist /usr/local/squidGuard/db/books/urls
2009-07-29 16:28:04 [4420] loading dbfile /usr/local/squidGuard/db/books/urls.db
2009-07-29 16:28:04 [4420] urllist empty, removed from memory
2009-07-29 16:28:04 [4420] squidGuard 1.4 started (1248865084.207)
2009-07-29 16:28:04 [4420] squidGuard ready for requests (1248865084.209)


db created properly in db folder

but when I given a domain name in proxy server which is blocked by squidguard it works !!!!!!!!  it means it is not configured properly  I am in trouble where is the problem in squid Guard....

http://www.linux-tip.net/cms/content/view/294/26/

http://felipeferreira.net/?p=240



Best wishes & Regards,

Ganesh :-)

“Winning doesn’t always mean being first, winning means you are doing better
than you have done before!”







--
Niraj M. Vara
Linux Administrator
Indian  Institute of Management  Ahmedabad
Mobile : 9898221954

"DON'T TELL ME THE SKY IS THE LIMIT, THERE ARE FOOTPRINTS ON THE MOON"

niraj vara

unread,
Jul 29, 2009, 7:31:02 AM7/29/09
to VG...@googlegroups.com

The following entry sud be in squid.conf

redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf

Which Os do you have ?

On Wed, Jul 29, 2009 at 4:56 PM, Ganesh Ghube <ganesh...@gmail.com> wrote:
entry already given but @ last of squid guard file 

redirect_children 8
redirector_bypass on
redirect_program /usr/local/squidGuard/bin/squidGuard  -c /usr/local/squidguard/squidGuard.conf

niraj vara

unread,
Jul 29, 2009, 8:45:12 AM7/29/09
to VG...@googlegroups.com
when you install the squidGuard rpm, it created the one entry in squid.conf automatically that  I have mentioned above, if that line not in squid.conf then we have to add that line into the squid.conf manually.

then u have to run the following command to  update the database of squidGuard
squidGuard -C all

On Wed, Jul 29, 2009 at 5:01 PM, Ganesh Ghube <ganesh...@gmail.com> wrote:
cent os 5.2

2.7.7 Berkerly DB installed

niraj vara

unread,
Jul 29, 2009, 8:57:30 AM7/29/09
to VG...@googlegroups.com
no need to reinstall
please check the  path is proper or not of your entry

redirect_program /usr/local/squidGuard/bin/squidGuard  -c /usr/local/squidguard/squidGuard.conf




On Wed, Jul 29, 2009 at 6:19 PM, Ganesh Ghube <ganesh...@gmail.com> wrote:
Hi niraj,

Thanks  for reply  I have installed squidguard by using binary. I have manually created the squid guard entry in squid.conf.  

will you please guide me I shall again reinstall squidguard

Please let me know how should I go ahead....

niraj vara

unread,
Jul 29, 2009, 9:17:42 AM7/29/09
to VG...@googlegroups.com
Please try this

http://rapidshare.com/files/132682044/squidguard_1.rar

http://rapidshare.com/files/132684096/squidguard_2.rar
http://rapidshare.com/files/132684771/squidguard_3.rar
http://rapidshare.com/files/132685156/squidguard_4_blacklists.rar


On Wed, Jul 29, 2009 at 6:40 PM, Ganesh Ghube <ganesh...@gmail.com> wrote:
Hi Niraj,

I have seen the path it is properly setted yaar it is showing child processes...  see below.....



[root@firewall3 ~]# ps aux | grep squid
root      5045  0.0  0.0   2588   752 pts/0    T    18:40   0:00 squidGuard -d
root      5098  0.0  0.1   7752  1236 ?        Ss   18:40   0:00 squid -D
squid     5100  0.1  0.6  10256  6252 ?        S    18:40   0:00 (squid) -D
squid     5102  0.0  0.0   2828   900 ?        Ss   18:40   0:00 (squidGuard) -C /usr/local/squidGuard/squidGuard.conf
squid     5103  0.0  0.0   2824   892 ?        Ss   18:40   0:00 (squidGuard) -C /usr/local/squidGuard/squidGuard.conf
squid     5104  0.0  0.0   2824   892 ?        Ss   18:40   0:00 (squidGuard) -C /usr/local/squidGuard/squidGuard.conf
squid     5105  0.0  0.0   2824   896 ?        Ss   18:40   0:00 (squidGuard) -C /usr/local/squidGuard/squidGuard.conf
squid     5106  0.0  0.0   2820   888 ?        Ss   18:40   0:00 (squidGuard) -C /usr/local/squidGuard/squidGuard.conf
squid     5107  0.0  0.0   2824   892 ?        Ss   18:40   0:00 (squidGuard) -C /usr/local/squidGuard/squidGuard.conf
squid     5108  0.0  0.0   2820   888 ?        Ss   18:40   0:00 (squidGuard) -C /usr/local/squidGuard/squidGuard.conf
squid     5109  0.0  0.0   2820   888 ?        Ss   18:40   0:00 (squidGuard) -C /usr/local/squidGuard/squidGuard.conf
squid     5110  0.0  0.0   1508   220 ?        Ss   18:40   0:00 (unlinkd)
root      5113  0.0  0.0   2584   744 pts/0    T    18:40   0:00 squidGuard -d
root      5119  0.0  0.0   3912   668 pts/0    S+   18:41   0:00 grep squid

Dhaval Soni

unread,
Jul 29, 2009, 10:18:11 AM7/29/09
to VG...@googlegroups.com
What is this?

Amazing...!!!!

On Wed, Jul 29, 2009 at 7:46 PM, Ganesh Ghube <ganesh...@gmail.com> wrote:
hi niraj,

wo hindi wali hain kya videos ???

pakistan wali  





--
Kind regards,
Dhaval Soni

Cell: +91-966.202.9620
***************************
According to Mahatma Gandhi: "First they ignore you, then they laugh at you, then they fight you, then you win." So by that reckoning, it must be pretty much 'job done' for free software...!

"Computers are like air conditioners: They stop working when you open WindowZ."

Wiki: https://fedoraproject.org/wiki/User:Sonidhaval
Blog: http://linuxon-line.blogspot.com/
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages