Quote:
Originally Posted by mcrabben7
Nah, in-game GM hack is possible most likely. Send the right packets and it would work I bet.
Problem is, checking every user's IP can be done, but it's a lot of CPU time. But if cypher made a thread check users constantly, EVERY user on the server, it would work. Another thing is to inject a CHeckBuilderIP() function at the GMCommand handler, which links to every GM command. Not 100% sure if it'd stop GM command packet injections, but it'd stop commands at least. He could then make it kick them if they tried to use a GM command and weren't GMs, or if they were GMs without a proper IP.
Just rambling. I was thinking of doing a DLL just for GM IP protections and was going to start on it, but I guess cypher beat me to the punch. I have been busy with school, anyways, meh.
Good luck with all the future stuff. I'd be interested to see how you did some of the fixes, but I doubt you'd share code :P Oh well, good job anyways. Sharing a free DLL is still awesome.
|
Well, checking the IPs (not re-resolving the hosts) on each BuilderCmd should not be generating any sensible cpu usage or lag .. already tested on old C3. Maybe I'll add the packet to filter chain and a flag in ini for those who don't like it, we'll see.
You're right, not going to post the src anytime soon, but still, I also didn't encrypt the binary ... those really passionate may find whatever they're looking for
Cheers