diff --git a/src/stratifier.c b/src/stratifier.c index 2e1c336e..706b30a9 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -6465,8 +6465,8 @@ static void parse_method(ckpool_t *ckp, sdata_t *sdata, stratum_instance_t *clie if (unlikely(cmdmatch(method, "mining.passthrough"))) { char buf[256]; - if (ckp->proxy) { - LOGNOTICE("Dropping client %s %s trying to connect as passthrough on proxy server %d", + if (ckp->proxy || ckp->node || ckp->remote) { + LOGNOTICE("Dropping client %s %s trying to connect as passthrough on unsupported server %d", client->identity, client->address, client->server); connector_drop_client(ckp, client_id); drop_client(ckp, sdata, client_id);