Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Save X-Forwarded-FOR IP Address

Save X-Forwarded-FOR IP Address 2 Jahre 7 Monate her #64919

  • vtccrs
  • vtccrss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
Hi all!
I know there is the "Save IP" functionality in Limesurvey - but this does not work in my case because I have a Load Balancer in front of the server running limesurvey. Limesurvey always saves the IP of the loadbalancer.
This setup cannot be changed... ;-/

Does somebody know how/where I can modify Limesurvey to save the X-Forwarded-FOR IP Address ?!?

Thanks a lot for answering!!

I am using:
LimeSurvey Version 1.90+ Build 9487
Letzte Änderung: 2 Jahre 7 Monate her von vtccrs.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Save X-Forwarded-FOR IP Address 2 Jahre 7 Monate her #64921

  • vtccrs
  • vtccrss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
Hi,

c_schmitz told me where to find it. thx a lot!

[11:59] <c_schmitz> |crs|: lets see
[11:59] <c_schmitz> currently $_SERVER is used
[12:00] <c_schmitz> save.php around line 336
[12:01] <c_schmitz> i think you can replace that with $_SERVER
[12:02] <|crs|> that would have been my question... so $_SERVER should work?
[12:02] <c_schmitz> yeah
[12:02] <|crs|> thanks a lot! i will check it!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Save X-Forwarded-FOR IP Address 2 Jahre 7 Monate her #64923

  • c_schmitz
  • c_schmitzs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 719
  • Dank erhalten: 91
  • Karma: 83
This will be fixed in 1.92 so that the right IP address is saved always.
Support us, too. Donate to the LimeSurvey project and help keep us going!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Save X-Forwarded-FOR IP Address 11 Monate 4 Tage her #96097

I am currently running Version 2.00+ Build 130428, and I have setup LimeSurvey behind our loadbalancing server. However, I am still only seeing the IP address of the load balancer. Is there something that has to be adjusted in the new versions to enable this?
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.145 Sekunden
Donation Image