Dynamic filtering with dansguardian


 
Thread Tools Search this Thread
Special Forums Cybersecurity Dynamic filtering with dansguardian
# 1  
Old 10-08-2007
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  
Old 10-09-2007
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 Smilie
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  
Old 10-09-2007
SmilieSmilieSmilie 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

RossellaSmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

Can't install Dansguardian in 9.2-RELEASE-p2

Hi Guys, I'm a FreeBSD newbie with some basic Linux experience. I have installed FreeBSD 9.2 with Squid and IPFW but am struggling to get dansguardian working. I have also installed apache24 which I believe is a pr-requisite dependency and that seems to be running happily enough I have... (0 Replies)
Discussion started by: andyh2451
0 Replies

2. Shell Programming and Scripting

Need help on filtering

Hi experts, I have a file image.csv as below: COMPUTERNAME,23/07/2013,22/07/2013,21/07/2013,20/07/2013,19/07/2013,18/07/2013,17/07/2013 AED03852180,3,3,3,3,3,3,3 AED03852181,3,3,3,3,3,3,1 AED09020382,3,0,3,0,3,3,3 AED09020383,1,3,3,3,2,1,3 AED09020386,3,3,0,3,3,0,3 ... (4 Replies)
Discussion started by: zaq1xsw2
4 Replies

3. Shell Programming and Scripting

Filtering

Hi I am interested in DNS resolving a set of sites and each time the output is different- $ host www.yahoo.com www.yahoo.com is an alias for fd-fp3.wg1.b.yahoo.com. fd-fp3.wg1.b.yahoo.com is an alias for ds-fp3.wg1.b.yahoo.com. ds-fp3.wg1.b.yahoo.com is an alias for... (1 Reply)
Discussion started by: jamie_123
1 Replies

4. AIX

Need help with filtering

Hi!! I have a bit of a task here and filtering/scripting not my strongest. I have to collect info of approx 1100 hdiskpower.so i have appended all the hdisk into a text file and i need it to run the command lscfg -vl to confirm if the drive is symmetrix. here's what i have so far at... (3 Replies)
Discussion started by: vpundit
3 Replies

5. Shell Programming and Scripting

Please help me to do some filtering

I have to grep a pattern. scenario is like :- Suppose "/etc/sec/one" is a string, i need to check if this string contains "one" using any utility something like if /etc/sec/one | grep ; then Thanks in advance Renjesh Raju (3 Replies)
Discussion started by: Renjesh
3 Replies

6. UNIX for Dummies Questions & Answers

Filtering some columns

Hi, I would like to get some specific coloumns from from line. My line looks CcnCDRFile0-8380123164201007114335_2010-07-20_11:51:02:,,9963387265,,,,,00720105720,,-0.010,+101.785,+101.795,,,,1492,,,,0,... (3 Replies)
Discussion started by: kkarthik_kaja
3 Replies

7. Red Hat

Dansguardian Access rights

well hi to all The thing is I need to allow particular site to just one or 2 user not to everybody. Can anybody tell me how do i do it. If i put there ip in exception then whole Restriction would be bypassed which i dont want. Your Responses would be highly appreciated THANKS in ADVANCE (0 Replies)
Discussion started by: achtani_jeetu
0 Replies

8. UNIX for Advanced & Expert Users

Sql dynamic table / dynamic inserts

I have a file that reads File (X.txt) Contents of record 1: rdrDESTINATION_ADDRESS (String) "91 971502573813" rdrDESTINATION_IMSI (String) "000000000000000" rdrORIGINATING_ADDRESS (String) "d0 movies" rdrORIGINATING_IMSI (String) "000000000000000" rdrTRAFFIC_EVENT_TIME... (0 Replies)
Discussion started by: magedfawzy
0 Replies

9. Programming

Web server for dansguardian

Hi, I am currently doing a project to remove the dependency on a web server of dansguardian if anyone has any tips or points either on sections of code I need to modify or about how to build a very very simple web server. I would be very appreciative Thanks.. (4 Replies)
Discussion started by: cb.mark
4 Replies

10. OS X (Apple)

dansguardian

I've just Dl'd and installed the osxgnu package of danguardian and squid on my 10.2 machine, which is mainly used as a router/firewall (set up with brickhouse) And now I'm not quite sure what to do next...I have a speedtouch 330 USB ADSL modem and I share the connection via built in ethernet. ... (1 Reply)
Discussion started by: mistafeesh
1 Replies
Login or Register to Ask a Question