LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-21-2007, 06:13 PM   #1
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
Help configureing fwbuilder's logging


I'm useing fwbuilder for a basic host filewall, and it works great with one problem. I set it up to log rejected packets and it dose so, but in addition to sending them to /var/log where I want it also broadcasts them to all ttys, anyone know about fwbuilder and how to stop it doing that.
 
Old 03-21-2007, 07:47 PM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
It is probably using sysklogd, the linux system logging. It's up to you to configure it to filter some message.
man syslog.conf
/etc/syslog.conf

Also for specific printk you can disable them completely:

/etc/sysctl.conf:

# Uncomment the following to stop low-level messages on console
#kernel.printk = 4 4 1 7


Quote:
printk:

The four values in printk denote: console_loglevel,
default_message_loglevel, minimum_console_loglevel and
default_console_loglevel respectively.

These values influence printk() behavior when printing or
logging error messages. See 'man 2 syslog' for more info on
the different loglevels.

- console_loglevel: messages with a higher priority than
this will be printed to the console
- default_message_level: messages without an explicit priority
will be printed with this priority
- minimum_console_loglevel: minimum (highest) value to which
console_loglevel can be set
- default_console_loglevel: default value for console_loglevel

==============================================================

printk_ratelimit:

Some warning messages are rate limited. printk_ratelimit specifies
the minimum length of time between these messages (in jiffies), by
default we allow one every 5 seconds.

A value of 0 will disable rate limiting.

==============================================================

printk_ratelimit_burst:

While long term we enforce one message per printk_ratelimit
seconds, we do allow a burst of messages to pass through.
printk_ratelimit_burst specifies the number of messages we can
send before ratelimiting kicks in.

 
Old 03-22-2007, 04:15 AM   #3
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Original Poster
Rep: Reputation: 30
Thank you, I'll start learning syslog
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configureing postfix cbekannan Linux - Software 2 01-21-2005 07:04 AM
problem configureing php CrotchCricket Linux - Software 1 10-26-2004 02:38 AM
Configureing linux on a laptop SonKun Linux - Laptop and Netbook 4 08-20-2003 08:23 PM
Configureing my kernel MRK Linux - Software 3 07-06-2003 10:21 PM
configureing my wireless card LordGrahf Linux - Wireless Networking 2 06-27-2003 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration