Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-27-2005, 08:23 PM
|
#1
|
|
LQ Newbie
Registered: Oct 2004
Posts: 17
Rep:
|
using the squidguard blacklist
i have setup a transparent squid proxy with squidGuard, but i want to add my own blacklist, so i add my own domains.date.diif file in the blacklist folder i just put +domains and i run squidGuard -C all to create a new db file, but when i start the squid again the domains i enter is not been block. anyone can guide me ? one more thing is there any tool that can help to add and remove squidGuard list much more easier ? btw i using
mandrake 10.0
squid 2.5.STABLE4
squidGuard 1.2.0
i really appreciate any suggestion....
|
|
|
|
01-29-2005, 06:27 AM
|
#2
|
|
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188
Rep:
|
why dont u blok those domains trou squid?
it is much more easier. u wont have trouble when u update squidguard db.
in "squid.conf" :
acl bloked-doms dstdomain "/etc/squid/blocked-domains"
http_access deny blocked-doms
create "/etc/squid/blocked-domains" file and put the domains that u want to block, like this:
.domain1.com
.domain2.com
"." before domain name means that block including subdomains.
edit: "squidGuard -u" updates files using diff files. "-C all" just creates db files.
i hope this helps u.
good luck.
Last edited by maxut; 01-29-2005 at 06:30 AM.
|
|
|
|
01-30-2005, 11:20 PM
|
#3
|
|
LQ Newbie
Registered: Oct 2004
Posts: 17
Original Poster
Rep:
|
the reason i want to use squidGuard that it has a blacklist database, and quit good. and i try squidGuard -u and -C all but it seem not working, when i check the squidGuar log it updating the db. but when i try to browse using my browser the website still get through, is there any way i can use to check my squidGuard working properly or not. here my squidGuard log :
2005-01-31 10:36:05 [4767] init domainlist /usr/share/squidGuard-1.2.0/db/porn/domains
2005-01-31 10:36:05 [4767] loading dbfile /usr/share/squidGuard-1.2.0/db/porn/domains.db
2005-01-31 10:36:05 [4767] init urllist /usr/share/squidGuard-1.2.0/db/porn/urls
2005-01-31 10:36:05 [4767] loading dbfile /usr/share/squidGuard-1.2.0/db/porn/urls.db
2005-01-31 10:36:05 [4767] init expressionlist /usr/share/squidGuard-1.2.0/db/porn/expressions
2005-01-31 10:36:05 [4767] init domainlist /usr/share/squidGuard-1.2.0/db/adult/domains
2005-01-31 10:36:05 [4767] loading dbfile /usr/share/squidGuard-1.2.0/db/adult/domains.db
2005-01-31 10:36:05 [4767] init urllist /usr/share/squidGuard-1.2.0/db/adult/urls
2005-01-31 10:36:05 [4767] loading dbfile /usr/share/squidGuard-1.2.0/db/adult/urls.db
2005-01-31 10:36:05 [4767] init expressionlist /usr/share/squidGuard-1.2.0/db/adult/expressions
2005-01-31 10:36:05 [4767] init domainlist /usr/share/squidGuard-1.2.0/db/gambling/domains
2005-01-31 10:36:05 [4767] loading dbfile /usr/share/squidGuard-1.2.0/db/gambling/domains.db
2005-01-31 10:36:05 [4767] init urllist /usr/share/squidGuard-1.2.0/db/gambling/urls
2005-01-31 10:36:05 [4767] loading dbfile /usr/share/squidGuard-1.2.0/db/gambling/urls.db
2005-01-31 10:36:05 [4767] init domainlist /usr/share/squidGuard-1.2.0/db/warez/domains
2005-01-31 10:36:05 [4767] loading dbfile /usr/share/squidGuard-1.2.0/db/warez/domains.db
2005-01-31 10:36:05 [4767] init urllist /usr/share/squidGuard-1.2.0/db/warez/urls
2005-01-31 10:36:05 [4767] loading dbfile /usr/share/squidGuard-1.2.0/db/warez/urls.db
2005-01-31 10:36:05 [4767] init domainlist /usr/share/squidGuard-1.2.0/db/linux/domains
2005-01-31 10:36:05 [4767] loading dbfile /usr/share/squidGuard-1.2.0/db/linux/domains.db
2005-01-31 10:36:05 [4767] squidGuard 1.2.0 started (1107138965.546)
2005-01-31 10:36:05 [4767] db update done
2005-01-31 10:36:05 [4767] squidGuard stopped (110713yyopped (1107138965.644)
|
|
|
|
01-30-2005, 11:24 PM
|
#4
|
|
LQ Newbie
Registered: Oct 2004
Posts: 17
Original Poster
Rep:
|
btw anyone know any tool, or web tool to help add and remove squidGuard list.
|
|
|
|
02-01-2005, 11:05 AM
|
#5
|
|
Member
Registered: Sep 2004
Location: Salt Lake City, UT
Distribution: Debian Sarge
Posts: 93
Rep:
|
redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
Make sure that is in squid.conf.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:24 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|