Hey Manuel,
The reason the client receives the destination IP or other details is
due to the structure of the ERROR page.
Depends on your OS you can find the ERROR page file and modify it so the
format will meet your requirements.
You can take a look at the wiki about custom error pages:
http://wiki.squid-cache.org/Features/CustomErrors
and specifically you will might need to change\remove the "%I" from the
template.
Or if you are willing to write a custom error page which is different
from the squid defaults to meet your site visual structure.
All The Bests,
Eliezer
On 26/09/2015 14:48, Manuel wrote:
When Squid -even as a reverse proxy (which is my concern)- can not retrieve
the requested URL, it dicloses the IP address of the server trying to
contact with. Is there any way to hide that IP address to the public for
security reasons?
Example of the error message I am referring to:
"The requested URL could not be retrieved
While trying to retrieve the URL: http://www.domainame.com/
The following error was encountered:
* Connection to 127.0.0.1 Failed
The system returned:
(110) Connection timed out
The remote host or network may be down. Please try the request again.
Your cache administrator is @
Generated Sat, 26 Sep 2015 01:18:48 GMT"
Cheers
--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/How-to-avoid-Squid-disclosing-the-origin-server-IP-when-there-is-an-error-tp4673418.html
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users