Skip to main content

Module cloudflared

Module cloudflared 

Source
Expand description

Server side of the edge’s CloudflaredServer calls. Server side of the connector’s CloudflaredServer interface.

The edge opens a dedicated RPC stream (prefixed with the RPC protocol signature) and calls the connector’s main interface: updateConfiguration pushes the remotely-managed tunnel configuration (its ingress rules and therefore its public hostnames), while the UDP session methods manage QUIC datagram sessions, which libcfd does not support.

Structs§

RegisterUdpSessionResponse
The connector’s reply to registerUdpSession.
UpdateConfigurationResponse
The connector’s reply to updateConfiguration.

Constants§

CLOUDFLARED_SERVER_INTERFACE_ID
The 64-bit interface id of the connector’s CloudflaredServer.
CONFIGURATION_MANAGER_INTERFACE_ID
The 64-bit interface id of ConfigurationManager; the edge addresses updateConfiguration by this id.
SESSION_MANAGER_INTERFACE_ID
The 64-bit interface id of SessionManager (extended by CloudflaredServer); capnp-go addresses its methods by this id.

Traits§

CloudflaredHandler
Handlers for the RPC calls the edge makes on the connector.

Functions§

serve_cloudflared
Serves the edge’s calls on an RPC stream until the stream ends.