pdelvo / Pdelvo.Minecraft.Proxy

MineProxy.Net
MIT License
7 stars 0 forks source link

Best way to get connecting user's IP on backend? #23

Closed ImDeity closed 12 years ago

ImDeity commented 12 years ago

Is there a way for the backend server to see the connecting user's actual IP (instead of 127.0.0.1 or the IP of the proxy)?

pdelvo commented 12 years ago

It is technically not possible to see the real up at the backend servers on a normal way. It is possible to use plugin channels to give these information to the backend server, but a server plugin is required to read this data and use it for, e.g. Logging it.

ImDeity commented 12 years ago

Thanks. I'll work on integrating a mySQL based proxy plugin to send the IP info once the plugin template is out.

pdelvo commented 12 years ago

I will upload the template tomorrow

pdelvo commented 12 years ago

I uploaded the template, but I had no time to create a tutorial for it. if you want to use it you can fork the template repo and clone it with git clone --recursive [your URL]. The recursive flag matters