Implement basic ingress filtering on controller

Validate messages received on the controller from hosts and control
nodes before handling or forwarding them.  This should prevent
performing actions that are not allowed by the role system and block
simple attacks such as spoofing the source address of a message.
This commit is contained in:
Hornwitser committed 2023-07-25 17:21:44 +02:00
1 parent 7a9aec74b5
commit 87172dfb8d
8 files changed
+339 -52

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ class ChatEvent {
static src = ["control", "instance"];
static dst = "instance";
static plugin = "global_chat";
static permission = null;
/** @type {string} */
instanceName;