Giter Club home page Giter Club logo

Comments (6)

dr-orlovsky avatar dr-orlovsky commented on July 23, 2024 1

It's a well known attacks: if you don't use SSL nothing guarantees that you connect to the correctly resolved server; any cafe WiFi can direct you on some other host. If you use SSL, you are depending on government authorities authenticating your server and your identity, and the certificate can be revoked/not postponed.

from lnp-node.

dr-orlovsky avatar dr-orlovsky commented on July 23, 2024

Well, the DNS is deliberately removed from LNP/BP Core library and nodes, to prevent occasional exposure of the node to DNS servers and deanonymization - as well as many other types of attacks. That's why only IP addresses and Onion.

The rule we follow: no outcoming traffic from the node other than peer traffic and RPC interface explicitly defined by the user.

One can write a simple script to resolve DNS into IP and paste it as a parameter to the node launching command.

PS. DNS, SSL, PKI delenda est

from lnp-node.

St333p avatar St333p commented on July 23, 2024

Thanks for the clear answer.

I would really appreciate if you could point out some documentation for the attacks you mention, whenever you have time for it.

from lnp-node.

dr-orlovsky avatar dr-orlovsky commented on July 23, 2024

https://en.wikipedia.org/wiki/DNS_spoofing

https://www.cse.wustl.edu/~jain/cse571-07/ftp/cafecrack/index.html

from lnp-node.

St333p avatar St333p commented on July 23, 2024

Should we document this design choice a bit better? I can take this task.

from lnp-node.

dr-orlovsky avatar dr-orlovsky commented on July 23, 2024

You are welcome

from lnp-node.

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.