Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2011 15:58:05 -0800
From:      Patrick Gibson <>
To:        Jorge Biquez <>
Subject:   Re: Simplest way to deny access to a class C
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
You might consider mod_security (/usr/ports/www/mod_security) which
can be set up to ban hosts based on behaviour or characteristics.

Or fail2ban (/usr/ports/security/py-fail2ban) is really great, too, in
that it scans whatever logs you want, and can trigger a block in your
firewall if enough violating log entries are found within a particular
period of time. Everything is totally configurable, and there are
plenty of examples that come with it.


On Thu, Mar 3, 2011 at 8:59 AM, Jorge Biquez <> wrote:
> Hello all.
> I am sorry in advance if this question sounds too stupid.
> I have a small server for personal use of webpages running:
> it is working fine , no problem very stable.
> I just need to block some IP class C address that are always trying to
> "discover" directories or applications under the web server. They do not do
> and can not do anything since this server has nothing installed but i am
> tired of seeing in the logs all the intents they do every 2-3 seconds.
> I have not installed any kind of firewall yet.
> What do you think is the best way to accomplish this task? If possible the
> easiest one. I do not want to do anything else but just bloc IP's, at this
> moment at least.
> Thanks in advance.
> Jorge Biquez
> _______________________________________________
> mailing list
> To unsubscribe, send any mail to ""

Want to link to this message? Use this URL: <>