Giter Club home page Giter Club logo

Comments (9)

nlvw avatar nlvw commented on June 18, 2024 2

@rpthms Good to know about the provider flag but there is a serious bug that accompanies this. When nft-geo-filter fails due to the SSL cert error it blocks all outgoing and incoming traffic when using the 'allow' flag/logic.

/bin/python3 /root/.timers/nft-geo-filter --allow --allow-established --exceptions "128.123.0.0/16" US

The resulting broken ruleset:
image

from nft-geo-filter.

rpthms avatar rpthms commented on June 18, 2024 1

You could change your IP blocks provider to "ipverse.net" for the time being. Download the latest version of the script and run:

nft-geo-filter --provider ipverse.net MC

from nft-geo-filter.

b0rZ84 avatar b0rZ84 commented on June 18, 2024 1

You could change your IP blocks provider to "ipverse.net" for the time being. Download the latest version of the script and run:

nft-geo-filter --provider ipverse.net MC

Cool. Thanks for the quick answer.

from nft-geo-filter.

rpthms avatar rpthms commented on June 18, 2024 1

Hey @nlvw, @b0rZ84

I've made an update to the script on a separate branch. Could you download the script from here (https://raw.githubusercontent.com/rpthms/nft-geo-filter/handle_ssl_exceptions/nft-geo-filter) and check if you're still getting locked out when using the --allow flag?

from nft-geo-filter.

nlvw avatar nlvw commented on June 18, 2024 1

@rpthms

That fixed the lockout issue I described.

from nft-geo-filter.

nlvw avatar nlvw commented on June 18, 2024

Also, after inspecting ipverse.net it looks like the site is not HTTPS enabled. This leaves it open to man-in-the-middle attacks (mainly concerned about packet injection) and other vulnerabilities that HTTP is susceptible too.

from nft-geo-filter.

b0rZ84 avatar b0rZ84 commented on June 18, 2024

from nft-geo-filter.

rpthms avatar rpthms commented on June 18, 2024

@rpthms Good to know about the provider flag but there is a serious bug that accompanies this. When nft-geo-filter fails due to the SSL cert error it blocks all outgoing and incoming traffic when using the 'allow' flag/logic.

/bin/python3 /root/.timers/nft-geo-filter --allow --allow-established --exceptions "128.123.0.0/16" US

The resulting broken ruleset:
image

Yikes, that is definitely an issue. Looks like we also need to restore the old sets when we get the urllib.error.URLError exception. I'll submit a patch shortly. Thanks for letting me know @nlvw

from nft-geo-filter.

rpthms avatar rpthms commented on June 18, 2024

Thanks for confirming @nlvw . I've merged the change.

from nft-geo-filter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.