Giter VIP home page Giter VIP logo

nginx_ipset_blacklist's People

Contributors

vasfed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nginx_ipset_blacklist's Issues

Doesn't work in nginx 1.9.2 and ipset 6.11

Hello

I have complied module into nginx and add to nginx.conf -

user root;
http {
...
blacklist "blacklist";
...
}

and nginx test failed with -

nginx: [emerg] cannot get ipset "blacklist" from kernel, check nginx to be running as root (ipset kernel module protocol version mismatch) in /etc/nginx/nginx.conf:17

ipset output -

ipset list blacklist |head -n 5
Name: blacklist
Type: hash:ip
Header: family inet hashsize 131072 maxelem 1048576
Size in memory: 3944600
References: 0

OS: Centos 6.6 x64.

How to resolve this problem?

Incompatibility with ipset v7

root@server:/test/nginx/sbin# ./nginx
nginx: [emerg] cannot get ipset "myblacklist" from kernel, check nginx to be running as root (ipset kernel module protocol version mismatch) in /test/nginx/conf/nginx.conf:16

root@server:/test/nginx/sbin# ipset -V
ipset v7.17, protocol version: 7

root@server:/test/nginx/sbin# uname -r
6.1.0-18-amd64

Incompatibility with ipset 6

Hi! We already have new version of IPSET from netfilter.

Can you upgrade this module? It's very useful fro nginx but is not compatible now =(

update

Hello Everyone,
Is possible update module to have ability set blacklist and whitelist under location directive in nginx ?
Example

  location = /my_dir {
          blacklist "nginx_blacklist_ip_acl"
          whitelist "nginx_whitelist_ip_acl"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.