Page 1 of 1

grsec and iptables LOG

PostPosted: Sat Feb 16, 2013 2:05 pm
by xxx
Hello, with default kernel on Debian 3.2.0-4-686-pae iptables LOG work, but with grsec kernel 3.7.7-grsec (with made old config) don't work ("iptables: No chain/target/match by that name.")

Code: Select all
+ iptables -A INPUT -p icmp --icmp-type echo-request -m limit --limit 1/s -j LOG --log-prefix 'Ping: '
iptables: No chain/target/match by that name.

Code: Select all
# diff <(egrep -i "netfilter|iptables" /boot/config-3.2.0-4-686-pae | grep -v ^#) <(egrep -i "netfilter|iptables" /boot/config-3.7.7-grsec | grep -v ^#)
43a44
> CONFIG_NETFILTER_XT_MATCH_ECN=m

any idea how fix it?

Re: grsec and iptables LOG

PostPosted: Tue Feb 19, 2013 10:03 am
by xxx
noone know?:(

Re: grsec and iptables LOG

PostPosted: Thu Feb 21, 2013 9:20 am
by alwoka
Check CONFIG_NETFILTER_XT_TARGET_LOG

Re: grsec and iptables LOG

PostPosted: Mon Feb 25, 2013 6:43 pm
by xxx
Code: Select all
# grep CONFIG_NETFILTER_XT_TARGET_LOG .config
# CONFIG_NETFILTER_XT_TARGET_LOG is not set

where can I set this in menu (due to dependencies)?

Re: grsec and iptables LOG

PostPosted: Tue Feb 26, 2013 5:31 am
by xxx
Ok, I changed it just in .config, now iptables with LOG work! thanks! :)