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.
|
 |
04-22-2006, 01:06 PM
|
#1
|
Member
Registered: Oct 2005
Location: Bangladesh
Posts: 504
Rep:
|
Sites Restricted using DansGuardian
Dear Friend ,
Suppose i have a linux Server where 5 (five) clients are connected through my Server.
Here One client wants to browse every sites and others want to browse just 4 mailing sites Like
yahoo,hotmail,Aol and Gmail . Now for this regards i can use SquidGuard where i can restricted the
following sites for spcified users .
But i want to do this job by DansGuardian . Is it possible to do this job using DansGuardian , not
using SquidGuard ? If it is possible then plz inform me ...........THX..........
|
|
|
04-23-2006, 02:33 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
in your dansguardian.conf there should be an option called "filtergroups"... it lets you create special confs for different users and groups of users... perhaps you should look into that...
http://contentfilter.futuragts.com/w..._Configuration
|
|
|
04-23-2006, 07:25 AM
|
#3
|
Member
Registered: Oct 2005
Location: Bangladesh
Posts: 504
Original Poster
Rep:
|
Dear win32sux ,
Here ur advice will help me to block maximum porn or others site for some particular users . But if i want to ALLOW (not block) some (like just 3) website like yahoo,msn and hotmail , then what configuration i have need to be changed ?
Is it possible using the above configuration u have said ? if not ,then plz inform me for this purpose what necessary changes has to be needed in the configuration file ?
Thx...........
|
|
|
04-23-2006, 01:09 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
look in your bannedsitelist file...
Quote:
#Blanket Block. To block all sites except those in the
#exceptionsitelist and greysitelist files remove
#the # from the next line to leave only a '**':
#**
|
|
|
|
04-27-2006, 12:24 AM
|
#5
|
Member
Registered: Oct 2005
Location: Bangladesh
Posts: 504
Original Poster
Rep:
|
DansGuardian Problem
Dear win32sux ,
Sorry for disturb. Accrding ur advice , I have configure "bannedsitelist" . i have written in "exceptionsitelist " , just 3 address like yahoo.com , hotmail.com , gmail.com .
So according to my configuration , my client can get access just these 3 sites . But there has a problem . My client can browse just yahoo.com . But can't access into hotmail and gmail account . Although hotmail and Gmail have entered into "exceptionsitelist " neverthless When they start browsing these pages, then it is showed "Access Has Been Denied " .They can only browse yahoo.com . I don't understand what is the problem ?
Can u help me plz and inform what is the problem ?
Thx..........
|
|
|
04-27-2006, 02:36 AM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by shipon_97
Dear win32sux ,
Sorry for disturb. Accrding ur advice , I have configure "bannedsitelist" . i have written in "exceptionsitelist " , just 3 address like yahoo.com , hotmail.com , gmail.com .
So according to my configuration , my client can get access just these 3 sites . But there has a problem . My client can browse just yahoo.com . But can't access into hotmail and gmail account . Although hotmail and Gmail have entered into "exceptionsitelist " neverthless When they start browsing these pages, then it is showed "Access Has Been Denied " .They can only browse yahoo.com . I don't understand what is the problem ?
Can u help me plz and inform what is the problem ?
Thx..........
|
i think it's because of URL redirections and stuff... like, i just tried going to hotmail.com and i was redirected twice... once to passport.com and then to live.com... you probably need to check your dansguardian logfile to see the URLs which are being blocked and then add the relevant addresses to the exceptionlist... passport.com, login.live.com, msn.com, etc, etc, etc... for google you'd probbably wanna add mail.google.com or something like that, but check your logfile to be sure...
Last edited by win32sux; 04-28-2006 at 01:55 AM.
|
|
|
All times are GMT -5. The time now is 03:51 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
|
|