Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problems with rsyslog

17 views
Skip to first unread message

ZOT

unread,
Jan 4, 2019, 5:17:26 AM1/4/19
to
Hello everybody and I wich you a happy new year.

I have a Centos7 x86-64 system running iptables.
The iptables config is logging using rsyslog but nothing is logged at all.

I had a systel running the very same config with Centos 6.6 32 bits
logging correctly.
Here the relevant line from iptable

-A INPUT -i enp5s0 -p tcp -m tcp --sport 631 -j ACCEPT
-A INPUT -i enp5s0 -p tcp -m tcp --dport 631 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A INPUT -j IlogDrop

....

-A FORWARD -j REJECT --reject-with icmp-host-prohibited
-A IlogDrop -i any -j LOG --log-prefix "FI " --log-level 0
-A IlogDrop -i any -j DROP

and same from rsyslog.conf

# Everybody gets emergency messages
#*.emerg :omusrmsg:*
*.emerg /var/log/FW.log

Any idea?
Many thanks in advance.
Andre
0 new messages