cloudflared-mirror/connection
Luis Neto 4b0b6dc8c6 TUN-8728: implement diag/tunnel endpoint
## Summary
The new endpoint returns the current information to be used when calling the diagnostic procedure.
This also adds:
- add indexed connection info and method to extract active connections from connTracker
- add edge address to Event struct and conn tracker
- remove unnecessary event send
- add tunnel configuration handler
- adjust cmd and metrics to create diagnostic server

Closes TUN-8728
2024-11-25 10:43:32 -08:00
..
connection.go TUN-8661: Refactor connection methods to support future different datagram muxing methods 2024-10-24 11:42:02 -07:00
connection_test.go TUN-7558: Flush on Writes for StreamBasedOriginProxy 2023-07-06 14:22:29 +00:00
control.go TUN-8728: implement diag/tunnel endpoint 2024-11-25 10:43:32 -08:00
errors.go chore: Remove h2mux code 2024-10-15 13:10:30 -07:00
event.go TUN-8728: implement diag/tunnel endpoint 2024-11-25 10:43:32 -08:00
header.go chore: Remove h2mux code 2024-10-15 13:10:30 -07:00
header_test.go chore: Remove h2mux code 2024-10-15 13:10:30 -07:00
http2.go chore: Remove h2mux code 2024-10-15 13:10:30 -07:00
http2_test.go TUN-8621: Prevent QUIC connection from closing before grace period after unregistering 2024-10-07 10:51:21 -05:00
json.go TUN-3467: Serialize cf-cloudflared-response-meta during package initialization using jsoniter 2020-11-11 15:11:42 +00:00
metrics.go chore: Remove h2mux code 2024-10-15 13:10:30 -07:00
observer.go TUN-8728: implement diag/tunnel endpoint 2024-11-25 10:43:32 -08:00
observer_test.go TUN-6583: Remove legacy --ui flag 2022-07-20 16:17:29 -07:00
protocol.go chore: Remove h2mux code 2024-10-15 13:10:30 -07:00
protocol_test.go TUN-6938: Force h2mux protocol to http2 for named tunnels 2023-02-06 11:06:02 -08:00
quic.go TUN-8661: Refactor connection methods to support future different datagram muxing methods 2024-10-24 11:42:02 -07:00
quic_connection.go TUN-8661: Refactor connection methods to support future different datagram muxing methods 2024-10-24 11:42:02 -07:00
quic_connection_test.go TUN-8661: Refactor connection methods to support future different datagram muxing methods 2024-10-24 11:42:02 -07:00
quic_datagram_v2.go TUN-8692: remove dashes from session id 2024-10-25 05:45:24 -07:00
quic_datagram_v3.go TUN-8701: Add metrics and adjust logs for datagram v3 2024-11-07 11:02:55 -08:00
tunnelsforha.go TUN-3471: Add structured log context to logs 2021-01-05 20:21:16 +00:00