blocklist-ipsets icon indicating copy to clipboard operation
blocklist-ipsets copied to clipboard

Config file not being generated and how to test filtering is really working

Open aronmgv opened this issue 6 years ago • 2 comments

Hey,

I would like to confirm why the config file in /etc/firehol/update-ipsets.conf was not generated. I followed up the installation guide - all went through.

Tried: update-ipsets update-ipsets -r update-ipsets -f /etc/firehol/update-ipsets.conf

Running as root. None of the above generates the config file (checked also /root).

I used before couple IP sets, and when running command update-ipsets it only mentions my previously enabled ipsets, not yours..

root@caradhras:[/tmp/iprange.git]: update-ipsets -r

Wed Jan 16 12:41:57 CET 2019: /usr/sbin/update-ipsets

Getting list of active ipsets...
Found these ipsets active: BANNED FAIL2BAN BLACKLIST WHITELIST

I am running a TeamSpeak server with proxy/vpn detection script. When I try to test it on my server, I go through - then I test the TeamSpeak and there I get banned. So my question is if this is working for me and how to properly test it.

However it says the list was enabled:

root@caradhras:[/tmp/iprange.git]: update-ipsets enable geolite2_country
 WARNING : geolite2_country: is already enabled
root@caradhras:[/tmp/iprange.git]:

Appreciate and thanks, Michal

aronmgv avatar Jan 16 '19 11:01 aronmgv

The same issue here.

After building on Debian 9 the /etc/firehol/update-ipsets.conf isn't generated.

Additionaly, it seems there is a bug in enabling the lists. Some lists get flagged as enabled when using "update-ipsets enable XYZ", but they really aren't enabled. XYZ.sources file is empty and on the start of update script it doesn't list XYZ as enabled.

btoplak avatar Feb 24 '19 10:02 btoplak

Same problem on Ubuntu 16.04

I can't find/get a way to have a working update-ipsets.conf

I mean, I didn't even found an example online.

eagle1maledetto avatar Jun 09 '20 15:06 eagle1maledetto