We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c253e7e + 353386f commit 3d04eb4Copy full SHA for 3d04eb4
lib/remote/apilistener.cpp
@@ -835,6 +835,12 @@ void ApiListener::NewClientHandlerInternal(
835
if (ctype == ClientJsonRpc) {
836
Log(LogNotice, "ApiListener", "New JSON-RPC client");
837
838
+ if (verify_ok && !endpoint) {
839
+ Log(LogWarning, "ApiListener")
840
+ << "Unknown endpoint '" << identity << "' with valid certificate. Aborting JSON-RPC connection.";
841
+ return;
842
+ }
843
+
844
if (endpoint && endpoint->GetConnected()) {
845
Log(LogInformation, "ApiListener")
846
<< "Ignoring JSON-RPC connection " << conninfo
0 commit comments