View previous topic :: View next topic |
Author |
Message |
meska n00b
Joined: 30 Sep 2004 Posts: 20
|
Posted: Thu Oct 14, 2004 12:41 pm Post subject: Iptables, - loging to other file Ok, but still in dmesg |
|
|
Hi all
i have setup some loging in iptalbes ( using syslog-ng ), everything is ok, all logs from iptables go to the files i want, but i still get same junk i dmesg. How can I avoid that ? |
|
Back to top |
|
|
nevynxxx Veteran
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Thu Oct 14, 2004 1:48 pm Post subject: |
|
|
You need to set up the line that sends the stuff to dmesg to ignore the stuff you have filtered out. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
|
FloppyMaster0 n00b
Joined: 07 May 2004 Posts: 62 Location: Detroit, MI, USA
|
Posted: Thu Oct 14, 2004 5:36 pm Post subject: |
|
|
Unfortunately dmesg doesn't get its data from syslog, it reads it directly from the kernel message buffer. I don't know of any way to control what gets put in that buffer. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|