CS logo  Bandwidth:  hi / med / low   

Visit the Surf Shop!   
   Home    Register    CouchSearch!    My Profile    Messages    Groups    Events    Chat64     Info    Login    
Big PictureParticipateMissionStatisticsWikiContact UsAmbassadorsDonateCollectives

Proxies

The statements and opinions on this page are solely those of its authors and do not necessarily represent the official position of CouchSurfing International.

THIS PAGE IS OUTDATED

Now you're rocking with the Tech team
( documentsstatusmeetingswhy we work on CS )

CouchSurfing uses their users' IP address to find out their location.

Location is determined based on the IP address (PHP "REMOTE_ADDR" environement variable). As some users are always using their ISP proxy sever to surf the web, it is always reported that they login somewhere else. Most proxy servers report the real client IP address in HTTP headers, and this info is available in the "HTTP_X_FORWARDED_FOR" PHP environement variable. We could use this IP instead if it is provide.

Downside of this method is it can be faked by sending false HTTP headers, whereas the "REMOTE_ADDR" can not. We can combine this with a list of "trusted" proxies, which is probably good to have anyway.

For untrusted proxies it can mark the location as "probably". Any volunteers for maintaining such lists?


France

maintained by Patrice Pawlak
  • proxy.neuf.fr
  • proxy.club-internet.fr
  • proxy.free.fr
  • proxy.nerim.fr
  • proxy.noos.fr
  • proxy.tiscalli.fr
  • proxy.wanadoo.fr

See also

csbug:439

article history edit