Gentoo Archives: gentoo-user

From: Nick Khamis <symack@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Problem with iptables logging (iptables: No chain/target/match by that name.)
Date: Sat, 04 May 2013 16:41:23
Message-Id: CAGWRaZYy6iD_dWBPdNu=aZUc4HsK+ttEGt9mtS66ihpFQYQZhA@mail.gmail.com
1 Hello Everyone,
2
3 While trying to include a logging chain to our IPTables rules, I am
4 receiving the following
5 error: (iptables: No chain/target/match by that name.
6
7 The chain looks like:
8
9 # Set Log Limit
10 LOGLIMIT="2/s"
11 LOGLIMITBURST="10"
12
13 $IPTABLES -N LOGDROP
14
15 #echo -e " - Logging Dropped Traffic"
16 # $IPTABLES -A LOGDROP -i $INTIF1 -p tcp -m limit --limit $LOGLIMIT
17 --limit-burst $LOGLIMITBURST -j LOG --log-prefix "TCP LOGDROP: "
18
19 # $IPTABLES -A LOGDROP -j DROP
20 # $IPTABLES -A INPUT -p icmp -i $INTIF1 -j LOGDROP
21 # $IPTABLES -A INPUT -p tcp -i $INTIF1 -j LOGDROP
22 # $IPTABLES -A INPUT -p udp -i $INTIF1 -j LOGDROP
23
24 Some searching caused me to make sure that I have the correct modules loaded:
25
26 modprobe ipt_LOG
27
28 Module Size Used by
29 iptable_nat 3220 0
30 nf_nat 11228 1 iptable_nat
31 ipt_LOG 6454 0
32 ipt_REJECT 1917 3
33 nf_conntrack_ipv4 9141 10 nf_nat,iptable_nat
34 nf_defrag_ipv4 847 1 nf_conntrack_ipv4
35 iptable_filter 988 1
36 ip_tables 8370 2 iptable_filter,iptable_nat
37
38
39 But still no go.
40
41 Thank in Advance,
42
43 Nick.

Replies

Subject Author
Re: [gentoo-user] Problem with iptables logging (iptables: No chain/target/match by that name.) Tanstaafl <tanstaafl@×××××××××××.org>