[squid-users] Re: how to hide squid error pages & version from clients

From: babajaga <augustus_meyer_at_yahoo.de>
Date: Mon, 12 Aug 2013 12:46:11 -0700 (PDT)

For my 2.7 I edited errorpage.c:

        ERR_SQUID_SIGNATURE,
/*RKA-
            "\n<BR clear=\"all\">\n"
            "<HR noshade size=\"1px\">\n"
            "<ADDRESS>\n"
            "Generated %T by %h (%s)\n"
            "</ADDRESS>\n"
*/

That removes part of squids signature in the last line. I also do not like
it for security reasons.
Furtheron,
you can edit the files in src/error:
ERR_FTP_DISABLED
etc. to be empty.

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/how-to-hide-squid-error-pages-version-from-clients-tp4661524p4661534.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Mon Aug 12 2013 - 19:46:53 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 13 2013 - 12:00:23 MDT