Coder Social home page Coder Social logo

Comments (4)

pszal avatar pszal commented on August 19, 2024

Thanks, will investigate that

On 19.06.2015 12:26, Krishna Deepak wrote:

When |end2end_test.py| is run between 1,14(Intermediate node) and
1,18(Leaf node), it fails. It uses a PEER path for this case. The path
is 1,14 ---> 1,15 ---> 1,18. The first one is a PEER link while the
second one is a normal Parent-Child link.

I am attaching the output here:
https://gist.github.com/mskd96/0a7d44b092c2998a7a5c

AFAIK, the path information(IFID's) looks to be correct but the first
hop 127.1.14.83 corresponds to the edge router connected to 1,11 which
is the parent of 1,14. But, shouldn't it be the one corresponding to 1,15?
What might be the issue?


Reply to this email directly or view it on GitHub
https://github.com/netsec-ethz/scion/issues/182.

from scion.

mskd12 avatar mskd12 commented on August 19, 2024

@pszalach
I think the problem is with get_first_hop function in scion_elem.py. In this case, the first link is a PEER path, so the first opaque field to consider should be the peering one and not the one returned by get_first_hop_of. Maybe that case should be handled separately in this function like it is done while packet forwarding in router.py.
What do you think?

from scion.

pszal avatar pszal commented on August 19, 2024

@mskd96 yes, I had few minutes yesterday to look at this.

  1. as you found get_first_hop is wrong for this case, look at https://github.com/netsec-ethz/scion/compare/peer_link_fix
  2. but even then router handles this case incorrectly (i.e, first router does not update of pointer correctly). However it works when sender (i.e. AD 1,14) puts increase_of(2) (i.e., set of's pointer to correct hop opaque field) before sending.

Unfortunately, I'll not be able to fix that next week, so if you have a fix before please describe it or create a PR.

from scion.

pszal avatar pszal commented on August 19, 2024

#238

from scion.

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.