igor-nikolaychuk / nginx-instaban Goto Github PK
View Code? Open in Web Editor NEWEfficient ddos protection daemon for nginx
License: GNU General Public License v3.0
Efficient ddos protection daemon for nginx
License: GNU General Public License v3.0
sir .
how to install source code install ?
Hi, can this run on centos5.6 platform?
sir .
Scanning dependencies of target nginx-instaban
[ 12%] Building CXX object CMakeFiles/nginx-instaban.dir/main.cpp.o
In file included from /root/nginx-instaban/main.cpp:10:0:
/root/nginx-instaban/IpHashTableGeneric.h: In constructor ‘IpHashTableGeneric::IpHashTableGeneric(uint)’:
/root/nginx-instaban/IpHashTableGeneric.h:34:20: error: there are no arguments to ‘pow’ that depend on a template parameter, so a declaration of ‘pow’ must be available [-fpermissive]
ptrCount = pow(2, bitCount);
^~~
/root/nginx-instaban/IpHashTableGeneric.h:34:20: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/root/nginx-instaban/main.cpp: In function ‘int main()’:
/root/nginx-instaban/main.cpp:104:15: error: ‘INT_MAX’ was not declared in this scope
sleep(INT_MAX);
^~~~~~~
/root/nginx-instaban/main.cpp:104:15: note: suggested alternative: ‘WINT_MAX’
sleep(INT_MAX);
^~~~~~~
WINT_MAX
make[2]: *** [CMakeFiles/nginx-instaban.dir/build.make:63: CMakeFiles/nginx-instaban.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/nginx-instaban.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
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.