LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-19-2009, 11:22 AM   #1
b_unix
LQ Newbie
 
Registered: Oct 2007
Location: Ottwaw Canada
Distribution: Fedora
Posts: 24

Rep: Reputation: 0
Question Fedora logging ?


One of the reasons I prefer to use a linux derivative for most of my needs is the power of the information that is available within the logs.
I've recently upgraded to Fedora 9 x64, Googole it to death but I have found little on line resources on how or why IE: my iptables are not logged to the dir iptables4/6 specified or to /var/log/messages ? anything that's within messages can be mirrored via demesg ? but nothing else is logged? could someone point me in the correct direction to get this resolved please.

**Note I would prefer to stay within the realm of selinux security model

This is most likly a config issue

rsyslog.conf
------------

$ModLoad imuxsock.so
$ModLoad imklog.so
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
*.info;mail.none;authpriv.none;cron.none /var/log/messages
authpriv.* /var/log/secure
mail.* -/var/log/maillog
cron.* /var/log/cron
*.emerg *
uucp,news.crit /var/log/spooler
local7.*
kern.warning /var/log/iptables.log

--------------

I've had issues while mounting NFS disks that do not get mounted or go offline ? this appears to be a driver issue within the hardware (have a notoriously buggy board) have yet to see a log of these issues before or after a restart ?

is debug an option?
 
Old 03-19-2009, 11:59 AM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
AFAIK, iptables will not perform logging about rule matches unless you explicitly tell it to, a la:
Code:
# Log / allow in ssh
/sbin/iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j LOG
/sbin/iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
See the manpages for iptables(8) -- the LOG section in particular.
 
  


Reply

Tags
fedora, logging


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
logging in as root on fedora 10 andy1974 Fedora 31 12-12-2008 10:57 AM
Logging in as root with new Fedora Core 9 L_Jenkins Linux - Newbie 4 05-26-2008 08:10 AM
My desktop is gone after logging in to Fedora 8 jaydubb Linux - Newbie 2 04-12-2008 09:52 PM
Problem in Logging in to fedora core 6 ajeya Linux - Laptop and Netbook 5 10-27-2007 03:42 AM
Need help logging into Fedora after new install natrone Linux - Newbie 4 02-06-2004 05:25 AM


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

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