return true;
}
-// fromaddr: the address the query is coming from
+// fromaddr: the address from which the query is coming
// destaddr: the address the query was received on
// source: the address we assume the query is coming from, might be set by proxy protocol
// destination: the address we assume the query was sent to, might be set by proxy protocol
comboWriter->setSocket(fileDesc);
comboWriter->d_tag = ctag;
comboWriter->d_qhash = qhash;
- comboWriter->setRemote(fromaddr); // the address the query is coming from
+ comboWriter->setRemote(fromaddr); // the address from which the query is coming
comboWriter->setSource(source); // the address we assume the query is coming from, might be set by proxy protocol
comboWriter->setLocal(destaddr); // the address the query was received on
comboWriter->setDestination(destination); // the address we assume the query is sent to, might be set by proxy protocol
const bool proxyActive = t_proxyProtocolACL && !t_proxyProtocolACL->empty();
static const size_t maxIncomingQuerySize = !proxyActive ? 512 : (512 + g_proxyProtocolMaximumSize);
static thread_local std::string data;
- ComboAddress fromaddr; // the address the query is coming from
+ ComboAddress fromaddr; // the address from which the query is coming
ComboAddress source; // the address we assume the query is coming from, might be set by proxy protocol
ComboAddress destination; // the address we assume the query was sent to, might be set by proxy protocol
struct msghdr msgh{};
MOADNSParser d_mdp;
struct timeval d_now;
- ComboAddress d_remote; // the address the query is coming from
+ ComboAddress d_remote; // the address from which the query is coming
ComboAddress d_source; // the address we assume the query is coming from, might be set by proxy protocol
ComboAddress d_local; // the address we received the query on
ComboAddress d_destination; // the address we assume the query is sent to, might be set by proxy protocol