The quick download:
Traceroute InSession delivers network path diagnostics that network engineers can finally trust.
-
Standard TCP traceroute often reports false packet loss because firewalls and load balancers treat diagnostic probes differently from real application traffic.
-
InSession runs its probes through an established TCP session, so a single flow follows a consistent route and looks like ordinary application traffic to security devices.
-
SACK feedback and a custom mapping algorithm tie every returning ACK back to its original probe, and a sequential TCP ping cleans up final-hop readings.
-
Run periodic TCP and InSession traceroutes side by side in LM Internet Performance Monitoring to separate network loss from diagnostic noise.
Traceroute InSession: A traceroute tool for modern networks
Traceroute is a standard tool for investigating latency, packet loss, and routing changes, but its output must be interpreted carefully. Firewalls may drop diagnostic probes without affecting application traffic, while per-flow load balancers may send probes across different routes. A trace can therefore show missing responses or unstable paths even when the destination remains reachable.
Traceroute InSession improves diagnostic accuracy by sending probes through an established TCP connection. This makes the probes resemble application traffic and increases the chance that they follow a consistent path. The tool also uses TCP Selective Acknowledgment (SACK) feedback and a custom mapping algorithm to associate each ACK with its original probe.
This article examines why standard TCP traceroute produces false packet-loss readings, how InSession works, and how you can interpret its results during network troubleshooting.
Standard traceroute vs. Traceroute InSession
Standard traceroute can show false packet-loss readings for some IP addresses because of firewalls or load-balanced routers. In the cited research and throughout this article, these devices are referred to as load balancers. For example, here is a standard TCP traceroute to bing.com.
Standard TCP traceroute to bing.com. Note the false packet loss near the destination and the high variability between hops.

Catchpoint (a LogicMonitor company) engineers reviewed numerous RFCs—the formal documents that define Internet protocols and standards—along with relevant research. They built Traceroute InSession to address the problems they identified.
The design combines an established TCP session with TCP SACK feedback. Its main contribution is an accessible, single-tool implementation and a custom probe-to-ACK mapping algorithm. Here is the same trace with InSession.

Traceroute InSession to bing.com. Compare the cleaner path and the absence of packet loss at the destination.
Compared with the standard TCP output, the InSession path shows fewer hop-to-hop variations and no false packet loss at the destination. The following sections explain the protocol history behind this difference and how InSession produces its results.
A brief history of Traceroute
Traceroute has gone through several variations since its introduction in 1988. Its development reflects an ongoing balance between diagnostic value and network security. As vendors strengthened firewalls and routers in response to new threats, some of those defenses changed how diagnostic probes were handled. Traceroute implementations then changed to work within those network policies.
If you are new to traceroute and want the fundamentals, including how to interpret its results, see our guide on how to read a traceroute. Traceroute was created in December 1988 by Van Jacobson, one of the first inductees into the Internet Hall of Fame in 2012. His goal was to answer a troublesome question: “Where are the packets going?”
“I cobbled up a program to trace out the route to a host. It works by sending a udp packet with a ttl of one & listening for an icmp “time exceeded” message. If it gets one, it prints the source address from the icmp message, then bumps the ttl by one.” Van Jacobson
UDP probes were originally preferred to ICMP echo requests, presumably because routers could legitimately refuse to send ICMP TTL Exceeded messages in response to ICMP ECHO messages. The introduction to RFC 792, which defines the Internet Control Message Protocol, explains that ICMP messages report datagram-processing errors and avoids generating ICMP messages in response to other ICMP messages. Although ICMP ECHO messages suited ping, they were not originally intended to trace a path from a source to a destination.
Later, RFC 1122, Requirements for Internet Hosts, loosened that restriction, and traceroute variants using ICMP probes emerged.
Enter tcptraceroute
As Internet threats grew, firewalls became more common. These defenses improved security, but they also changed the results traceroute could obtain. Some firewalls filter ICMP and UDP probes or deprioritize ICMP echo packets. A traceroute may therefore show an incomplete path, apparent packet loss, or high round-trip time caused by probe-handling policies rather than a delivery failure.
For this reason, tcptraceroute was introduced in mid-2001. It sends TCP SYN packets instead of UDP or ICMP ECHO packets, which can pass through common firewall filters when addressed to ports serving inbound connections, as described in the tcptraceroute GitHub documentation.
Since then, several groups have built and maintained traceroute variants for different operating systems. Windows tracert uses ICMP packets. Most Linux distributions offer the modern version of traceroute, initially written in 2001 and maintained by Dmitry Butskoy, with support for UDP, ICMP, and TCP probes. Academic work has also addressed specific problems, including path accuracy with Paris traceroute, NAT detection with Dublin traceroute, and IP aliasing with Pamplona traceroute.
Why TCP traceroute can report false packet loss
TCP improved traceroute reachability through common firewall policies, but it did not resolve every source of misleading path data.
How TCP half-open probes work
Both tcptraceroute and Butskoy’s traceroute use the TCP half-open technique. They send TCP SYN packets with an increasing time to live (TTL) for each hop until the packets reach the destination. The destination usually responds with TCP RST if nothing is listening on the selected port, or TCP SYN+ACK if a service is available. A firewall may also drop the SYN packet without returning a response.
If the destination replies with SYN+ACK, the sender returns TCP RST, so the connection is never fully established. This technique resembles the opening of a TCP connection and is less likely to be filtered when an active service is listening on the chosen destination port, such as a website on port 80.
Why firewalls may reject TCP probes
Modern firewalls and NAT configurations can interpret repeated SYN packets as a flood, port scan, or intrusion attempt, as described in the TCP Sidecar research paper. The risk increases when a tool sends concurrent probes. Butskoy’s traceroute, for example, sends 16 probes in parallel by default.
When a destination drops these probes, traceroute displays missing responses that may look like packet loss. Yet a fully established TCP connection to the same destination may carry traffic without a network problem.
The difference is important: forwarding loss means packets are dropped in transit, while a router or destination that declines to answer a diagnostic probe creates a missing response without proving a delivery failure.
How established sessions improve probe reachability
Several later tools and algorithms addressed this problem by sending probes through established TCP sessions. Paratrace, TCP Sidecar, 0trace, and Service traceroute followed this approach. As the authors of the TCP Sidecar paper explain, probes sent within TCP connections can traverse firewalls and NATs that reject conventional traceroute probes.
This method has a tradeoff: it requires an active TCP session. A tool can deliberately open a connection and exchange application data, as camotrace does, but that adds work for the destination application. Traceroute tools generally try to minimize that impact.
Why load balancers change traceroute paths
TCP half-open traceroute has another limitation. Each SYN probe uses a different TCP source port, one of the fields that load balancers may use to choose a path. Separate probes can therefore travel along different routes.
If only one probe reaches the destination with a given TTL, the final hop may show a single round-trip-time value. The missing values may reflect load-balancer path selection rather than packet loss to and from the destination. A diagnostic method must therefore address both firewall treatment and per-flow route consistency.
How Traceroute InSession works
Traceroute InSession addresses these problems by opening an established TCP session, sending probes through that session, and using SACK feedback to associate each reply with its original probe. The design seeks to measure the route with minimal impact on the destination application.
Start with an established TCP session
Catchpoint engineers extended Butskoy’s traceroute, a feature-rich tool already familiar to the Linux community. Instead of sending a sequence of half-open SYN probes, InSession establishes a TCP session from the source to the destination and runs traceroute through that connection.
A firewall sees an established TCP session carrying expected TCP traffic. Keeping the probes within one flow also makes a per-flow load balancer more likely to choose a consistent route, an objective shared with Paris traceroute.
Keep probe data from reaching the application
The next challenge is obtaining a reply from the destination while keeping the connection idle and short-lived. InSession uses TCP congestion-control behavior to create a gap in the stream of sequence numbers.
TCP delivers ordered data to an application. When the receiver finds a gap, it queues later data until the missing sequence arrives and sends an ACK that identifies the missing sequence number. If TCP Fast Retransmit/Fast Recovery is in use, the receiver should send an immediate duplicate ACK when an out-of-order segment arrives, as specified in RFC 5681.
Because the deliberate gap remains unfilled, the probe data is not passed to the destination application. The receiver can still return the TCP feedback required for the measurement.
Use SACK to distinguish probe responses
The ACKs generated by the destination can contain the same acknowledgment number, so that number alone cannot associate a response with one of several concurrent probes. Preserving concurrent probes matters because they keep the traceroute fast.
To distinguish the responses, the design draws on tracebox and the TCP Selective Acknowledgment option introduced in RFC 2018. SACK tells the sender which non-contiguous blocks of sequence space the receiver has accepted and queued.
Each SACK block contains the lowest sequence number received, called the left edge, and the next sequence number not yet received, called the right edge. If InSession sends probes with a deliberate gap and increasing sequence numbers, each probe that reaches the destination can produce a distinct SACK interval.

How SACK left and right edges map each returning ACK back to the probe that triggered it.
Map ACKs back to the original probes
Responses may arrive out of order, and their SACK intervals may be disjointed. InSession therefore collects the returning ACKs until the traceroute finishes, orders them by interval size, and assigns them to probes based on the interval contents.
Consider a case with six probes and six ACKs. The mapping algorithm begins with the ACK carrying SACK block [8-9[ and maps it to probe 8, the only probe that could produce that interval. The right edge, 9, identifies the first sequence number not received, while the left edge identifies the first sequence number received.
The algorithm then examines the ACK containing intervals [4-5[ and [8-9[. Since probe 8 already has a match, probe 4 is the only remaining source for the new interval. The same process continues until the algorithm has matched the probes that reached the destination.

Six probes and six ACKs, ordered by interval size, showing how the mapping algorithm assigns each ACK to a probe.
Verify the final hop with a sequential TCP ping
Not every host uses TCP Fast Retransmit/Fast Recovery. A destination may delay an ACK, producing a SACK interval that covers several probes. That response can be difficult to distinguish from ordinary packet loss.

A delayed ACK can carry a SACK interval covering multiple probes, which is hard to distinguish from forwarding loss.
InSession addresses this final-hop ambiguity with an initial sequential TCP ping. Sequential probes give the destination more time to generate each ACK. The traceroute then replaces its final-hop values with the TCP ping results, producing a stronger measurement of destination loss.
Traceroute InSession capabilities
For network troubleshooting, Traceroute InSession:
- Reduces false packet loss introduced by firewall and router security policies.
- Reduces path variation caused by per-flow load balancing by keeping probes within one TCP flow.
- Uses TCP traffic that resembles an application connection.
- Returns traceroute results with minimal delay.
- Combines these behaviors with the features of a traditional traceroute tool.
Limitations to keep in mind
These caveats help you read InSession results with confidence.
- InSession works around per-flow load balancing, though per-packet load balancing can still split probes across paths.
- It reports the paths it observes and cannot prove it has found every possible path.
- Results are most useful when traceroutes are collected repeatedly, from multiple vantage points, and viewed together, for example as a network graph.
Access Traceroute InSession
You do not need to be a LogicMonitor customer to use InSession. In keeping with the ethos of traceroute’s original author, Catchpoint open-sourced its enhanced version of Dmitry Butskoy’s traceroute. The Pietrasanta-traceroute repository on GitHub contains the source code and build instructions. Catchpoint engineers named the project after Pietrasanta, where it was developed.
Traceroute InSession launched in the Catchpoint platform with the Eagle release in May 2023. It is now available through LM Internet Performance Monitoring. Teams can run periodic TCP and InSession traceroutes and compare the results. The following packet-loss trend targeting Bing.com was captured at a specific time and is included as an illustration, not as a current statement about Bing’s network.
Packet loss for TCP traceroute versus InSession targeting Bing.com. This example was captured at a specific time and is illustrative, not a current statement about Bing’s network.
How InSession supports broader incident investigation
Reliable traceroute data is one source of evidence in a wider investigation. When path diagnostics contain fewer misleading loss signals, teams can better assess whether degradation originates within their environment, along an Internet path, or at an external dependency.
Consider a regional application slowdown. A synthetic test reports degraded performance from several locations. InSession records a consistent latency increase beyond the enterprise edge, while infrastructure telemetry remains healthy. Together, these signals direct the investigation toward a network provider or Internet dependency instead of the application team.
This workflow matters because modern applications depend on cloud services, CDNs, SaaS platforms, DNS, BGP routing, and third-party APIs that the application owner does not control. InSession contributes outside-in path evidence that teams can compare with infrastructure health, synthetic monitoring, DNS, BGP, and user-experience data.
LM Internet Performance Monitoring, brings Internet-path visibility alongside LogicMonitor’s hybrid infrastructure observability. A practitioner-focused follow-up article also compares InSession with TCP Sidecar and Paris traceroute and discusses further technical limitations.
Better traceroute evidence supports better incident decisions
Standard traceroute is a valuable diagnostic tool, but firewalls and load balancers can make its results difficult to interpret. Traceroute InSession improves those results by using an established TCP session, maintaining one flow through per-flow load balancers, mapping responses with SACK, and checking destination loss with a sequential TCP ping.
Within LM Internet Performance Monitoring, that path evidence complements infrastructure and digital-experience telemetry. Teams gain clearer context for deciding whether an incident begins in their own environment, across an Internet route, or with an external service, reducing false leads and supporting a more focused response.
See Traceroute InSession expose the network path evidence your incident investigations have been missing.
LM Internet Performance Monitoring brings outside-in Internet path visibility into LogicMonitor’s hybrid observability, helping your team pinpoint where an issue starts and focus incident response on the right network, service, or provider.
FAQs
Why does standard traceroute sometimes show packet loss that is not really there?
Firewalls and load-balanced routers often treat diagnostic probes differently from application traffic. A firewall may drop or deprioritize probes, and a per-flow load balancer may send each probe down a different route. The result can look like packet loss or an unstable path even when the destination is fully reachable.
How does Traceroute InSession improve accuracy?
InSession opens an established TCP session and sends its probes through that single connection, so the probes resemble real application traffic and are more likely to follow a consistent route. It uses TCP SACK feedback and a custom mapping algorithm to match every returning ACK to its original probe, then verifies the final hop with a sequential TCP ping. This reduces false packet loss and path variation.
How should I investigate loss or latency reported by Traceroute InSession?
Treat the traceroute as one source of evidence, not a standalone verdict. Compare changes in path latency or loss with synthetic-test results, infrastructure telemetry, DNS and BGP data, and measurements from other locations. If the issue appears beyond your network edge while internal infrastructure remains healthy, the evidence may point to an ISP, cloud provider, CDN, or other external dependency.




