Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-20-2008, 10:42 AM   #1
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 609

Rep: Reputation: 32
syslog-ng no iptables at central logserver

I just set up a central log server with syslog-ng which worked well but I just don`t get the iptables logs to the central server.

The interesing lines form syslog-ng.conf

destination central { tcp( "xx.xx.xx.xx" port(5140) ); };
log { source(src); destination(central); };

# Firewall (iptables) messages in one file:
destination firewall { file("/var/log/firewall"); };
log { source(src); filter(f_iptables); destination(firewall); };
log { source(src); filter(f_iptables); destination(central); }

Iptables infos get written to the /var/log/firewall but do not appear at the log server.

Why is that ?


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
syslog.conf rule for iptables nekkutta Linux - Software 1 03-26-2008 02:35 PM
Central Log Server using syslog-ng sakthi.s Linux - Security 3 12-26-2007 06:04 PM
central server log / databased . . syslog-ng maybe? sir-lancealot Linux - Server 2 08-28-2007 12:55 PM
Syslog-ng central logserver is dropping logs humbletech99 Linux - Networking 2 06-22-2006 04:09 AM
central syslog binary_0011 Linux - Newbie 1 06-13-2006 05:05 AM

All times are GMT -5. The time now is 03:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration