------------------------------------------------------------ revno: 13862 revision-id: squid3@treenet.co.nz-20150716070012-sgalrl71wps83uss parent: squid3@treenet.co.nz-20150716065908-3q0xziyxt0a68yc6 committer: Amos Jeffries branch nick: 3.5 timestamp: Thu 2015-07-16 00:00:12 -0700 message: Polish debugs on NAT failure ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20150716070012-sgalrl71wps83uss # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # testament_sha1: 56a2f9c7cc2775acfa6b7be658c283118e96ff61 # timestamp: 2015-07-16 07:16:02 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # base_revision_id: squid3@treenet.co.nz-20150716065908-\ # 3q0xziyxt0a68yc6 # # Begin patch === modified file 'src/comm/TcpAcceptor.cc' --- src/comm/TcpAcceptor.cc 2015-07-16 06:59:08 +0000 +++ src/comm/TcpAcceptor.cc 2015-07-16 07:00:12 +0000 @@ -406,6 +406,7 @@ // 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;