How to automatically capture packets when timing thresholds are exceeded.

The Problem

Intermittent timing issues are hard to catch. You might see a glitch in a video stream or a momentary control system hiccup, but by the time you start a packet capture, the event is over.

The Solution: Traps

A trap monitors packet timing continuously and automatically captures traffic when a threshold is exceeded. Instead of watching a chart hoping to catch an anomaly, you set a trap and let the appliance catch it for you.

Triggered capture concept

How Traps Work

  1. Set a threshold — Define what constitutes an anomaly (e.g., IAT > 50 ms)
  2. Traffic flows — The appliance monitors timing continuously
  3. Threshold exceeded — When a packet violates the threshold, the trap triggers
  4. Capture saved — Packets before and after the event are saved
  5. Download and analyze — Examine the capture to understand what happened

Configuring a Trap

Basic Settings

SettingDescription
MetricWhat to monitor (inter-arrival time, jitter, etc.)
ThresholdValue that triggers the trap
ConditionGreater than, less than, equals
Pre-captureHow many seconds/packets before the trigger to include
Post-captureHow many seconds/packets after the trigger to include

Example: Video Frame Timing

To catch frames arriving late (> 40 ms IAT for 30 fps video):

SettingValue
MetricInter-arrival time
Threshold40 ms
ConditionGreater than
Pre-capture1 second
Post-capture1 second

This captures one second of traffic before and after any frame that arrives more than 40 ms after the previous frame.

Example: VoIP Jitter

To catch jitter spikes that could cause audio glitches:

SettingValue
MetricJitter
Threshold20 ms
ConditionGreater than
Pre-capture2 seconds
Post-capture2 seconds

Managing Captures

Storage

Captures are stored on the appliance's internal storage:

ModelStorageTypical Capacity
JT-10.1256 GB NVMeHours of 10G captures
JT-1.1128 GB NVMeHours of 1G captures

Storage is managed automatically. Old captures are retained until storage is needed.

Downloading

  1. Go to the Captures panel in the web interface
  2. Select a capture
  3. Click Download
  4. Save the PCAP file locally

Captures can be analyzed with Wireshark or other packet analysis tools.

Retention

SettingDescription
Max capturesMaximum number of captures to retain
Auto-deleteRemove oldest captures when limit reached
Manual deleteDelete specific captures via web interface

Trap Strategies

Catch Rare Events

For events that happen occasionally (once per hour or day):

  • Set trap threshold conservatively
  • Use long pre/post capture windows
  • Leave the trap armed continuously
  • Check periodically for triggered captures

Diagnose Known Issues

When you know timing degrades during specific operations:

  • Set threshold just above normal operation
  • Start the operation
  • Review any triggered captures immediately

Establish Baselines

To understand normal variation:

  • Set threshold very low (will trigger frequently)
  • Collect several captures
  • Analyze to understand typical timing behavior
  • Adjust threshold to catch only true anomalies

Multiple Traps

You can configure multiple traps simultaneously:

  • Different thresholds for different severity levels
  • Different metrics (IAT, jitter, loss)
  • Different filters (specific flows)

Each trap triggers independently when its conditions are met.

Analyzing Captures

Once you have a capture, open it in Wireshark or similar:

  1. Find the trigger point — Look for the packet that exceeded the threshold
  2. Examine context — What happened just before?
  3. Check timestamps — Verify timing with packet timestamps
  4. Look for patterns — Are there correlated events?

Common Findings

ObservationPossible Cause
Gap in sequence numbersPacket loss
Burst of packets after gapBuffering/queuing
Timing correlates with other flowsCongestion
Regular pattern to anomaliesPeriodic interference

Best Practices

  1. Start with known issues — Set traps for problems you've already observed

  2. Use pre-capture — Context before the event is often more useful than after

  3. Be specific — Filter to relevant traffic to reduce capture size

  4. Review regularly — Check for triggered captures periodically

  5. Save captures — Download important captures before they're auto-deleted

  6. Document findings — Note what each capture revealed

Limitations

  • Capture buffer size limits pre-capture duration
  • Very high packet rates may limit capture completeness
  • Storage capacity limits total retention

Further Reading

For detailed information about trap configuration, see the JitterTrap documentation.