Comments (3)
The problem is that the capture_output argument of subprocess.run() was introduced in Python 3.7. That should be trivial to fix. I'll do that as soon as I'm free.
The script will download IP blocks from ipdeny.com so as long as you haven't blocked outgoing traffic from your server, you should be okay.
from nft-geo-filter.
@frankofno I've just pushed an update to the script and replaced capture_output
with explicit stdout
and stderr
arguments. Could you try downloading the script (https://raw.githubusercontent.com/rpthms/nft-geo-filter/master/nft-geo-filter) and running it again?
from nft-geo-filter.
YES! you did it. 👍
Note: script is not working in the /root folder moved it to the /usr/local/bin and got an error message first. Looks like the --interface option is a must.
All good now, great work, exactly what i was lookin for :)
from nft-geo-filter.
Related Issues (20)
- multiple allow HOT 1
- Fallback provider (enhancement) HOT 7
- Add a dry-run option that outputs the new rules to stdout but doesn't modify anything HOT 2
- Netdev set (enhancement) HOT 3
- block by ASN name (ISP) or ASN number HOT 1
- SSL Cert expired on ipdeny.com HOT 9
- ipverse.net UA (Ukraine) bug HOT 10
- Persist IP source data across runs
- Table cleared and not restored while network connection is lost
- not all ip ranges included HOT 11
- ipverse new link structure
- Script Error on Fedora 37 with SELinux
- Adding country TR or RO throws error
- systemd timer
- Allow mode exceptions blocks traffic from private subnets HOT 6
- Allow outgoing traffic to blocked IP ranges HOT 13
- individual IPs HOT 5
- Allow two countries with third country's some IPs HOT 2
- Stop auto flush previous rules when we are adding new rules HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nft-geo-filter.