From owner-freebsd-questions@FreeBSD.ORG Sun Mar 19 15:44:13 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 CF80A16A400 for ; Sun, 19 Mar 2006 15:44:13 +0000 (UTC) (envelope-from ldrada@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2997B43D45 for ; Sun, 19 Mar 2006 15:44:12 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: by nproxy.gmail.com with SMTP id n28so640805nfc for ; Sun, 19 Mar 2006 07:44:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qxhZKkaXUOdJJ5X6o6ayP5kb/OiAdvPrLvFEkHFx/Mx4APHVNWkOnaGrOwRh89QlfcsDomYeh3gmaX1tk0nbV66zwJLg+3LRRgxFUt6fV3f50tu2zUnWe6ESgSqgxgdJXA0LSF6PnqzmvwAsgtfMnPrmZjjwYblZCrQbvvvwsV0= Received: by 10.49.1.4 with SMTP id d4mr2380478nfi; Sun, 19 Mar 2006 07:44:11 -0800 (PST) Received: by 10.48.108.10 with HTTP; Sun, 19 Mar 2006 07:44:11 -0800 (PST) Message-ID: <5ceb5d550603190744l740502edv3504b61ec03cf84f@mail.gmail.com> Date: Sun, 19 Mar 2006 16:44:11 +0100 From: "Daniel A." To: gerard@seibercom.net In-Reply-To: <200603191032.21530.gerard@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <441CA1F9.20301@chrismaness.com> <5ceb5d550603190128q5f3e46c3o84e4b45236df0883@mail.gmail.com> <441D71FE.2070003@chrismaness.com> <200603191032.21530.gerard@seibercom.net> 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 15:44:13 -0000 On 3/19/06, Gerard Seibert wrote: > Chris Maness wrote: > > > 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? > > > > p.s. > > > > OK, I was able to get to work by just starting out with a blank > > hosts.allow. Everything is allowed by default, so when denyhosts > > adds a deny line to the file, it will deny access to that host. > > > > Also, sshd can't be started in rc.conf, it has to be started in > > inetd.conf. Make sure you do a /etc/rc.d/inetd restart after you > > make changes. > > Just out of curiosity, why can 'sshd' not be started from the > '/etc/rc.conf' file? > > -- > Gerard Seibert > gerard@seibercom.net > > PGP: http://www.seibercom.net/sig/gerard.asc > > > Yeah, why is that exactly? I can. Care to explain?