public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "the guard" <the.guard@mail.ru>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re[2]: [gentoo-user] Re: [gentoo-user] Problem with iptables logging (iptables: No chain/target/match by that name.)
Date: Sat, 04 May 2013 23:45:58 +0400	[thread overview]
Message-ID: <1367696758.898353580@f159.mail.ru> (raw)
In-Reply-To: <CAGWRaZbHE2C36Je_kdp+Z9JxnahRk4M9NCH3dY34uyKhJJJOrg@mail.gmail.com>




Суббота,  4 мая 2013, 14:06 -04:00 от Nick Khamis <symack@gmail.com>:
> On 5/4/13, the guard <the.guard@mail.ru> wrote:
> >
> >
> >
> > Суббота,  4 мая 2013, 12:41 -04:00 от Nick Khamis <symack@gmail.com>:
> >> 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?
> >
> 
> 
> I was gazing at your question for a sec. 4!!!! :). I thought you were asking
> about kernel minor+ version, or iptables version... IPV4 Sir :)
> 
> N.
> 
> 

  reply	other threads:[~2013-05-04 19:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-04 17:15 [gentoo-user] Re: [gentoo-user] Problem with iptables logging (iptables: No chain/target/match by that name.) the guard
2013-05-04 18:06 ` Nick Khamis
2013-05-04 19:45   ` the guard [this message]
2013-05-04 19:46   ` [gentoo-user] Re[2]: " the guard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1367696758.898353580@f159.mail.ru \
    --to=the.guard@mail.ru \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox