Re:Show HN: Server-Side Tracking Without Cookies in Go
by marvinblum on Sunday June 28, 2020 @10:45AM
(#23669026)
You can compensate for it a bit by reading the X-Forwarded-For header. In case someone sits behind a proxy, they usually set this header with the actual IP address of the client. You can see this here: https://github.com/emvi/pirsch/blob/master/fingerprint.go#L2...
[ Parent
| on HN ]
Re:Show HN: Server-Side Tracking Without Cookies in Go
by gnabgib on Sunday June 28, 2020 @01:55PM
(#23670634)
Behind a proxy that is (optionally) configured to share this - yes. But what of a NAT[1] gateway.. most home (and many business) networks NAT your connection - to the destination server, all devices in that network have the same IP (or the IP is seemingly very dynamic if measuring hash(agent+ip)). Other than a server or a mobile-device on network data (assuming they aren't using IPv6) an IP will almost always represent a cluster of devices.
[1]: https://en.wikipedia.org/wiki/Network_address_translation
Re:Show HN: Server-Side Tracking Without Cookies in Go
by marvinblum on Sunday June 28, 2020 @02:23PM
(#23670881)
Hard to tell how often that happens. The User-Agent should help a lot with that. I will collect more data and try to figure out how well it really works.