]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/proxy.cgi
Revert "proxy.cgi: Fix for Bug #12826 'squid >=5 crashes on literal IPv6 addresses'"
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / proxy.cgi
index 71be315f63a963930f21ab12fa589965bb029eea..c8e3576dfe2b2226b8e5e59a6159f336668dcb0d 100644 (file)
@@ -3525,19 +3525,9 @@ END
                        $_ =~ s/__PROXY_PORT__/$proxysettings{'PROXY_PORT'}/;
                        print FILE $_;
                }
-               print FILE "\n#End of custom includes\n\n";
+               print FILE "\n#End of custom includes\n";
                close (ACL);
        }
-
-               print FILE <<END
-# Prevent ipv6 requests to avoid crash in squid > 5.x
-acl to_ipv6 dst ipv6
-acl from_ipv6 src ipv6
-http_access deny to_ipv6
-http_access deny from_ipv6
-END
-       ;
-
        if ((!-z $extgrp) && ($proxysettings{'AUTH_METHOD'} eq 'ncsa') && ($proxysettings{'NCSA_BYPASS_REDIR'} eq 'on')) { print FILE "\nredirector_access deny for_extended_users\n"; }
 
        # Check if squidclamav is enabled.