cloudflared-mirror/connection
Devin Carr b4a98b13fe TUN-9469: Centralize UDP origin proxy dialing as ingress service
Introduces a new `UDPOriginProxy` interface and `UDPOriginService`
to standardize how UDP connections are dialed to origins. Allows for
future overrides of the ingress service for specific dial destinations.

Simplifies dependency injection for UDP dialing throughout both datagram
v2 and v3 by using the same ingress service. Previous invocations called
into a DialUDP function in the ingress package that was a light
wrapper over `net.DialUDP`. Now a reference is passed into both datagram
controllers that allows more control over the DialUDP method.

Closes TUN-9469
2025-06-23 18:01:15 +00:00
..
connection.go TUN-9319: Add dynamic loading of features to connections via ConnectionOptionsSnapshot 2025-05-14 20:11:05 +00:00
connection_test.go TUN-9255: Improve flush on write conditions in http2 tunnel type to match what is done on the edge 2025-04-24 11:49:19 +00:00
control.go TUN-9291: Remove dynamic reloading of features for datagram v3 2025-05-07 23:21:08 +00: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 TUN-8861: Add session limiter to TCP session manager 2025-01-20 10:53:53 +00:00
header_test.go chore: Remove h2mux code 2024-10-15 13:10:30 -07:00
http2.go TUN-9319: Add dynamic loading of features to connections via ConnectionOptionsSnapshot 2025-05-14 20:11:05 +00:00
http2_test.go TUN-9016: update go to 1.24 2025-06-06 09:05:49 +00: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 TUN-8855: fix lint issues 2025-01-30 03:53:24 -08: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-9319: Add dynamic loading of features to connections via ConnectionOptionsSnapshot 2025-05-14 20:11:05 +00:00
quic_connection_test.go TUN-9469: Centralize UDP origin proxy dialing as ingress service 2025-06-23 18:01:15 +00:00
quic_datagram_v2.go TUN-9469: Centralize UDP origin proxy dialing as ingress service 2025-06-23 18:01:15 +00:00
quic_datagram_v2_test.go TUN-9469: Centralize UDP origin proxy dialing as ingress service 2025-06-23 18:01:15 +00:00
quic_datagram_v3.go TUN-9322: Add metric for unsupported RPC commands for datagram v3 2025-05-13 16:11:09 +00:00
tunnelsforha.go TUN-3471: Add structured log context to logs 2021-01-05 20:21:16 +00:00