{
  "format": "graff.animation/1",
  "id": "missing-packet-r2",
  "title": "A missing TCP reply · R2 · last seen",
  "description": "The request reaches the service through the gateway, R1 and R2. The service replies. R2 records its SYN-ACK on egress and R1 records no matching arrival. The dotted expected leg has no moving packet.",
  "width": 900,
  "height": 345,
  "posterStep": "missing",
  "nodes": [
    {
      "id": "client",
      "label": "Client",
      "x": 18,
      "y": 68,
      "w": 134,
      "h": 62,
      "detail": "192.0.2.10",
      "kind": "device"
    },
    {
      "id": "gateway",
      "label": "Gateway",
      "x": 201,
      "y": 68,
      "w": 134,
      "h": 62,
      "detail": "Inner TCP",
      "kind": "device"
    },
    {
      "id": "r1",
      "label": "R1",
      "x": 384,
      "y": 68,
      "w": 134,
      "h": 62,
      "detail": "Client side",
      "kind": "device"
    },
    {
      "id": "r2",
      "label": "R2",
      "x": 567,
      "y": 68,
      "w": 134,
      "h": 62,
      "detail": "Service side",
      "kind": "device"
    },
    {
      "id": "service",
      "label": "Service",
      "x": 750,
      "y": 68,
      "w": 134,
      "h": 62,
      "detail": "Port 443",
      "kind": "device"
    },
    {
      "id": "ingress",
      "label": "R1 ingress",
      "x": 285,
      "y": 241,
      "w": 195,
      "h": 64,
      "detail": "No matching SYN-ACK",
      "kind": "data"
    },
    {
      "id": "egress",
      "label": "R2 egress",
      "x": 565,
      "y": 241,
      "w": 195,
      "h": 64,
      "detail": "SYN-ACK captured",
      "kind": "data"
    }
  ],
  "edges": [
    {
      "id": "clienthop",
      "from": "client",
      "to": "gateway",
      "points": [
        [
          152,
          99
        ],
        [
          201,
          99
        ]
      ],
      "kind": "solid"
    },
    {
      "id": "gatewayhop",
      "from": "gateway",
      "to": "r1",
      "points": [
        [
          335,
          99
        ],
        [
          384,
          99
        ]
      ],
      "kind": "solid"
    },
    {
      "id": "routerhop",
      "from": "r1",
      "to": "r2",
      "points": [
        [
          518,
          99
        ],
        [
          567,
          99
        ]
      ],
      "kind": "solid"
    },
    {
      "id": "servicehop",
      "from": "r2",
      "to": "service",
      "points": [
        [
          701,
          99
        ],
        [
          750,
          99
        ]
      ],
      "kind": "solid"
    },
    {
      "id": "answer",
      "from": "service",
      "to": "r2",
      "points": [
        [
          815,
          130
        ],
        [
          815,
          181
        ],
        [
          654,
          181
        ],
        [
          654,
          130
        ]
      ],
      "kind": "reply",
      "label": "SYN-ACK",
      "labelAt": [
        747,
        173
      ]
    },
    {
      "id": "tapout",
      "from": "r2",
      "to": "egress",
      "points": [
        [
          611,
          130
        ],
        [
          611,
          241
        ]
      ],
      "kind": "reply",
      "label": "Seen",
      "labelAt": [
        590,
        200
      ]
    },
    {
      "id": "missingleg",
      "from": "egress",
      "to": "ingress",
      "points": [
        [
          565,
          270
        ],
        [
          480,
          270
        ]
      ],
      "kind": "unobserved",
      "label": "Expected",
      "labelAt": [
        522,
        257
      ]
    }
  ],
  "steps": [
    {
      "id": "send",
      "title": "A client sends a SYN",
      "note": "The first packet requests a TCP connection to the service. Its sequence number lets us identify the same SYN as it crosses the lab.",
      "focus": [
        "client",
        "clienthop"
      ],
      "travelers": [
        {
          "id": "syn1",
          "edge": "clienthop",
          "symbol": "envelope"
        }
      ],
      "arrivals": [
        "gateway"
      ],
      "motionMs": 800,
      "holdMs": 7550
    },
    {
      "id": "forward",
      "title": "The gateway forwards the request",
      "note": "The gateway’s R1-facing interface records the same client SYN. This lab follows the inner TCP packet.",
      "focus": [
        "gatewayhop"
      ],
      "travelers": [
        {
          "id": "syn2",
          "edge": "gatewayhop",
          "symbol": "envelope"
        }
      ],
      "arrivals": [
        "r1"
      ],
      "motionMs": 650,
      "holdMs": 5250
    },
    {
      "id": "cross",
      "title": "The SYN crosses from R1 to R2",
      "note": "The R1 egress and R2 ingress captures both contain the SYN. The forward direction across this link is working.",
      "focus": [
        "routerhop"
      ],
      "travelers": [
        {
          "id": "syn3",
          "edge": "routerhop",
          "symbol": "envelope"
        }
      ],
      "arrivals": [
        "r2"
      ],
      "motionMs": 700,
      "holdMs": 6150
    },
    {
      "id": "receive",
      "title": "The service receives the SYN",
      "note": "The service-facing capture contains the original request. Its source port and sequence still match the first frame.",
      "focus": [
        "servicehop"
      ],
      "travelers": [
        {
          "id": "syn4",
          "edge": "servicehop",
          "symbol": "envelope"
        }
      ],
      "arrivals": [
        "service"
      ],
      "motionMs": 700,
      "holdMs": 5550
    },
    {
      "id": "reply",
      "title": "A matching SYN-ACK comes back",
      "note": "The service replies with the next client sequence number it expects. The returning packet passes through R2.",
      "focus": [
        "answer"
      ],
      "travelers": [
        {
          "id": "ackreturn",
          "edge": "answer",
          "symbol": "envelope"
        }
      ],
      "arrivals": [],
      "motionMs": 950,
      "holdMs": 5550
    },
    {
      "id": "observe",
      "title": "R2 records the reply leaving toward R1",
      "note": "The R2 egress capture contains three matching SYN-ACK transmissions during this connection attempt. Here is the first one.",
      "focus": [
        "tapout",
        "egress"
      ],
      "travelers": [
        {
          "id": "ackobserved",
          "edge": "tapout",
          "symbol": "dot"
        }
      ],
      "arrivals": [
        "egress"
      ],
      "motionMs": 780,
      "holdMs": 5850
    },
    {
      "id": "missing",
      "title": "R1 never records a matching arrival",
      "note": "The open, dotted leg is the expected return path. It carries no packet in the animation because the R1-facing capture contains no matching SYN-ACK.",
      "focus": [
        "missingleg",
        "ingress"
      ],
      "travelers": [],
      "arrivals": [],
      "motionMs": 0,
      "holdMs": 7550
    },
    {
      "id": "retry",
      "title": "The client repeats its original SYN",
      "note": "The next client SYN reuses the original sequence number about a second later. No final handshake ACK appears in the capture.",
      "focus": [
        "client",
        "clienthop"
      ],
      "travelers": [
        {
          "id": "synretry",
          "edge": "clienthop",
          "symbol": "envelope"
        }
      ],
      "arrivals": [],
      "motionMs": 820,
      "holdMs": 6650
    }
  ]
}
