Re: Blocking login attempts by country

2020-04-08 Thread Richard Shaw
On Wed, Apr 8, 2020 at 9:28 AM Jamie Fargen wrote: > Richard- > > Consider using fail2ban, it will grok your logs, and block specific ip > addresses based on previous failures. > > Yes, if you note in the original post, I'm already using fail2ba, but in taking note of the most frequent offenders

Re: Blocking login attempts by country

2020-04-08 Thread Jamie Fargen
Richard- Consider using fail2ban, it will grok your logs, and block specific ip addresses based on previous failures. Regards, -Jamie On Tue, Apr 7, 2020 at 12:27 AM Ed Greshko wrote: > On 2020-04-05 21:36, Richard Shaw wrote: > > I got tired of repeated SSH attempts and honest for my home n

Re: Blocking login attempts by country

2020-04-06 Thread Ed Greshko
On 2020-04-05 21:36, Richard Shaw wrote: > I got tired of repeated SSH attempts and honest for my home network, there's > few countries that need to be logging into my system, so I'm using a > combination of fail2ban and blocking by country. I live in Taiwan.  While I get the most ssh attempts f

Blocking login attempts by country

2020-04-05 Thread Richard Shaw
I got tired of repeated SSH attempts and honest for my home network, there's few countries that need to be logging into my system, so I'm using a combination of fail2ban and blocking by country. I created this script to make my life easier and thought I would share it. #!/bin/bash # Based on the