public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-de] syslog-ng filtert iptables (nicht)
@ 2005-07-07 18:13 z3rosix
  2005-07-07 19:55 ` Dominik Elsbroek
  2005-07-08  9:53 ` z3rosix
  0 siblings, 2 replies; 4+ messages in thread
From: z3rosix @ 2005-07-07 18:13 UTC (permalink / raw
  To: gentoo-user-de

sers,

ich hab ein problem mit syslog-ng. Ich möchte das er meine iptables
drops in ein spezielles file (/var/log/iptables) logt. Dafür markier ich
alle gedropten pakete bei iptables mit "-j LOG --log-prefix "iptables: "
"
Beim syslog-ng hab ich eine entsprechende destination, filter usw.
konfiguriert:

destination iptables { file("/var/log/iptables"); };
filter f_iptables { match("iptables:"); };
log { source(src); filter(f_iptables); destination(iptables); };

aus meiner sicht sieht eigentlich alles gut aus, nur irgendwarum landen
die drops immer noch in "/var/log/kern.log".
ich hab die iptables regel auch schon ganz am anfang hingesetzt, weil
ich gelesen hab das der ja nur einmal logt und dann würde es erklären
warums in "kern.log" landet aber auch wenns ganz am anfang steht klappts
nicht.


Weiß jemand noch rat?


thx im voraus


greetz

alex

-- 
gentoo-user-de@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-08 19:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07 18:13 [gentoo-user-de] syslog-ng filtert iptables (nicht) z3rosix
2005-07-07 19:55 ` Dominik Elsbroek
2005-07-08  9:53 ` z3rosix
2005-07-08 19:27   ` Dominik Elsbroek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox