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
10 More Discussions You Might Find Interesting
1. OS X (Apple)
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
2. Programming
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
3. UNIX for Advanced & Expert Users
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
4. Red Hat
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
5. UNIX for Dummies Questions & Answers
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
6. Shell Programming and Scripting
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
7. AIX
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
10. BSD
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
LEARN ABOUT DEBIAN
squid_session
squid_session(8) System Manager's Manual squid_session(8)
NAME
squid_session - Squid session tracking external acl group helper
SYNOPSIS
squid_session [-t idle_timeout] [-b dbpath] [-a]
DESCRIPTION
This helper maintains a concept of sessions by monitoring requests and timing out sessions if no requests have been seen for the idle time-
out timer.
Intended use is for displaying "terms of use" pages, ad popups etc.
-t idletimeout (default 3600)
Specifies the session idle timeout timer.
-b dbpath
Path to persistent database. If not specified the session details will be kept in memory only and all sessions will reset each time
Squid restarts it's helpers (Squid restart or rotation of logs).
-a Active mode. In this mode sessions are started by evaluating an acl with the argument LOGIN, or terminated by the argument LOGOUT.
Without this flag the helper automatically starts the session after the first request.
EXAMPLE
Configuration example using the default automatic mode
external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/squid_session
acl session external session
http_access deny !session
deny_info http://your.server/bannerpage?url=%s session
Then set up http://your.server/bannerpage to display a session startup page and then redirect the user back to the requested URL given in
the url query parameter.
AUTHOR
This helper and documentation was written by Henrik Nordstrom <henrik@henriknordstrom.net>
QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org>.
REPORTING BUGS
Report bugs or bug-fixes to Squid Bugs <squid-bugs@squid-cache.org> or ideas for new improvements to Squid Developers <squid-dev@squid-
cache.org>
SEE ALSO
squid(8)
Version 1.0 19 March 2006 squid_session(8)