-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any idea for Obfuscate ? #2
Comments
There 4 levels of protocol in our project: SESSION levelconnection maintenance, handshake, RC4 encryption, better interface to end-point user KCP LevelARQ TRANSPORT levelForward error cancellation, packet routing. NETWORK levelUDP, quality estimating, 64bit-XOR encryption. These 3 different levels are arranged in sequence: Session Level EncryptionRECOMMEND the RC4 algorithm in the SESSION level (upper level of KCP which use ikcp_send/ikcp_recv):
Network Level EncryptionRECOMMEND simple 64 bit xor algorithm in NETWORK level (just before udp send) and verify another checksum and sockaddress from incoming udp packet LastSeparate different function into different level, and link them with send/recv, input/output, update. each level maintains their own packet header. so echo level can be completely replaced with another implementation. So practical speaking, implement encryption in both session level and network level is a good idea. These mechanism has been working over two years in online gaming and audio/video streaming, seems to be stable. |
Thanks. |
@skywind3000
|
Any idea for Obfuscate ?
We think about to using KCP , but need more security (less resource usage, no much more cpu and memory usage)
The text was updated successfully, but these errors were encountered: