Giter VIP home page Giter VIP logo

Comments (3)

LeeSmet avatar LeeSmet commented on June 14, 2024

The main thing we want to do here is No route to host and TTL expired. These need special handling, since they are generated by hosts which act as hops usually. Icmp defines that (part of) the original packet is included in the icmp body, but since that packet is encrypted, the intermediate can't send the actual data. Instead it could send the encrypted data, and then the receiver needs to decrypt the data and reassemble the packet.

A basic test shows that TTL based tools such as traceroute/tracepath can work partially by not setting a body and injecting the packet in the regular L3 stream. The problem is that intermediate hops are not properly shown. For this, we will probably need to implement the solution described above.

from mycelium.

LeeSmet avatar LeeSmet commented on June 14, 2024

Currently traceroute works out of the box, though the implementation needs to be cleaned up a lot (right now it's hacked in there as a POC). The main problem is we can't truncate packets which are too large, so in this case we'll have to return just the ICMP with no data. this is not according to spec, but the best we can do as we can't access the raw intermediate data.

from mycelium.

LeeSmet avatar LeeSmet commented on June 14, 2024

Current state: mechanism to support this is done, Time exceeded is implemented. No route to host is still left to do

from mycelium.

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.