From owner-freebsd-questions@freebsd.org Wed Mar 7 14:50:28 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 571CFF332F1 for ; Wed, 7 Mar 2018 14:50:28 +0000 (UTC) (envelope-from duane@nofroth.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (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 EE5BF781F9 for ; Wed, 7 Mar 2018 14:50:27 +0000 (UTC) (envelope-from duane@nofroth.com) Received: by mail-vk0-x22b.google.com with SMTP id z190so1456173vkg.1 for ; Wed, 07 Mar 2018 06:50:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nofroth.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=wTbwiYSEOoh/TukkC8qUkWelVHsTlRTZnwm2/R0Rv5E=; b=Jrd8wcD6aqwOV/8Jks1/a9jdYmSb7/AuU2iMP/3hjzuc4icHg1wxRk3AZqcTmVXgNg yefonxujz79w1muTW9KRa+xld+bZP81obWl2jM0Z2jBTW7Gpk9po/FecpfUP92/dQByQ olY5zwsjvN7iyUX2N4IJ9x9Kav3n8YIV3zM/9tqOo0qrVeLq/HmFZ1OKEGbsjEbZBkzD +3dIGFfyVcysgz8difb3CgzTf4AMQRBOpzZoV2ofDreUIj54AH8kFYa5JihwTaj2ZQoZ RNfVNUJBj0bokuCEdsqb75lJwRMzd3AZz7WerxV91qjUGB81TVrCfXXgPBNZJ9obALIM UJlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=wTbwiYSEOoh/TukkC8qUkWelVHsTlRTZnwm2/R0Rv5E=; b=Yfs1yJC12pGSp9AFAtnA9uPbr+qncecZLdgMaEyh+Jk27HIa6me1OFcVlmsc8AXvCm wtWq08owyg6vwqaz+PKPhW4W8ZxzLcnvd+BFlQx9yUj2kmC04Azr2BD7XErQfqPxkPC5 2M4ufVrTUytJBcxXfBmjqTIdH0Jp6Q67Tsqt8yd+yDl4JkxIOv0OpDFpj57JS7bwObOg Rju3vtieuxCqyzWkxdu4XkvQmtqdRa736BBCotbLdqqWQyrUc/UdAa2qRxQFpac/xZeF hZ9PYIRYCluF77mAgxeWTf3EcljRJoJWWQri1xKfh6y74/rdIVeVUAG9HU1NiUptWH+U 7mBQ== X-Gm-Message-State: APf1xPB0DdDHUDd9DVsIg5YPQZ0BFN9lHjdMVz/jmVt155g/z7itCma6 rjIw+DWefdZS8SDmuaq57kcNlL6jMetLuWVcm8wA/pw9 X-Google-Smtp-Source: AG47ELsF3o3GUofvBmxxybZM4hXnH+Cm6Q3A6rlwloLfdzyA6++wxXVUtz3Ln8JcjR0iCGHxvMxCBtTQYkeMnxofdlY= X-Received: by 10.31.202.133 with SMTP id a127mr16998604vkg.100.1520434227164; Wed, 07 Mar 2018 06:50:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.52.139 with HTTP; Wed, 7 Mar 2018 06:50:26 -0800 (PST) Received: by 10.31.52.139 with HTTP; Wed, 7 Mar 2018 06:50:26 -0800 (PST) In-Reply-To: References: <20180307071944.GA30971@ymer.bara1.se> <20180307103136.25881537.ole@free.de> From: Duane Whitty Date: Wed, 7 Mar 2018 10:50:26 -0400 Message-ID: Subject: Re: Increased abuse activity on my server To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2018 14:50:28 -0000 +1. Works great On Mar 7, 2018 10:24, "William Dudley" wrote: > This may sound stupid and obvious, but I moved my ssh port to a high > "random" port > number, and that completely stopped the random attempts to ssh in. I know > that > "security by obscurity" "doesn't work", but it did! > > I picked a port like 5792 -- not related to anything else. (i.e. don't > pick 2222 or 2022 etc.) > > I've had this in place for months and months (perhaps a year) and the > attackers > haven't found the port yet. > > I think this works because unless you, specifically, are at *target* of > somebody *serious*, > (think "kbg"), most of these attackers are opportunists who won't spend the > time > to do a full port scan of your server. They just try the standard ports: > 21, 22, 23, 25, etc. > > ALSO, you should disable password auth for ssh and use only public/private > key. > > Then you know the attackers are REALLY wasting their time. > > Bill Dudley > > > This email is free of malware because I run Linux. > > On Wed, Mar 7, 2018 at 4:31 AM, Ole wrote: > > > Wed, 7 Mar 2018 08:19:44 +0100 - User Hasse : > > > > > Anybody else noticed ? > > > > Welcome to the internet :-) > > > > If you have strong passwords or better only public key authentication > > allowed, just don't care. If you want to increase security you could > > use a VPN + Firewall to only allow connections from your VPN. If you > > just don't want them to spam your logs you could just move sshd from > > port 22 to port 24. > > > > regards Ole > > > _______________________________________________ > 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" >