Giter VIP home page Giter VIP logo

Comments (1)

aqk avatar aqk commented on July 28, 2024

Thank you for your comments. I have forwarded them to the BEP author, and
invited him to join in the discussion.

Adam Kelly
BitTorrent, Inc.

On Wed, Jun 24, 2015 at 12:11 PM, the8472 [email protected] wrote:

I have found some issues in BEP42
http://www.bittorrent.org/beps/bep_0042.html.

Once enforced, write tokens from peers whose node ID does not match its
external IP should be considered dropped.

This is somewhat ambiguous. Context clarifies it but it would be better to
phrase it as follows:

Once enforced, responses to get_peers requests whose node ID does not
match its external IP should be considered to not contain a token and thus
not be eligible as storage target. I.e. implementations should take care
that they find the closest set of nodes which return a token and whose
IDs matches their IPs and announce to those.

Additionally the prescribed behavior does not prevent an attacker who has
colluding nodes along the lookup path to effectively short-circuit the
lookup so that the terminal set consists of non-compliant nodes. This might
cause implementations that have lax "is lookup done" conditions to store
their announces on far-away nodes and thus rendering this BEP ineffective.

So it's probably necessary to also mandate stricter termination conditions
for a lookup.

Additionally the transition mechanism should be improved by stating:

Enforcing nodes MAY also announce to non-compliant nodes as long as
they also announce to the closest set of compliant nodes.


Reply to this email directly or view it on GitHub
#9.

Adam Kelly
BitTorrent, Inc.
-- Ship it!

from bittorrent.org.

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.