abriginets / umbress Goto Github PK
View Code? Open in Web Editor NEWBlazing fast ExpressJS anti-DDoS middleware ⚡
License: MIT License
Blazing fast ExpressJS anti-DDoS middleware ⚡
License: MIT License
When using advancedClientChallenging like in the Readme file, the application redirects to localhost instead of localhost:3000.
Code to reproduce:
const express = require('express');
const umbress = require('umbress').default;
const app = express();
app.use(express.urlencoded({ extended: true }));
app.use(
umbress({
advancedClientChallenging: {
enabled: true,
cookieTtl: 30
}
})
);
app.get('/', (req, res) => {
res.send('Hello World!')
});
app.listen(3000, () => {
console.log("Server is running on port 3000")
});
Things used:
NodeJS v22.4.1 on Windows 10, using Memurai 4.1.1 as a redis compatible database
There should be IPv6 white and blacklisting available. Currently there is no info on how Express.js treats IPv6 (is it shows us IP in shortened or standart format). Also there should be various techniques for IPv6 handling from different reverse-proxies such as nginx.
Crawlers must not be forced to resolve recaptcha and must proceed to the website's content with no delays.
In condition when...
advancedClientChecking
is not enabledcheckSuspiciousAddresses
is enabledaction
flag on checkSuspiciousAddresses
equals to check...then actual checking process will be infinite
When testing abuseipdb checks there is possibility that internal request to abuipdb API will take more time than it should and IP address will be blocked and then unblocked later which results in Jest error like "expected 200, got 403"
Authorized crawlers must proceed to the website without limiting ther requests rate.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.