Re: The "badguy" example in the man page not working (-->"iptables: No chain/target/match by that name")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx - (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: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux