-
Notifications
You must be signed in to change notification settings - Fork 24
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
ipverse.net UA (Ukraine) bug #23
Comments
Hello, i get the same error with : ERROR - show_subprocess_run_error - Command stdout: ERROR - show_subprocess_run_error - Command stderr: After that my table seems ok, but people from US can stil use my server... Any help would be appreciate. EDIT : is it possible that's because ram is full on device ? |
@palight Could you try running the command with the TMPDIR environment variable? Just set the TMPDIR to some directory that's not a tmpfs directory like /tmp. You could use some random directory in your home directory
|
@frankofno Your issue is one with nftables unfortunately, apparently when there is an IP block overlap between multiple countries, nftables fails to add the IPs to the filter set. I'm not sure what to do here right now, I'll have to think a bit more about it. |
@rpthms ERROR - update_filter_set - Could not add the "fr" IPv4 blocks to the filter-v4 set in geo-filter ERROR - show_subprocess_run_error - Command stdout: ERROR - show_subprocess_run_error - Command stderr: Maybe i should add that i run it in an debian lxc container. |
@palight Could you open a new issue? Your issue is not the same one that @frankofno is facing. Also, in the new issue, could you post the debug log by running nft-geo-filter with the
|
is this due to the fact, that ipverse is generating "optimized blocks"? Because that never happend with ipdeny. I guess it's a sort issue? If I move the UA for example in the list, before RO, the message tells me RO is the problem. I guess @palight is experiencing the same issue with other countries.
|
Exactly the same. If i move FR before CH, I got the error for CH. |
I guess I might have to create separate sets for each country's IP blocks to fix this issue. That might take a while for me to get to. I can't think of any other easy to implement fixes right now. |
yes, looks that this is the error I also run today with following line:
When I fun the command with only US country in whitelist it works:
From |
i was wandering, if this bug is fixed with the latest version? I just got new errors when using IN (India) as country to block. |
I just updated to the latest version of your script and started using ipverse.net since ipdeny is having issues with the ssl. So I ran the script with the following options:
/usr/local/bin/nft-geo-filter --table-family netdev --table-name SPAMMERS --interface eth0 --no-ipv6 --provider ipverse.net CN RU RO UA TR IR ID MY VN TH SG IN
I get that error message showing up:
ERROR - update_filter_set - Could not add the "ua" IPv4 blocks to the filter-v4 set in SPAMMERS
WARNING - restore_old_sets - No old sets detected. Setting the SPAMMERS table as dormant!
ERROR - show_subprocess_run_error - Failed to run: (1, ['/usr/sbin/nft', '-f', '/tmp/tmpo797kab5/tmpetgiynsf'])
ERROR - show_subprocess_run_error - Command exit status: 1
ERROR - show_subprocess_run_error - Command stdout:
ERROR - show_subprocess_run_error - Command stderr:
netlink: Error: Could not process rule: No space left on device
Although it looks like, all IPS and country blocks where added correctly. Not sure what to do with that messages.
I can not use UA (Ukraine) in the country list. If I remove UA from the block list, everything is working fine.
The text was updated successfully, but these errors were encountered: