The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


Security Anything involving computer security goes here.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
awk and sed filtering invinzin21 Shell Programming and Scripting 2 01-10-2008 11:56 PM
awk filtering ? varungupta UNIX for Advanced & Expert Users 4 09-16-2007 11:55 PM
Web server for dansguardian cb.mark High Level Programming 4 11-10-2006 02:40 PM
Filtering out data ... videsh77 UNIX for Dummies Questions & Answers 1 12-29-2004 12:59 PM
dansguardian mistafeesh OS X (Apple) 1 09-17-2004 05:20 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-08-2007
Registered User
 

Join Date: Oct 2007
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Dynamic filtering with dansguardian

Hi everybody!
Sorry for my intrusion but I'd like to submit a problem which is driving me crazy!
To implement the application I'm working on I must set an application layer firewall,
consequently I've installed and configured on my machine Squid + Dansguardian vs 2.8
(I'm using Debianrelease 2.6.18 amd 64).
As further setting I enabled the mode "Blanked Block" on file "bannedsitelist" so that
only the connections whose url are in the file "exceptionsitelist" are allowed, while for the
other connections the message "Access Denied" is displayed.
My work is focused on writing a module for bypassing the message "Access Denied" by asking to the
user when receives the message if he wants to continue anyway. In case of agreeing the file
"exceptionsitelist" will be updated by including the new url.

Now, my problem is following: any time I write an istruction on the file exceptionsitelist,
I must restart dansguardian in order to apply the new instruction.
Is this tricky or normal? There is any way to run this new instruction without closing and restart
dansguardian?

I'd like to thank anyone could help me, please

Bye

Rossella
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-09-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,069
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Personally I haven't had the chance to work with this application, but restarting the application is common approach, for example to re-read the config file, or any other file that's being parsed. So, your concern is whether this is normal or not. Well, if this is the only chance to update the exceptionsitelist, I don't think you should worry, unless restart takes too much time. BTW, what kind of application is that, I mean, can you restart it just like "/etc/init.d/dansguardian restart" or it's more complicated ?
I spent some time at the dansguardian's site, have you looked at the source code or at the Extras page ? Is there something that would satisfy your needs ?
I understand that I'm not helping much with this post, just trying to point the thoughts in the right direction, hopefully
Given this flow, it just came on my mind how I apply new rules at /etc/sysctl.conf file - "sysctl -p", so you probably need something like this.
Reply With Quote
  #3 (permalink)  
Old 10-09-2007
Registered User
 

Join Date: Oct 2007
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
I'm solve my problem with thwe restart of dansguardian (really exist also the command reload)!
I'm look the script /etc/init.d/dansguardian, at the beginning my problem was associate restart = stop+start, instead restart effect a re-read of configuration file (that's not require very time)!

thank you very much for your attention

Rossella
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:52 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102