Univention Bugzilla – Bug 34773
Urge squid to use the X-Forwarded-For HTTP header
Last modified: 2014-06-12 09:20:53 CEST
"squid/forwardedfor=on" should be set in ucs-school-webproxy to enable the "guess the teachers room by identifying the teachers client IP" feature in UMC computerroom module. +++ This bug was initially created as a clone of Bug #34025 +++ It seems that some webpages can't parse the X-Forwarded-For HTTP-Header (e.g. turnier.de, alleturniere.de) if the header value is "unknown". The webpages respond with a "Bad Request". By default in ucs the squid configuration directive for X-Forwarded-For is "off" (see /etc/univention/templates/files/etc/squid3/squid.conf line 219). This yields to the described "unknown" value in the header. Setting the configuration directive to "on" or "delete" according to squid-cache.org/Doc/config/forwarded_for/ works with the provided webpages. I suggest "delete" as default value in the squid.conf. Furthermore it should be possible to set the configuration directive in the ucr.
ucs-school-webproxy (10.0.3-1) The variable will be set during update to UCS@school 3.2R2 and during fresh installation of ucs-school-webproxy. Package has been rebuilt and announced. A changelog entry has been commited.
Variable is set during update. Changelog OK.
UCS@school 3.2 R2 has been released: http://docs.univention.de/release-notes-ucsschool-3.2R2-de.html If this error occurs again, please use "Clone This Bug".