The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-08-2007
rossella rossella is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 2
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
  #2 (permalink)  
Old 10-09-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
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.
  #3 (permalink)  
Old 10-09-2007
rossella rossella is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 2
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate 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

BB 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 -4. The time now is 01:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0