Sampling and clock drift
Why a trace has gaps
A sensor sees traffic at its own observation point, not necessarily every network path. Packets may be omitted by acquisition filters, intentional sampling, capture drops, truncated capture length or asymmetric routing. These are different causes with different evidence. Missing records are not automatically proof that an endpoint sent nothing.
Read a sample correctly
A teaching sensor keeps exactly every fourth packet from a stream of 12 packets. It retains packets 4, 8 and 12: three observed records. You cannot reconstruct the contents of the other nine. In real systems, sample rates and algorithms vary, and multiplying by four is not an exact recovery of an unknown total. Record the selection policy and whether counters are measured or estimated.
Correct a known time offset
Clock offset is a difference between two clock readings for the same instant; drift is change in offset over time. Assume sensor B is known to be 2 seconds ahead of UTC. Its reported 12:00:05 UTC corresponds to corrected 12:00:03 UTC. Preserve the reported value and record the applied correction. If the uncertainty is ±0.5 seconds, do not claim a precise order for events whose plausible time ranges overlap.
Investigate with corroboration
A trace with only client SYN packets might reflect packet loss, a one-direction observation point or a server that did not respond. Compare approved server status, sensor health, capture scope and routing context before choosing a cause. Timestamp precision is not timestamp accuracy: many decimal places can still describe the wrong time. Normalize time zones to UTC, but remember that changing the display zone does not fix a bad clock.
Practice: produce a cautious timeline
Compare two synthetic events: A reports 10:00:04 UTC with zero known offset and B reports 10:00:07 UTC with a +4 second offset. With offsets assumed exact, B corrects to 10:00:03 and precedes A. Now suppose both times have ±1 second uncertainty; their ranges overlap, so the order is not certain. Keep both original values. Next: use evidence about flows to reason about firewalls and segmentation.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Sampling and clock drift — knowledge check
Interpret fictional offline traffic evidence and its limits.
A sensor retains every fourth packet out of 12 in a controlled model. How many records remain?
A clock reports 12:00:05 UTC and is known to be 2 seconds fast. What is the corrected time?
Two corrected time intervals overlap. What is justified?
Why can a trace omit a server reply even if the server sent one?
How should analysts handle corrected timestamps?