From owner-freebsd-questions@FreeBSD.ORG Sun Mar 19 14:48:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E85116A41F for ; Sun, 19 Mar 2006 14:48:04 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from ns1.internetinsite.com (ns1.internetinsite.com [208.179.97.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C47843D45 for ; Sun, 19 Mar 2006 14:48:04 +0000 (GMT) (envelope-from chris@chrismaness.com) Received: from [71.83.198.191] (71-83-198-191.dhcp.rvsd.ca.charter.com [71.83.198.191]) by ns1.internetinsite.com (8.13.4/8.13.4) with ESMTP id k2JEm29M008334; Sun, 19 Mar 2006 06:48:03 -0800 (PST) (envelope-from chris@chrismaness.com) Message-ID: <441D6F1B.9070005@chrismaness.com> Date: Sun, 19 Mar 2006 06:47:55 -0800 From: Chris Maness User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Daniel A." References: <441CA1F9.20301@chrismaness.com> <5ceb5d550603190128q5f3e46c3o84e4b45236df0883@mail.gmail.com> In-Reply-To: <5ceb5d550603190128q5f3e46c3o84e4b45236df0883@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: hosts.allow ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 14:48:04 -0000 Daniel A. wrote: > On 3/19/06, Chris Maness wrote: > >> My denyhost script is doing it's job by adding: >> >> sshd: 62.149.232.105 : deny >> >> to the hosts.allow file, but I see that this host is still making >> attempts to get into my box. Is there a cron job or something that has >> to re-read the hosts.allow file before it the IP will be blocked? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > Offtopic, but > How did you set up denyhosts? Daemon? Cron? > > install security/denyhost add: # Mmonitor logfiles for suspcious activity @reboot root /usr/local/bin/denyhosts.py --daemon -c /etc/denyhosts.cfg to /etc/crontab I'm still playing with hosts.allow to get it to work right.