Re: How many IPs can I block before taking a performance hit?

2020-08-14 Thread Alan McKay
So here is a related question - I want to implement something like what some of you folks seem to have in place with dynamically updated blacklists and reloading pf on the fly. With a redundant pair of firewalls should I be doing this on the MASTER only? I'm just wondering about reloading pf on

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Walt
‐‐ Original Message ‐‐‐ On Wednesday, August 12, 2020 7:11 AM, Alan McKay wrote: > Hey folks, > > This is one that is difficult to test in a test environment. > > I've got OpenBSD 6.5 on a relatively new pair of servers each with 8G RAM. > > With some scripting I'm looking at feeding

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Steve Williams
Hi, I have a script that downloads "badhosts" from a site that continuously updates through a distrubed network. I currently limit my blocklist to 450,000 ip addresses. real mem = 4261072896 (4063MB) avail mem = 4119322624 (3928MB) bios0: PC Engines apu2 -pa-r-- blocklist    

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Martin Sukany
Hi, as the tables are stored in RAM anyway during thee processing it’s moreless matter of how fast are your DIMMs / CPU. I’m usually work with several tables with cca 30 K records - no impact on the performance so far. S pozdravem / Kind regards Martin Sukaný UNIX Engineer, Developer,

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Stuart Henderson
On 2020-08-12, Tomasz Rola wrote: > Is there a way to have listing of offending IPs and perhaps grouping > them into /nn subnets - other than writing oneself the script? aggregate6, in packages. It will be slow on a large list, of course. > Something as easy as awk might suffice, I guess - and

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Jordan Geoghegan
On 2020-08-12 05:11, Alan McKay wrote: Hey folks, This is one that is difficult to test in a test environment. I've got OpenBSD 6.5 on a relatively new pair of servers each with 8G RAM. With some scripting I'm looking at feeding block IPs to the firewalls to block bad-guys in near real

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Tomasz Rola
On Wed, Aug 12, 2020 at 03:00:03PM +0200, Martin Sukany wrote: > Hi, > > as the tables are stored in RAM anyway during thee processing it’s > moreless matter of how fast are your DIMMs / CPU. I’m usually work > with several tables with cca 30 K records - no impact on the > performance so far.

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Alan McKay
Wow over 160 MILLION (yes I screamed that) IPs! How much RAM is in your system? On Wed, Aug 12, 2020 at 10:26 AM infoomatic wrote: > > We have ~30,000 entries in our table blocking networks and > single ip addresses, all in all at the moment exactly 169,471,974 hosts > being blocked. No idea

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread infoomatic
We have ~30,000 entries in our table blocking networks and single ip addresses, all in all at the moment exactly 169,471,974 hosts being blocked. No idea what your criteria is for "performance impact", but we have no issues. On 12.08.20 14:11, Alan McKay wrote: > Hey folks, > > This is one that

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Otto Moerbeek
On Wed, Aug 12, 2020 at 08:11:14AM -0400, Alan McKay wrote: > Hey folks, > > This is one that is difficult to test in a test environment. > > I've got OpenBSD 6.5 on a relatively new pair of servers each with 8G RAM. > > With some scripting I'm looking at feeding block IPs to the firewalls >

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Stuart Harland
This is one of those “How long is a piece of string” examples. You don’t give a lot in the way of specifications so as to come up with a reasonble guess. But the guesses are meaningless anyway, as the packet filtering subsystems are pretty efficient and very rapid. In reality with sufficient

How many IPs can I block before taking a performance hit?

2020-08-12 Thread Alan McKay
Hey folks, This is one that is difficult to test in a test environment. I've got OpenBSD 6.5 on a relatively new pair of servers each with 8G RAM. With some scripting I'm looking at feeding block IPs to the firewalls to block bad-guys in near real time, but in theory if we got attacked by a bot