public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Re: [gentoo-user] Problem with iptables logging (iptables: No chain/target/match by that name.)
@ 2013-05-04 17:15 the guard
  2013-05-04 18:06 ` Nick Khamis
  0 siblings, 1 reply; 4+ messages in thread
From: the guard @ 2013-05-04 17:15 UTC (permalink / raw
  To: gentoo-user




Суббота,  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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: [gentoo-user] Problem with iptables logging (iptables: No chain/target/match by that name.)
  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   ` [gentoo-user] Re[2]: " the guard
  2013-05-04 19:46   ` the guard
  0 siblings, 2 replies; 4+ messages in thread
From: Nick Khamis @ 2013-05-04 18:06 UTC (permalink / raw
  To: gentoo-user

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re[2]: [gentoo-user] Re: [gentoo-user] Problem with iptables logging (iptables: No chain/target/match by that name.)
  2013-05-04 18:06 ` Nick Khamis
@ 2013-05-04 19:45   ` the guard
  2013-05-04 19:46   ` the guard
  1 sibling, 0 replies; 4+ messages in thread
From: the guard @ 2013-05-04 19:45 UTC (permalink / raw
  To: gentoo-user




Суббота,  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.
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re[2]: [gentoo-user] Re: [gentoo-user] Problem with iptables logging (iptables: No chain/target/match by that name.)
  2013-05-04 18:06 ` Nick Khamis
  2013-05-04 19:45   ` [gentoo-user] Re[2]: " the guard
@ 2013-05-04 19:46   ` the guard
  1 sibling, 0 replies; 4+ messages in thread
From: the guard @ 2013-05-04 19:46 UTC (permalink / raw
  To: gentoo-user




Суббота,  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.
> 
> 
Sorry, my bad. -L?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-04 19:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` [gentoo-user] Re[2]: " the guard
2013-05-04 19:46   ` the guard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox