[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Iptables not logging



    Is klogd really needed ? Just adding a directive like this

#############################################################3
# log source
#
# Note: we do not need klogd anymore!
source primary {
    internal();
    unix-stream("/dev/log");
    file("/proc/kmsg");
};

    solves it.

    Afaik klogd get's uninstalled with sysklogd when you install
    syslog-ng.

    - Markus

On Wed, Jul 24, 2002 at 01:23:41PM -0400, Desai, Jason wrote : 
> Are you using syslog-ng?  If so, when it gets restarted, klogd also needs to
> be restarted.  Looks like there was a bug reported about this -
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=129819
> 
> Not sure when it's going to make it into woody, though.  The simple fix is
> to modify your /etc/init.d/syslog-ng script to restart klogd.
> 
> Jase
> 
> 
> > I upgraded to Debian 3.0 (Woody).  Ok, not too bad.  But, now 
> > iptables no
> > longer logs the messages I was sending to LOG.  Any clues?
> > 
> > Hint, kern.log was empty also.  I have restarted klogd and 
> > then sysklogd.
> > There is a little in kern.log now but not much.  During the 
> > original boot, I
> > thought I saw some messages about modules not loading.  Could 
> > not see the
> > same messages in the logs.  I have Kernel v 2.4.18.  Do not 
> > have ipmasq
> > installed.  Was originally running iptables and stuff from 
> > Bunk's downloads.
> > (Dumped the init.d script that came with this version of 
> > iptables, already
> > had my script written.)
> > 
> > Pat Moffitt
> > MIS Administrator
> > Western Recreational Vehicles, Inc.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
"Adding is_deleted() would be the first is_*() function in PHP that I
know of that checks if something *is not* something. Really bad." - SB


-- 
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: