Page 1 of 1

Request IP from Server

Posted: Wed May 09, 2018 3:24 pm
by canibozz
Hello guys,

anyone knows what Steam does with the IP when it comes to Requesting?
Iam sending a Request to my API via Python.
My API is fetching the IP of the requester and comparing with a DB.
In my DB i saved the IP of my server let's say:

Code: Select all

133.71.133.713:27015


The fetched IP via $_SERVER['HTTP_X_FORWARDED_FOR'] (because of Cloudflare protection) is a IPV6 like this:

Code: Select all

1337:1x3x3:cafe:7x1:0:0:0:1"



What is Steam doing?
Why is my Request IP not my Server IP?

Any clues?

Cheers,
CANi

Re: Request IP from Server

Posted: Wed May 09, 2018 8:30 pm
by Ayuto
Steam has nothing to do with that. Are you sure the IPv4 address isn't the same like the IPv6 address?

Re: Request IP from Server

Posted: Wed May 09, 2018 10:48 pm
by canibozz
Okay, it was an error with my gaming server. It had ipv4 and ipv6 enabled.
I disabled it and now it works.

Cheers!