From: Matt Zagrabelny 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 Message-ID: <1226694102.11373.297.camel@grateful.d.umn.edu> References: <1226678430.11373.265.camel@grateful.d.umn.edu> <1226693732.11373.296.camel@grateful.d.umn.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4JXpn85pWrDV+fWmkC54" Return-path: In-Reply-To: <1226693732.11373.296.camel@grateful.d.umn.edu> Sender: netfilter-owner@vger.kernel.org List-ID: To: Adem Cc: netfilter@vger.kernel.org --=-4JXpn85pWrDV+fWmkC54 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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: > > > >=20 > > > > iptables -A FORWARD -m recent --name badguy --rcheck --seconds 60= -j DROP > > > > iptables -A FORWARD -p tcp -i eth0 --dport 139 -m recent --name b= adguy --set -j DROP > > >=20 > > > I see 'eth0' in your rule, but below there is no eth0. > >=20 > > 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? > >=20 > > BTW, it is a virtual private server (VPS) box, there is nothing under /= boot. > >=20 > > Here the version info: > >=20 > > # uname -r > > 2.6.9-023stab048.4-smp > >=20 > > # iptables --version > > iptables v1.3.6 >=20 > What GNU/Linux distro are you running? >=20 > I am running Debian Sid and here are my versions: >=20 > 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 --=20 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 --=-4JXpn85pWrDV+fWmkC54 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkkd3dYACgkQU+eIf4TiLaLEdgCguP7LJ9WTmqviLysvwB/9PVkF PvEAoPONU+h6CxDEiued0s8zv2lAkbu6 =Aw+3 -----END PGP SIGNATURE----- --=-4JXpn85pWrDV+fWmkC54--