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

Adding country TR or RO throws error #36

Open
frankofno opened this issue Jan 3, 2024 · 0 comments
Open

Adding country TR or RO throws error #36

frankofno opened this issue Jan 3, 2024 · 0 comments

Comments

@frankofno
Copy link

When blocking the following countries:

/usr/local/bin/nft-geo-filter --table-family netdev --table-name SOMETHING --interface xxxxx --no-ipv6 --provider ipverse.net CN RU RO TR IR ID MY VN TH SG IN UA

As soon as I add RO or TR to the list, I get


ERROR - update_filter_set - Could not add the "tr" 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/tmpegg9lql6/tmp08la9pc5'])
ERROR - show_subprocess_run_error - Command exit status: 1

ERROR - show_subprocess_run_error - Command stdout: 

ERROR - show_subprocess_run_error - Command stderr: 
/tmp/tmpegg9lql6/tmp08la9pc5:2:5-13: Error: Could not process rule: Directory not empty
set filter-v4 {
    ^^^^^^^^^

Using only RO or TR works fine.
Using CN RU TH MY SG works fine.
But not CN RU RO TR IR ID MY VN TH SG IN UA

Any hint what could be the problem?

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

1 participant