Re: Can't get iptables LOG

2008-04-11 Thread Paolo
On Fri, Apr 11, 2008 at 08:00:09AM +0200, Gian Piero Carrubba wrote: > assumption), so maybe the problem is that, for whatever > reason, syslogd is restarted instead that signalled... maybe - check (also) logrotate actions. Or switch to other *log solutions - eg the -ng mentioned or socklog. --

Re: Can't get iptables LOG

2008-04-10 Thread Gian Piero Carrubba
Il giorno Thu, 10 Apr 2008 16:35:31 +1000 (EST) Mark Chong <[EMAIL PROTECTED]> ha scritto: > is there a way to make it so restarting syslogd w/o restarting klogd > doesn't break it? because syslogd gets restarted every so often by > cron I manage to install syslog-ng on any system I care, so real

Re: Can't get iptables LOG

2008-04-09 Thread Mark Chong
y so often by cron - Original Message - From: "Gian Piero Carrubba" <[EMAIL PROTECTED]> To: debian-firewall@lists.debian.org Sent: Thursday, 10 April 2008 03:56:43 PM (GMT+1000) Australia/Sydney Subject: Re: Can't get iptables LOG Il giorno Thu, 10 Apr 2008 11:55:41

Re: Can't get iptables LOG

2008-04-09 Thread Gian Piero Carrubba
Il giorno Thu, 10 Apr 2008 11:55:41 +1000 (EST) Mark Chong <[EMAIL PROTECTED]> ha scritto: > kernel.printk = 4 4 1 7 > (havn't restarted but, echo'd values to the proc file) [...] > now the interesting thing is > after restarting klogd > it sets printk to 7 4 1 7 > this doesn't appear to effect th

Re: Can't get iptables LOG

2008-04-09 Thread Mark Chong
it works again any ideas? - Original Message - From: "hhding" <[EMAIL PROTECTED]> To: "Laurent Raufaste" <[EMAIL PROTECTED]> Cc: debian-firewall@lists.debian.org Sent: Saturday, 23 February 2008 11:40:21 AM (GMT+1000) Australia/Sydney Subject: Re: Can't ge

Re: Can't get iptables LOG

2008-02-22 Thread hhding
or you can change /etc/default/klogd like this KLOGD="-x -s" -s Force klogd to use the system call interface to the kernel mes- sage buffers. Laurent Raufaste wrote: Ok this was it ! Setting another value in /proc/sys/kernel/printk (and in sysctl.conf for boot time)

Re: Can't get iptables LOG

2008-02-22 Thread Laurent Raufaste
Ok this was it ! Setting another value in /proc/sys/kernel/printk (and in sysctl.conf for boot time) fixed it. Thanks a lot ! 2008/2/22, Thomas Hospenthal <[EMAIL PROTECTED]>: > > Hello > > My Ubuntu Server didn't log eighter from iptables to syslogd. I > finally got it to work by telling the ke

Re: Can't get iptables LOG

2008-02-22 Thread Laurent Raufaste
Yes klogd is up and running. And yes iptables messages appear in dmesg ! I did not try to look into it, thanks ! But then why then do not appear in syslog then ? 2008/2/22, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Laurent Raufaste writes: > > > I'm trying to get iptables to LOG on a xen virtual

Re: Can't get iptables LOG

2008-02-22 Thread Laurent Raufaste
Logging works: # logger plop # tail -n 1 /var/log/iptables.log Feb 22 14:25:05 jfg-pgslave2 root: plop Like I said in a post before, I setup syslog to log everything in /var/log/iptables : # grep iptables /etc/syslog.conf *.* /var/log/iptables.log Logging do works, but iptables logs nothing, even

Re: Can't get iptables LOG

2008-02-22 Thread bartjan
Laurent Raufaste writes: I'm trying to get iptables to LOG on a xen virtual machine, but for some reason I can't get iptables to log. Here's what I'm doing: in /etc/syslog.conf I have: *.* /var/log/iptables.log I restarted syslog: # /etc/init.d/sysklogd restart Restarting system log daem

Re: Can't get iptables LOG

2008-02-22 Thread Paolo
On Fri, Feb 22, 2008 at 11:54:05AM +0100, Laurent Raufaste wrote: > Hi, > > I'm trying to get iptables to LOG on a xen virtual machine, but for ... > I don't see why it does not work (it works on other boxes) and I don't xen-vm as well? I'd rather check xen docs on this regard. Anyway try also to

Can't get iptables LOG

2008-02-22 Thread Laurent Raufaste
Hi, I'm trying to get iptables to LOG on a xen virtual machine, but for some reason I can't get iptables to log. Here's what I'm doing: in /etc/syslog.conf I have: *.* /var/log/iptables.log I restarted syslog: # /etc/init.d/sysklogd restart Restarting system log daemon: syslogd. Now I setup th