Date: Thu, 3 Mar 2011 19:11:43 +0000 From: Frank Shute <frank@shute.org.uk> To: Jorge Biquez <jbiquez@intranet.com.mx> Cc: freebsd-questions@freebsd.org Subject: Re: Simplest way to deny access to a class C Message-ID: <20110303191143.GA61384@orange.esperance-linux.co.uk> In-Reply-To: <3382016411-764985335@intranet.com.mx> References: <3382016411-764985335@intranet.com.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
--ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 03, 2011 at 10:59:59AM -0600, Jorge Biquez wrote: > > Hello all. >=20 > I am sorry in advance if this question sounds too stupid. >=20 > I have a small server for personal use of webpages running: >=20 > 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 >=20 > it is working fine , no problem very stable. >=20 > I just need to block some IP class C address that are always trying=20 > to "discover" directories or applications under the web server. They=20 > do not do and can not do anything since this server has nothing=20 > installed but i am tired of seeing in the logs all the intents they=20 > do every 2-3 seconds. >=20 > I have not installed any kind of firewall yet. > What do you think is the best way to accomplish this task? If=20 > possible the easiest one. I do not want to do anything else but just=20 > bloc IP's, at this moment at least. >=20 > Thanks in advance. >=20 > Jorge Biquez >=20 I'm assuming you're running Apache, in which case you can block addresses using .htaccess http://www.webmasterworld.com/apache/3118159.htm Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1v5+4ACgkQHduKvUAgeK6/VwCaAyHQAGKQxoixqClEJmsaqqtg zQwAoIp+Bh1DmgalA7mbODby/bNdcSQt =dxPE -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110303191143.GA61384>