Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Matt Zagrabelny <mzagrabe@d.umn.edu>
To: Adem <for-gmane@alicewho.com>
Cc: netfilter@vger.kernel.org
Subject: Re: The "badguy" example in the man page not working (-->"iptables: No chain/target/match by that name")
Date: Fri, 14 Nov 2008 14:21:42 -0600	[thread overview]
Message-ID: <1226694102.11373.297.camel@grateful.d.umn.edu> (raw)
In-Reply-To: <1226693732.11373.296.camel@grateful.d.umn.edu>

[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]

On Fri, 2008-11-14 at 14:15 -0600, Matt Zagrabelny wrote:
> On Fri, 2008-11-14 at 18:48 +0100, Adem wrote:
> > "Matt Zagrabelny" wrote:
> > > On Fri, 2008-11-14 at 16:22 +0100, Adem wrote:
> > > > The following example from the man page doesn't work on my box:
> > > > 
> > > >   iptables -A FORWARD -m recent --name badguy --rcheck --seconds 60 -j DROP
> > > >   iptables -A FORWARD -p tcp -i eth0 --dport 139 -m recent --name badguy --set -j DROP
> > > 
> > > I see 'eth0' in your rule, but below there is no eth0.
> > 
> > Oops. that was just a cut&paste error, I actually had changed it,
> > tried everything, but w/o success.
> > Any other ideas what it might be?
> > 
> > BTW, it is a virtual private server (VPS) box, there is nothing under /boot.
> > 
> > Here the version info:
> > 
> > # uname -r
> > 2.6.9-023stab048.4-smp
> > 
> > # iptables --version
> > iptables v1.3.6
> 
> What GNU/Linux distro are you running?
> 
> I am running Debian Sid and here are my versions:
> 
> 2.6.26-1-686
> iptables v1.4.1.1

Also you could check to see if you have the module:

% lsmod | grep recent

and

% modinfo ipt_recent

-- 
Matt Zagrabelny - mzagrabe@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85  C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-11-14 20:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14 15:22 The "badguy" example in the man page not working (--> "iptables: No chain/target/match by that name") Adem
2008-11-14 16:00 ` Matt Zagrabelny
2008-11-14 17:48   ` The "badguy" example in the man page not working (-->"iptables: " Adem
2008-11-14 20:15     ` Matt Zagrabelny
2008-11-14 20:21       ` Matt Zagrabelny [this message]
2008-11-16 23:28         ` The "badguy" example in the man page not working(-->"iptables: " Adem

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=1226694102.11373.297.camel@grateful.d.umn.edu \
    --to=mzagrabe@d.umn.edu \
    --cc=for-gmane@alicewho.com \
    --cc=netfilter@vger.kernel.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