Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Apr 2004 21:27:38 -0500
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        "H.Wade Minter" <minter@lunenburg.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Simplest way to block a single IP?
Message-ID:  <4070C41A.6050201@daleco.biz>
In-Reply-To: <5D4A40CA-86A7-11D8-991B-000A95A8D520@lunenburg.org>
References:  <5D4A40CA-86A7-11D8-991B-000A95A8D520@lunenburg.org>

next in thread | previous in thread | raw e-mail | index | archive | help
H.Wade Minter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've got a system that's sending a ton of referral spam to websites
> on my RELENG_4_9 system.  I'd like to block them from accessing
> my system at the TCP level.  What's the best and easiest way to do this?
>
> I assume I'll need to recompile the kernel with IPFIREWALL or
> IPFILTER support, then set up some rules.  Does anyone have
> a recommendation for a simple ruleset to block one particular IP?
>
> Thanks,
> Wade


I have a better recommendation than that.

Since it's just one IP, have a look at /etc/hosts.allow.

The syntax and comments there should enlighten
you greatly as to what to do....

Then, sit back and smile && enjoy a beverage
as tcpwrappers sends this c*** to a "virtual"
oblivion ...

Kevin Kinsey
DaleCo, S.P.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4070C41A.6050201>