Enabling Layer 3 Traceroute
[Manual]
DES-SERT enables the implementation of routing deamons in an underlay that is transparent to the network layer protocol. More...
Collaboration diagram for Enabling Layer 3 Traceroute:
![]() |
DES-SERT enables the implementation of routing deamons in an underlay that is transparent to the network layer protocol.
As the whole network "looks" fully meshed for the network layer, the common traceroute approach based on the IPv4 TTL or IPv6 Hop Limit will fail as these values are not reduced per hop.
This callback will decrease the particular value on each hop. When a datagram is received with value 1, the datagram will be decapsuled from the DES-SERT message and sent to the network stack of the operating system to send an ICMP-TIME-EXCEEDED message.
int dessert_mesh_ipttl(dessert_msg_t* msg, size_t len, dessert_msg_proc_t *proc, const dessert_meshif_t *meshif, dessert_frameid_t id);