From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 779441381F3 for ; Sat, 4 May 2013 18:06:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC21DE089A; Sat, 4 May 2013 18:06:22 +0000 (UTC) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 697D2E086C for ; Sat, 4 May 2013 18:06:21 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id fm20so2348483lab.11 for ; Sat, 04 May 2013 11:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=KsY9WTjyySC5xC+PQuexUpQuf8vo2FzhpYYLBVrSg+0=; b=huD581yjySeTu1LXyyjabhwjDQiVgdEQVynkPKw/El4rsp9GkX2A1ZVSVX+8fC71HE bC7DBrzVuhHzhloarN6QOD6gJdsfaeqGz09XYufT9OwW1WwtlLbTSHEcXBhKJMyfrFNs B+YomSn59f4YvWfN6NFhd3ajDJIcwiP6mP4h0PGMIQJ8UuDjLiqz8y38hR2u+Dub7YPk b72WsQUgB4tU9ZdCu7ZsTfra6iaFzx02eGKq/yW8WKVNYn73oJTkf7t+qG7f8ogiRNBE mwbib5kmIOQA2MKKvb/OpLCXlo0n2BWcFJHF/TdbB+H3AZbTx6qlYJKXLzjF0SQnbbwg 8iBQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.152.22.201 with SMTP id g9mr69744laf.44.1367690779635; Sat, 04 May 2013 11:06:19 -0700 (PDT) Received: by 10.114.92.35 with HTTP; Sat, 4 May 2013 11:06:19 -0700 (PDT) In-Reply-To: <1367687709.189031147@f224.mail.ru> References: <1367687709.189031147@f224.mail.ru> Date: Sat, 4 May 2013 14:06:19 -0400 Message-ID: Subject: Re: [gentoo-user] Re: [gentoo-user] Problem with iptables logging (iptables: No chain/target/match by that name.) From: Nick Khamis To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f595f1c1-9571-4a10-8282-c55b575a2498 X-Archives-Hash: 90e4333d7328c46956f5fbacd977d024 On 5/4/13, the guard wrote: > > > > =F3=D5=C2=C2=CF=D4=C1, 4 =CD=C1=D1 2013, 12:41 -04:00 =CF=D4 Nick Khamis= : >> 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=3D"2/s" >> LOGLIMITBURST=3D"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? > I was gazing at your question for a sec. 4!!!! :). I thought you were askin= g about kernel minor+ version, or iptables version... IPV4 Sir :) N.