Alexander Stolte Expert Licensed User Longtime User Feb 1, 2019 #1 Hey, how can i set a limit for request from the same IP for example in one minute? with Code: AddDosFilter("/*",CreateMap("maxRequestsPerSec": 10,"delayMs": -1)) i can set the max request per sec from the same ip, but this is too short... Greetings
Hey, how can i set a limit for request from the same IP for example in one minute? with Code: AddDosFilter("/*",CreateMap("maxRequestsPerSec": 10,"delayMs": -1)) i can set the max request per sec from the same ip, but this is too short... Greetings
Erel B4X founder Staff member Licensed User Longtime User Feb 3, 2019 #2 The purpose of the DOS filter is to protect from a denial of service attack. Why do you want to limit it to one request per minute? Most requests complete in a few milliseconds. Limiting it to 1 request per second should give you reasonable protection. It should be quite simple to create your own filter. Upvote 0
The purpose of the DOS filter is to protect from a denial of service attack. Why do you want to limit it to one request per minute? Most requests complete in a few milliseconds. Limiting it to 1 request per second should give you reasonable protection. It should be quite simple to create your own filter.