dannysheehan / iptables-ipset-blacklists

Script that uses iptables ipset to block IP addresses in known blacklists. Easily add new blacklist sources. Includes whitelist override.
18 stars 7 forks source link

Kernel error received: Operation not permitted #1

Open Axxon opened 9 years ago

Axxon commented 9 years ago

Hello first thanks for share, i tried your script on my ovh vps server. But into /var/lib/blacklists/blacklists.out :

[/usr/local/bin/blacklists.sh]: ftmon.org blacklist script started
ipset v6.12.1: Kernel error received: Operation not permitted
ipset v6.12.1: Kernel error received: Operation not permitted
-- creating bad_ips ipset as does not exist.
ipset v6.12.1: Kernel error received: Operation not permitted
-- creating bad_nets ipset as does not exist.
ipset v6.12.1: Kernel error received: Operation not permitted
ipset v6.12.1: Kernel error received: Operation not permitted
ipset v6.12.1: Kernel error received: Operation not permitted
-- loaded 0 entries from /var/lib/blacklists/whitelist.txt
ipset v6.12.1: Kernel error received: Operation not permitted
-- loaded 0 entries from blacklist
-- loaded 0 entries from /var/lib/blacklists/blacklist.txt
-- loaded 0 entries from /var/log/psad/top_attackers
-- loading lists-blocklist-de-all from /var/lib/blacklists/lists-blocklist-de-all.txt
-- loading lists-blocklist-de-all - 31320 /var/lib/blacklists/lists-blocklist-de-all.txt.filtered entrie

Sorry i'm a newbie in security so i don't know what's wrong. Do you have a idea ?

Dexus commented 9 years ago

Hi @Axxon this is a "bug" in VMs.

Take a look at https://bugzilla.openvz.org/show_bug.cgi?id=2644

Axxon commented 9 years ago

Thank you for the response i will see that.

kang000feng commented 5 years ago

https://bugzilla.openvz.org/show_bug.cgi?id=2644

hello @Dexus , can you please tell me how to fix this error? cause the link you mentioned is unreachable, hello @Axxon , MAY i ask do u find a solution for this issue ? thx very much for the help.