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.
1 parent dfde827 commit 1b3a0a8Copy full SHA for 1b3a0a8
lib/remote/apilistener.cpp
@@ -834,6 +834,12 @@ void ApiListener::NewClientHandlerInternal(
834
if (ctype == ClientJsonRpc) {
835
Log(LogNotice, "ApiListener", "New JSON-RPC client");
836
837
+ if (verify_ok && !endpoint) {
838
+ Log(LogWarning, "ApiListener")
839
+ << "Unknown endpoint '" << identity << "' with valid certificate. Aborting JSON-RPC connection.";
840
+ return;
841
+ }
842
+
843
if (endpoint && endpoint->GetConnected()) {
844
Log(LogInformation, "ApiListener")
845
<< "Ignoring JSON-RPC connection " << conninfo
0 commit comments