Суббота,  4 мая 2013, 12:41 -04:00 от Nick Khamis <[email protected]>:
> Hello Everyone,
> 
> While trying to include a logging chain to our IPTables rules, I am
> receiving the following
> error: (iptables: No chain/target/match by that name.
> 
> The chain looks like:
> 
> # Set Log Limit
> LOGLIMIT="2/s"
> LOGLIMITBURST="10"
> 
> $IPTABLES -N LOGDROP
> 
> #echo -e "       - Logging Dropped Traffic"
> # $IPTABLES -A LOGDROP -i $INTIF1 -p tcp -m limit --limit $LOGLIMIT
> --limit-burst $LOGLIMITBURST -j LOG --log-prefix "TCP LOGDROP: "
> 
> # $IPTABLES -A LOGDROP -j DROP
> # $IPTABLES -A INPUT -p icmp -i $INTIF1 -j LOGDROP
> # $IPTABLES -A INPUT -p tcp  -i $INTIF1 -j LOGDROP
> # $IPTABLES -A INPUT -p udp  -i $INTIF1 -j LOGDROP
> 
> Some searching caused me to make sure that I have the correct modules loaded:
> 
> modprobe ipt_LOG
> 
> Module                  Size  Used by
> iptable_nat             3220  0
> nf_nat                 11228  1 iptable_nat
> ipt_LOG                 6454  0
> ipt_REJECT              1917  3
> nf_conntrack_ipv4       9141  10 nf_nat,iptable_nat
> nf_defrag_ipv4           847  1 nf_conntrack_ipv4
> iptable_filter           988  1
> ip_tables               8370  2 iptable_filter,iptable_nat
> 
> 
> But still no go.
> 
6 or 4?

Reply via email to