is HTTP_FLY_CLIENT_IP header still used?

Hi,
I see in other posts that a HTTP_FLY_CLIENT_IP header is supposed to exist. Sometimes FLY_CLIENT_IP is also mentionned, but I don’t see any of them mentionned in the documentation and HTTP_FLY_CLIENT_IP is not present in the requests I receive.
I would like to have access to the IP address of the client making the request to my server. Currently I can only have access to a private network IP address (172.16.26.18).
Thanks

Hi… At the HTTP level, I think this is supposed to be Fly-Client-IP (with hyphens instead of underscores), although it came out a bit mangled when I just tried it with Flycast. (Some octets of the IPv6 address were swapped.)

If you’re not seeing any Fly* headers than perhaps something in your own stack, within the Machine, is filtering them out or altering them beforehand. (Doing some kind of elision or prefixing would make sense if you’re passing them as Linux environment variables, since you wouldn’t want people setting LD_LIBRARY_PATH, etc, :dragon:.)

Hope this helps a little!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.