]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correction: TPROXY cant pass to an IP. Fully enable.
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 5 Sep 2009 01:43:33 +0000 (13:43 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 5 Sep 2009 01:43:33 +0000 (13:43 +1200)
src/cache_cf.cc

index c4e58b6b0ebb09ac772a4063a4bda4562195fd1b..f17dbba68b2a5b0ddd6ca1664305361b03e9a8f9 100644 (file)
@@ -3090,14 +3090,6 @@ parse_http_port_option(http_port_list * s, char *token)
         debugs(3, DBG_IMPORTANT, "Starting IP Spoofing on port " << s->s);
         debugs(3, DBG_IMPORTANT, "Disabling Authentication on port " << s->s << " (IP spoofing enabled)");
 
-#if USE_IPV6
-        /* INET6: until target TPROXY is known to work on IPv6 SOCKET, force wildcard to IPv4 */
-        debugs(3, DBG_IMPORTANT, "Disabling IPv6 on port " << s->s << " (interception enabled)");
-        if ( s->s.IsIPv6() && !s->s.SetIPv4() ) {
-            debugs(3, DBG_CRITICAL, "http(s)_port: TPROXY enabled on IPv6 port " << s->s << ". Assuming you patched your kernel...");
-        }
-#endif
-
     } else if (strcmp(token, "ipv4") == 0) {
 #if USE_IPV6
         if ( !s->s.SetIPv4() ) {