Skip to content
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

建议在通信中加入加密 #1

Closed
0x00A0 opened this issue Aug 27, 2022 · 10 comments
Closed

建议在通信中加入加密 #1

0x00A0 opened this issue Aug 27, 2022 · 10 comments

Comments

@0x00A0
Copy link

0x00A0 commented Aug 27, 2022

比如对机器生成机器识别码等方法规避可能的DDoS或恶意消息

@0x00A0
Copy link
Author

0x00A0 commented Aug 27, 2022

对消息的处理部分也可以转移到客户端,以减轻服务器的工作,这样一来服务器只充当一个身份认证和消息中转的功能

@WheatBox
Copy link
Owner

WheatBox commented Aug 27, 2022 via email

@0x00A0
Copy link
Author

0x00A0 commented Aug 27, 2022

其实这样一来所有计算都在客户端了,反而对数据的篡改也只能体现在攻击者本地的客户端上,其他正常玩家仍然是完全遵从服务器的指令的

@0x00A0 0x00A0 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2022
@WheatBox
Copy link
Owner

WheatBox commented Aug 27, 2022 via email

@WheatBox
Copy link
Owner

加密方面我抽空研究一下,以前没有这方面的经验,可能得现学现卖

@WheatBox
Copy link
Owner

话说能请教一个问题么,就是服务器时候会运行着就突然卡住,也不知道为什么,后台也没有任何异常,就是突然卡住了,也没有断开连接的消息提示,这个困难已经困扰我一天了,也没有人能帮我,能请教一下一般这种情况是什么吗

@0x00A0
Copy link
Author

0x00A0 commented Aug 27, 2022

有日志吗,如果是linux服务器突然卡住的话可能是内存占用过高导致的OOM Kill,得检查代码里有没有内存泄漏的地方或者关闭系统的OOM检查; 如果是程序卡住的话那只能慢慢debug了(www

@WheatBox
Copy link
Owner

Windows,淦,我甚至还不知道是因为什么原因卡住的,悲伤

@0x00A0
Copy link
Author

0x00A0 commented Aug 27, 2022

emmm那你只能尽量多输出debug信息看看卡死前程序进行了哪些操作哦

@WheatBox
Copy link
Owner

OK,了解了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants