Git Product home page Git Product logo

Comments (7)

northys avatar northys commented on May 19, 2024 1

That was 10 years ago, I think we can close this now.

Bot tried to be funny... :D

Parse and provide /etc/hosts file access: lookup by Domain, lookup by IP

+1 just wanted to open an issue. i had to solve it by custom overrides provided by nextdns.

from portmaster.

github-actions avatar github-actions commented on May 19, 2024

That was 10 years ago, I think we can close this now.

from portmaster.

dhaavi avatar dhaavi commented on May 19, 2024

Sorry, issue was closed by misconfigured bot.

from portmaster.

dhaavi avatar dhaavi commented on May 19, 2024

Yes, /etc/hosts support would be nice.

One thing I am thinking about here is how to detect malicious entries - is there an easy and clean way to do it?

For example, only use these entries when the global resolver does not have a record (ie. NXDOMAIN)?
Or simpler, make it opt-in, so devs that want to have it, need to enable it and make sure themselves that everything is OK.

The goal here is protect the average user that has no idea about /etc/hosts.

from portmaster.

northys avatar northys commented on May 19, 2024

only use these entries when the global resolver does not have a record (ie. NXDOMAIN)

I use hosts to override. E.g. when I need to test new server after transfer on production domain before switching DNS.

The goal here is protect the average user that has no idea about /etc/hosts.

BFU has "empty" hosts file only with localhost (which now works somehow, maybe hardcoded). If they use it and don't know what they do they probably try to block access to XYZ Company's Keyservers because thats how you crack XYZ :D

how to detect malicious entries - is there an easy and clean way to do it?

you mean some added by malware or something? i have no idea if this is used for phishing or anything like that.

from portmaster.

dhaavi avatar dhaavi commented on May 19, 2024

I use hosts to override. E.g. when I need to test new server after transfer on production domain before switching DNS.

I see. Which also means we need to reload the file when it changes.

BFU has "empty" hosts file only with localhost (which now works somehow, maybe hardcoded). If they use it and don't know what they do they probably try to block access to XYZ Company's Keyservers because thats how you crack XYZ :D

This should be accomplished with the Portmaster rules instead.

you mean some added by malware or something? i have no idea if this is used for phishing or anything like that.

Malware has done that in the past. Not sure if that is still a thing, as HTTPS has come a long way.

from portmaster.

Raphty avatar Raphty commented on May 19, 2024

I am cleaning out old issues. If you feel this issue should not have been closed let me know.

Please keep in mind, the free version of Portmaster only has limited support.
For free users our active Discord community as well as the chat bot are the fastest and best way to get their help. https://discord.gg/safing
If you find our work brings value to you, please consider supporting it by purchasing Plus or Pro Packages https://safing.io/pricing/.
If you are already a subscriber, first Thank You! and also if you want priority support pleas send in an email and let me know your username so I can prioritize your request accordingly.

from portmaster.

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.