LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-20-2004, 07:01 AM   #1
robbow52
Member
 
Registered: Oct 2003
Location: Kentucky, USA
Distribution: Debian "SID"
Posts: 110

Rep: Reputation: 15
Firewall logs in logs and terminal...


I have Firestarter installed and the logs generated are clogging both the terminals as well as the log files. It's especially troubling when I'm in a tty trying to do something and all at once the output of Firestarter/iptables shows up on the command line!! It's not an issue when I'm in a terminal in X...

Is there anything I can do to eliminate this?

Thanks in advance!
 
Old 11-20-2004, 08:19 AM   #2
gug
LQ Newbie
 
Registered: Nov 2004
Location: Barcelona (ES) & London (GB)
Distribution: Slackware-current
Posts: 15

Rep: Reputation: 1
Comment out the appropriate console or tty line of /etc/syslog.conf ?
 
Old 11-20-2004, 03:54 PM   #3
robbow52
Member
 
Registered: Oct 2003
Location: Kentucky, USA
Distribution: Debian "SID"
Posts: 110

Original Poster
Rep: Reputation: 15
Firewall logs....

Quote:
Originally posted by gug
Comment out the appropriate console or tty line of /etc/syslog.conf ?
I just spend a little time looking at that (and studying the man page), but I can find nothing in the configuration file that is directing the output to the console. This is the one that I'm bugged with the most. The only tty, /dev/tty8 is commented out in /ect/syslog.conf... It would also appear that the output is "only" being directed to tty1...

Thanks for the idea and I will explore it further.

Do you have any thoughts on why the output is going to "all" the tty's (except for the xconsole terminal windows???)?
 
Old 11-20-2004, 04:06 PM   #4
gug
LQ Newbie
 
Registered: Nov 2004
Location: Barcelona (ES) & London (GB)
Distribution: Slackware-current
Posts: 15

Rep: Reputation: 1
I'm out of ideas for the moment then.

Any Debian users reading who can see why syslog output should be going to all ttys?
 
Old 11-20-2004, 04:55 PM   #5
robbow52
Member
 
Registered: Oct 2003
Location: Kentucky, USA
Distribution: Debian "SID"
Posts: 110

Original Poster
Rep: Reputation: 15
Re: Firewall logs....

Quote:
Originally posted by robbow52
I just spend a little time looking at that (and studying the man page), but I can find nothing in the configuration file that is directing the output to the console. This is the one that I'm bugged with the most. The only tty, /dev/tty8 is commented out in /ect/syslog.conf... It would also appear that the output is "only" being directed to tty1...

Thanks for the idea and I will explore it further.

Do you have any thoughts on why the output is going to "all" the tty's (except for the xconsole terminal windows???)?
I wanted to edit my earlier post above (I hit the send button too quickly!). The output appears to only be directed to tty1.

Any thoughts or ideas would be appreciated!
 
Old 11-20-2004, 06:07 PM   #6
gug
LQ Newbie
 
Registered: Nov 2004
Location: Barcelona (ES) & London (GB)
Distribution: Slackware-current
Posts: 15

Rep: Reputation: 1
is it ALL syslog output you are seeing on tty1 or just firestarter/iptables log?

(if you've got logger installed, try "logger hello world")
 
Old 11-20-2004, 06:44 PM   #7
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
There's a utility called "ulogd" that redirects firewall log to a separate file. See my post in macondo's sticky thread "Debian Configuration Post-Install" (first page) where I describe how to use ulogd with FireHOL firewall. I don't use Firestarter, but if you discover how to make ulogd work with Firestarter, please post it here for us to read.
 
Old 11-20-2004, 07:13 PM   #8
robbow52
Member
 
Registered: Oct 2003
Location: Kentucky, USA
Distribution: Debian "SID"
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Dead Parrot
There's a utility called "ulogd" that redirects firewall log to a separate file. See my post in macondo's sticky thread "Debian Configuration Post-Install" (first page) where I describe how to use ulogd with FireHOL firewall. I don't use Firestarter, but if you discover how to make ulogd work with Firestarter, please post it here for us to read.
I just read your post in the thread and I will look into ulogd. It sounds like just what I need.

I will post if I find a solution!

Thanks again!
 
  


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
New to firewall logs... is there anything bad?? jimdaworm Linux - Security 3 04-01-2005 08:05 AM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 01:26 AM
How should I get logs from firewall? RKris Linux - General 2 05-25-2002 05:11 PM
firewall logs jimval7 Linux - Security 3 02-27-2002 01:20 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration