Limit number of urls per ip within a time limit?

Issues related to applications and software problems and general support
Post Reply
vicn1222
Posts: 7
Joined: 2021/09/14 18:54:11

Limit number of urls per ip within a time limit?

Post by vicn1222 » 2021/09/25 01:04:08

Hi,

Is there a way to limit number of url calls per ip within a time period?

For instance, if an ip makes 10 urls call within 10 seconds, then ban this ip for 5 minutes, etc.

Or is there an apache2 plugin that will do this?

My server is CentOS 8 with Apache/2.4.48.

Thanks

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Limit number of urls per ip within a time limit?

Post by jlehtone » 2021/09/25 07:14:30

I don't know Apache.

Nftables has timeout for sets: https://wiki.nftables.org/wiki-nftables/index.php/Sets

Post Reply