-j LOG not logging to /var/log/messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

Environment:
	Slackware 10.2.0
	iptables v1.3.3
	syslogd 1.4.1
	klogd 1.4.1

Test rule:

$IPTABLES -A INPUT  -s SOME_IP  -m state --state NEW  -j RULE_23
$IPTABLES -A RULE_23  -j LOG  --log-level info --log-prefix "R.23/ACCEPT/global/RULE_23 "
$IPTABLES -A RULE_23  -j ACCEPT 

I can see LOG messages in dmesg but not in /var/log/messages:

R.23/ACCEPT/global/RULE_23 IN=eth0 OUT= MAC=x:x:x... SRC=SOME_IP
DST=X.X.X.X LEN=84 TOS=0x00 PREC=0x00 TTL=54 ID=2 DF PROTO=ICMP TYPE=8
CODE=0 ID=12070 SEQ=512 

syslogd.conf relevant line is:

# Log anything 'info' or higher, but lower than 'warn'.
# Exclude authpriv, cron, mail, and news.  These are logged elsewhere.
*.info;*.!warn;\
        authpriv.none;cron.none;mail.none;news.none     -/var/log/messages

I have another system with these same config (I think they are the same!)
and it is working ok.
Any clue about what is going wrong??

Regards

Ethy
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux