This commit is contained in:
Yanlong Wang 2024-06-01 01:07:50 +08:00
parent 43dee08dcc
commit 249408df6b
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -297,7 +297,7 @@ function giveSnapshot(stopActiveSnapshot) {
return req.abort('blockedbyclient', 1000);
}
if (domainSet.size > 21) {
if (domainSet.size > 51) {
page.emit('abuse', { url: requestUrl, page, sn, reason: `DDoS attack suspected: Too many domains (${domainSet.size})` });
return req.abort('blockedbyclient', 1000);