I have an environment that uses thin client technology. Many thin clients connect to a central server, log in, and get an X session under their username. All requests to the internet come from the master server's IP.
I would like to set up a proxy to log traffic for diagnostic purposes, as users visiting cretin websites have been known to drive up the load on the server. The flow will be as follows:
Thin Clients (1-n) ----> Server ----> SQUID ----> Internet
The issue is that this will not provide any useful logging information since every request simply comes from the central server. Is there anyway I could possibly inject an "X-Forwarded-For: INSERT_USERNAME_HERE" into each HTTP request which squid will log and drop the header so that the website does not receive it.