Версия Squid 2.7STABLE6, 3.0STABLE19.
Добавить следующие параметры:
header_access Via deny all header_access X-Forwarded-For deny all
Дискуссия