Skip to content

capture: a connection to a DECLARED port landed on the anyport floor chain 12 s after an agent restart (blocks dropping anyport, proposal 037 Phase 4) #1094

Closed

Description

@bpalermo

Soak csi-039/2.0.0-75caf0f, TRIPLE roll: at 2026-10-01T05:41:55.436Z on main-worker-03, mp-dialer-fdbk2's connection to tcp-echo 10.96.11.228:9000 was served by cap_tcp_anyport_tcp:… instead of the per-port chain for 9000. w03's agent had restarted 12 s earlier (05:41:43) as part of the TRIPLE.

Why it matters: with the anyport floor removed (037 Phase 4) that connection would have been dropped — a declared-port chain was missing for ≥12 s after the agent came back (snapshot not yet rebuilt / LDS not yet re-delivered for the capture listener while the proxy kept serving the catch-all). New; one occurrence in 18 service rolls + 2 agent rolls. Evidence: L4 access log filter_chain_name:~"anyport" at that timestamp (VictoriaLogs); session scratchpad soak-csi-039/GRADE.md F2.

Suggested check: does the agent publish the capture listener with the per-port chains only after its FIRST full reconcile (dependency set + service list), leaving a window where the stale-but-live proxy listener is replaced by a chain-less one? If so, the agent should not update the capture listener until the chain set is complete (keep the previous listener), or the proxy's LDS should be held (initial_fetch_timeout semantics do not apply to updates).

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

  1. bpalermo commented on Oct 2, 2026

    @bpalermo
    OwnerAuthor

    Verified on the 2026-10-02 soak (main 231498f): the L4 access-log gate for any-port chain hits on declared ports returned 0 rows (control: 20 probe connections on :19999); per-port chains took 7,010 / 7,010 / 7,011 connections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions