Search squid archive

Forwarded-for functionality(squid)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Team,

 

I would like to ask for your inputs/resolution for one of the issues that I am facing while using forwarded_for functionality with new version of squid i.e. v4.13

 

UseCase:

I have a client, a webserver and squid hosted in 3 different VMs. I have set up interfaces in such a way that Client cannot access webserver directly, but only through squid proxy.(Works fine)

 

Now, When I append forwarded_for off to my squid.conf and then curl the webserver from client [ curl {Webserver.mgmtIP} ], the expected logs on webserver should have, “unknown” at the end of line.

And if there is nothing appended or forwarded_for on is appended, it should have “Client_IP” at the end of the line in log file.

But I am not getting expected output.

 

PFA squid.conf ,output at httpd , httpd.conf.

 

After several tries, I am looking forward for your help/advice.

 

Thank You.  

 

Bien cordialement,

Piyush Gaba

Software Engineer

TGI/OLN- INDIA

Tower B, 8th Floor, DLF Infinity Towers, 

DLF Cyber City Phase - II
Gurgaon - 122002, Haryana, INDIA

( Mobile: +91-9818498198

[Email] piyush.gaba@xxxxxxxxxx

 

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

Attachment: httpd.conf
Description: httpd.conf

Attachment: httpdlogsaftercurl.PNG
Description: httpdlogsaftercurl.PNG

Attachment: squid.conf
Description: squid.conf

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux