client protection discussion 2.0

02/13/2017 08:52 Carl Friedrich#1
Morpheus: The Matrix is everywhere. It is all around us. Even now, in this very room. You can see it when you look out your window or when you turn on your television. You can feel it when you go to work... when you go to church... when you pay your taxes. It is the world that has been pulled over your eyes to blind you from the truth.
Neo: What truth?
Morpheus: all applications are native, some of which you call managed are just a native core with a special infrastructure code running in it, you take the blue pill, the story ends, you start using a library like easy hook and you hook native apis and monitor your process, you take the red pill, you create a loader that inject bootstrap dll created using native language to load the .net runtime that loads your managed assemblies and see how deep the rabbit hole goes

remember, all i need is spoon feeding, nothing more

sorry just couldn't help it :D

but i still don't see how this will be enough, yes this will go along way with my loader, communicating with the server, enforcing the use of my client, checking for all the goodies but can't someone just disassemble my dll, see which functions i'm monitoring, patch my call by calling the IAT/jump table or even the original first thunk addresses instead, decompile my loader and plain patch my check routines ?

it don't, how to complicate it more than that :D

p.s. how much memory you think is enough to manage a 100 player online on average?
02/13/2017 13:00 pintinho12#2
2GB is good enough to handle 250 players on a TQ Binary server.
Depends on how much memory you server use.
I have my Phoenix Based source and it handles 110 Online Players and the RAM usage doesn't pass 440MB (fully loaded).
02/13/2017 13:52 Carl Friedrich#3
Quote:
Originally Posted by pintinho12 View Post
2GB is good enough to handle 250 players on a TQ Binary server.
Depends on how much memory you server use.
I have my Phoenix Based source and it handles 110 Online Players and the RAM usage doesn't pass 440MB (fully loaded).
binaries are shit, my current base uses around 700mb for 100 player stress test, need better memory management and some digging deep at GC :mad:
02/15/2017 15:46 Super Aids#4
Quote:
Originally Posted by Carl Friedrich View Post
binaries are shit, my current base uses around 700mb for 100 player stress test, need better memory management and some digging deep at GC :mad:
That's pretty bad too. You should be able to handle thousands :)

c10k anyone?
02/16/2017 10:21 KraHen#5
What the hell do you need 700MB for 100 clients for?

For the other question, there is no solid way to do client protection against all, sure, people can hack it, but few are competent to do so - hence why this protection generally solves issues with more generic bots/hacks targeted at multiple private server -, and those who do usually do it for fun or because you gave them a reason. Don't give one.