From owner-freebsd-questions@freebsd.org Tue Aug 25 13:22:31 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B3D499AD55 for ; Tue, 25 Aug 2015 13:22:31 +0000 (UTC) (envelope-from stdedjub@googlemail.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BBBAB82 for ; Tue, 25 Aug 2015 13:22:31 +0000 (UTC) (envelope-from stdedjub@googlemail.com) Received: by obbhe7 with SMTP id he7so141608623obb.0 for ; Tue, 25 Aug 2015 06:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=thzrz92dkjQLoVy4utRzxumVTBsecGPLlztZN6A5X7E=; b=NOGCzj7dCPVPq4GW7azkpKIKpjI1R5IY0Bv/dxSLtz+q3VH52ZEg2qNO9RxeaUduW/ 82s4Qoifwo03QIZow+9MODYdqjzUAjmVs/VlJuFp58oKpfCP4W2w0y0bWX2whi3YKBgm vTPw2DtHFAPRpdKmfSsn+feHIwx959/GPjU9nlJKD5VJ8XawsFlYv4j3hd72bxgK2j/i f+ubMK0lpO1hGlE06zahBzMMtmJlI4yLuHeRtwLnLMvOPPxyJtVTME7I2XzwpgSEaLS7 tcGq+xxXgbg+j8tpKuG3Tql5pph/54ljWnvKGnq01OUkyG1pphhIvPK6fk2EhiN9MYay p10A== MIME-Version: 1.0 X-Received: by 10.60.178.33 with SMTP id cv1mr26191459oec.11.1440508950584; Tue, 25 Aug 2015 06:22:30 -0700 (PDT) Received: by 10.202.90.9 with HTTP; Tue, 25 Aug 2015 06:22:30 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 Aug 2015 15:22:30 +0200 Message-ID: Subject: Re: Blocking SSH access based on bad logins? From: Denis D To: Jaime Kikpole Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2015 13:22:31 -0000 have you tried fail2ban? http://www.fail2ban.org/ On 25 August 2015 at 15:16, Jaime Kikpole wrote: > I've noticed a number of SSH login attempts for the username "admin" > on my FreeBSD systems. None of them have a username of "admin". So I > was wondering if there was a way (even via a port) to tell the system, > "If an IP tries to login as 'admin', block that IP." > > I'm already using SSHGuard to block certain obvious attempts to break > in. I'm fine with altering its configs or adding/switching to a new > port. > > Thanks. > > -- > Jaime Kikpole > Network Administrator > Cairo-Durham Central School District > > Technical Support: > help@cairodurham.org > go.cairodurham.org/techtips > > -- > This electronic message and any attachment(s) may contain confidential or > legally privileged information protected by law from further disclosure and > is intended only for the individual or entity identified above as the > addressee. If you are not the addressee (or the employee or agency > responsible to deliver it to the addressee), or if this message has been > addressed to you in error, you are hereby notified that you may not copy, > forward, disclose or use any part of this message or any attachment(s). > Please notify the sender immediately by return email or telephone and > permanently delete this message and attachment(s) from your system. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >