LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Disabling logging in Firestarter (https://www.linuxquestions.org/questions/linux-software-2/disabling-logging-in-firestarter-305175/)

lokee 03-23-2005 02:20 PM

Disabling logging in Firestarter [SOLVED]
 
Hi,
The problems is that firestarter fills my "/var/log/messages" with unnessary logging of event and thus, consumes much more ressources than needed.
I've been looking around the system's config files and the internet but found nothing.
I use firestarter 1.0.3.

Here's an example:
Code:

Inbound IN=ppp0 OUT= MAC= SRC=81.57.18.5 DST=216.239.84.221 LEN=53 TOS=0x00 PREC=0x00 TTL=56 ID=0 DF PROTO=UDP SPT=4666 DPT=4666 LEN=33
Thanks in advance.

PS: If you don't understand why this bugs me, it's because I forgot to mention an event pops up every 1s. ;)
Worst is; most of them aren't serious attacks...

lokee 03-28-2005 02:40 PM

Hi, I've just found the solution.
Open "/etc/firestarter/configuration".
And modify this line(located at the end):
Code:

LOG_LEVEL=info
To look like this:
Code:

LOG_LEVEL=none
This will completely turn logging off(nothing in the 'events' tab of the GUI, nothing in /var/log/messages, nothing anywhere).

Details:
Acceptable values for LOG_LEVEL are:
-info: log warning + errors + events
-debug: log debugging info
-warning: only log warnings
-low: don't log too much(as you guessed; I don't know this one)

waster 01-11-2009 06:53 AM

config file is re-written
 
The configuration file at

/etc/firestarter/configuration

is read-only and re-written on restart, so the logging changes are lost and it resumes spewing out a load of nonsense. The best fix at the moment is probably to turn down all debug logging on the machine.

oobe 04-24-2009 12:02 PM

i noticed the same thing put this line in your /etc/rc.local or some other startup script

sed -i 's/info/none/g' /etc/firestarter/configuration


All times are GMT -5. The time now is 08:43 PM.