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
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.
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 ULTRIX
systemd-sysctl.service
SYSTEMD-SYSCTL.SERVICE(8) systemd-sysctl.service SYSTEMD-SYSCTL.SERVICE(8)
NAME
systemd-sysctl.service, systemd-sysctl - Configure kernel parameters at boot
SYNOPSIS
/lib/systemd/systemd-sysctl [OPTIONS...] [CONFIGFILE...]
systemd-sysctl.service
DESCRIPTION
systemd-sysctl.service is an early boot service that configures sysctl(8) kernel parameters by invoking /lib/systemd/systemd-sysctl.
When invoked with no arguments, /lib/systemd/systemd-sysctl applies all directives from configuration files listed in sysctl.d(5). If one
or more filenames are passed on the command line, only the directives in these files are applied.
In addition, --prefix= option may be used to limit which sysctl settings are applied.
See sysctl.d(5) for information about the configuration of sysctl settings. After sysctl configuration is changed on disk, it must be
written to the files in /proc/sys before it takes effect. It is possible to update specific settings, or simply to reload all
configuration, see Examples below.
OPTIONS
--prefix=
Only apply rules with the specified prefix.
-h, --help
Print a short help text and exit.
--version
Print a short version string and exit.
EXAMPLES
Example 1. Reset all sysctl settings
systemctl restart systemd-sysctl
Example 2. View coredump handler configuration
# sysctl kernel.core_pattern
kernel.core_pattern = |/libexec/abrt-hook-ccpp %s %c %p %u %g %t %P %I
Example 3. Update coredump handler configuration
# /lib/systemd/systemd-sysctl --prefix kernel.core_pattern
This searches all the directories listed in sysctl.d(5) for configuration files and writes /proc/sys/kernel/core_pattern.
Example 4. Update coredump handler configuration according to a specific file
# /lib/systemd/systemd-sysctl 50-coredump.conf
This applies all the settings found in 50-coredump.conf. Either /etc/sysctl.d/50-coredump.conf, or /run/sysctl.d/50-coredump.conf, or
/usr/lib/sysctl.d/50-coredump.conf will be used, in the order of preference.
See sysctl(8) for various ways to directly apply sysctl settings.
SEE ALSO
systemd(1), sysctl.d(5), sysctl(8),
systemd 237 SYSTEMD-SYSCTL.SERVICE(8)