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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-27-2005, 09: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, 07: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 07:30 AM.
|
|
|
01-31-2005, 12:20 AM
|
#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-31-2005, 12:24 AM
|
#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, 12:05 PM
|
#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.
|
|
|
All times are GMT -5. The time now is 05:47 PM.
|
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
|
|