tracePath answers arrived over a cable that is down #1516
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1516
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tracePathdoes not consult link state. AfterlinkDownon a WAN uplink,pingto the internet correctly fails whiletracePathto the same destination still returnsok: true, arrived: true.Why it matters: any check or UI panel built on "did the trace arrive" passes over a pulled cable. A trace is the evidence an operator pastes into a ticket, so it must not be more optimistic than the data plane.
Where:
engine/simulator.jstracePath(~:3950) - the hop walk needs the same per-link verdict_deliveruses.Suggested fix: run each hop through the existing
Topology.linkState()verdict and stop the walk at the first down link, reporting the link and the reason rather than skipping it.