Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-12 Thread H
On 01/09/2020 02:09 PM, Pete Biggs wrote: >>> As far as I can see fail2ban only deals with hosts and not networks - I >>> suspect the issue is what is a "network": It may be obvious to you >>> looking at the logs that these are all related, but you run the risk >>> that getting denied accesses from

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-11 Thread Jon LaBadie
On Thu, Jan 09, 2020 at 11:49:59AM +0530, Thomas Stephen Lee wrote: > On Thu, Jan 9, 2020 at 6:07 AM H wrote: > > > I am being attacked by an entire subnet where the first two parts of the > > IP address remain identical but the last two parts vary sufficiently that > > it is not caught by fail2b

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-10 Thread Joakim Dellrud
Hi! I usually use a primary ssh jail via f2b, ontop of that I have a reapeat offenders (usually a check on the f2b logs and rotation needs to be modified) over a long time. https://wireflare.com/blog/permanently-ban-repeat-offenders-with-fail2ban/ this could be modified to block bigger pieces of t

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-09 Thread Pete Biggs
> > > > > As far as I can see fail2ban only deals with hosts and not networks - I > > suspect the issue is what is a "network": It may be obvious to you > > looking at the logs that these are all related, but you run the risk > > that getting denied accesses from, say, 1.0.0.1 and 1.1.0.93 and >

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-09 Thread Nataraj
On 1/9/20 2:08 AM, Pete Biggs wrote: >> Has anyone created a fail2ban filter for this type of attack? As of >> right now, I have manually banned a range of IP addresses but would >> like to automate it for the future. >> > As far as I can see fail2ban only deals with hosts and not networks - I > su

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-09 Thread Pete Biggs
> Has anyone created a fail2ban filter for this type of attack? As of > right now, I have manually banned a range of IP addresses but would > like to automate it for the future. > As far as I can see fail2ban only deals with hosts and not networks - I suspect the issue is what is a "network": I

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-08 Thread David Hrbáč
Hi, You can drop it before FW with blackhole route. DH čt 9. 1. 2020 v 7:21 odesílatel Thomas Stephen Lee napsal: > On Thu, Jan 9, 2020 at 6:07 AM H wrote: > > > I am being attacked by an entire subnet where the first two parts of the > > IP address remain identical but the last two parts var

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-08 Thread Thomas Stephen Lee
On Thu, Jan 9, 2020 at 6:07 AM H wrote: > I am being attacked by an entire subnet where the first two parts of the > IP address remain identical but the last two parts vary sufficiently that > it is not caught by fail2ban since the attempts do not meet the cut-off of > a certain number of attempt

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-08 Thread Keith Christian
On Wed, Jan 8, 2020 at 7:06 PM one_Person_on_the_World wrote: > I have experience block DDoS atacks. Contac White me in prived. If you have > intereses. > > El mié., 8 ene. 2020 8:45 p. m., Keith Christian < > keith1christ...@gmail.com> > escribió: > > > On Wed, Jan 8, 2020 at 5:37 PM H wrote: >

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-08 Thread one_Person_on_the_World
I have experience block DDoS atacks. Contac White me in prived. If you have intereses. El mié., 8 ene. 2020 8:45 p. m., Keith Christian escribió: > On Wed, Jan 8, 2020 at 5:37 PM H wrote: > > > I am being attacked by an entire subnet where the first two parts of the > > IP address remain identi

Re: [CentOS] Blocking attacks from a range of IP addresses

2020-01-08 Thread Keith Christian
On Wed, Jan 8, 2020 at 5:37 PM H wrote: > I am being attacked by an entire subnet where the first two parts of the > IP address remain identical but the last two parts vary sufficiently that > it is not caught by fail2ban since the attempts do not meet the cut-off of > a certain number of attempt