Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with ipset v7 #5

Open
saturngfish opened this issue Apr 16, 2024 · 5 comments
Open

Incompatibility with ipset v7 #5

saturngfish opened this issue Apr 16, 2024 · 5 comments

Comments

@saturngfish
Copy link

saturngfish commented Apr 16, 2024

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
@saturngfish
Copy link
Author

nginx is running as root
nginx запускает от root

@saturngfish
Copy link
Author

saturngfish commented Apr 16, 2024

root@server:/test/nginx/sbin# ipset list
Name: myblacklist
Type: hash:ip
Revision: 5
Header: family inet hashsize 1024 maxelem 65536 bucketsize 12 initval 0xf19ab4b7
Size in memory: 240
References: 0
Number of entries: 1
Members:
1.1.1.1

@saaiful
Copy link

saaiful commented May 17, 2024

@saturngfish Did this issue resolved ?

@saturngfish
Copy link
Author

@saaiful no

@saaiful
Copy link

saaiful commented May 18, 2024

@saaiful no

https://github.com/FredericDT/nginx_ipset_blacklist_rpc

Did you check this fork ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants