feat(gateway): validate encrypted Apollo RTSP frames
Verify Data Plane / gateway (push) Canceled after 1m42s

This commit is contained in:
sechmachine
2026-07-29 11:32:56 +07:00
parent 844e548c95
commit 994fe38fb9
6 changed files with 146 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func TestNativeApolloManagementUsesSessionScopedMTLS(t *testing.T) {
work := protocol.ProviderSessionWork{
Version: "1", SessionID: "session-1", GatewayID: "gateway-1", ReconnectSequence: 0,
ExpiresAt: "2099-01-01T00:00:00Z", ProviderProfile: ProviderProfileApollo,
ProviderIdentity: "apollo-server#sha256:" + hex.EncodeToString(pinned[:]), PolicyVersionID: "policy-1", ApplicationID: "1",
ProviderIdentity: "apollo-server#sha256:" + hex.EncodeToString(pinned[:]), PolicyVersionID: "policy-1", ApplicationID: "1", ClientID: "paired-client",
ManagementHost: host, ManagementPort: port, StreamHost: host, StreamPort: 47984,
ClientCertificatePem: certificatePEM(t, clientTLS.Certificates[0]),
ClientPrivateKeyPem: privateKeyPEM(t, clientTLS.Certificates[0]),