php / ajax REMOTE_ADDR set to IP of bogus network adapter

前端 未结 1 893
情深已故
情深已故 2020-12-18 03:42

today I came a across a pretty strange behaviour of an php based application of mine. In a certain part of the system there\'s an UI making use of AJAX-calls to fill list bo

相关标签:
1条回答
  • 2020-12-18 04:37

    Unfortunately, you have to take all IP information with a grain of salt.

    IP addresses are gathered during the request by taking the packet and request information into account. Sadly, this information can easily be spoofed or even be incorrect (based on a large number of network probabilities) and should not be used for anything more than vanity purposes.

    0 讨论(0)
提交回复
热议问题