Skip to content

reverse_tunnels: Add EventReporter for reverse tunnel connection reporting#44342

Open
aakugan wants to merge 2 commits intoenvoyproxy:mainfrom
aakugan:reverse_tunnel_reporter
Open

reverse_tunnels: Add EventReporter for reverse tunnel connection reporting#44342
aakugan wants to merge 2 commits intoenvoyproxy:mainfrom
aakugan:reverse_tunnel_reporter

Conversation

@aakugan
Copy link
Copy Markdown
Contributor

@aakugan aakugan commented Apr 9, 2026

BUILDS ON #44327, depends on the protos introduced there.
Incremental DIFFS

Commit Message

Add EventReporter for reverse tunnel connection reporting

Additional Description:

Adds the EventReporter contrib extension, which aggregates reverse tunnel connection/disconnection events and fans them out to pluggable clients.

Key components:

  • ReverseTunnelReporterWithState / ReverseTunnelReporterClient: interfaces allowing multiple transport clients to share connection state from a single reporter. Clients receive incremental diffs and can request a full state snapshot so they dont have to be "stateful" other than the protocol they manage.
  • EventReporter: A basic implementation which does refcounting of connections by the name and stores in a map for interfacing with the clients.

Risk Level: Low, opt in extension.

Testing

Unit tests.

Signed-off-by: aakugan <aakashganapathy2@gmail.com>
@aakugan aakugan changed the title Reverse tunnel reporter reverse_tunnels: Add EventReporter for reverse tunnel connection reporting Apr 9, 2026
@aakugan aakugan force-pushed the reverse_tunnel_reporter branch from e36b38c to 66d9466 Compare April 9, 2026 04:53
Signed-off-by: aakugan <aakashganapathy2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant