]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish debugs on NAT failure
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 4 Jul 2015 15:23:25 +0000 (08:23 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 4 Jul 2015 15:23:25 +0000 (08:23 -0700)
src/comm/TcpAcceptor.cc

index ce96f16cafbb0b7f3a90ced28050a46940920111..70c4c43ba152c63247a0e1851b7aa716c1ee2632 100644 (file)
@@ -406,6 +406,7 @@ Comm::TcpAcceptor::oldAccept(Comm::ConnectionPointer &details)
 
     // Perform NAT or TPROXY operations to retrieve the real client/dest IP addresses
     if (conn->flags&(COMM_TRANSPARENT|COMM_INTERCEPTION) && !Ip::Interceptor.Lookup(details, conn)) {
+        debugs(50, DBG_IMPORTANT, "ERROR: NAT/TPROXY lookup failed to locate original IPs on " << details);
         // Failed.
         PROF_stop(comm_accept);
         return Comm::COMM_ERROR;