A Cryptographically Secured Real-Time Peer-to-Peer Multiplayer Framework For Browser WebRTC

Haocheng Han, Yu Sun
{"title":"A Cryptographically Secured Real-Time Peer-to-Peer Multiplayer Framework For Browser WebRTC","authors":"Haocheng Han, Yu Sun","doi":"10.5121/csit.2022.122010","DOIUrl":null,"url":null,"abstract":"P2P(peer-to-peer) multiplayer protocols, such as lockstep and rollback net-code, have historically been the cheaper, direct alternative to the Client-Server model. Recent advances in WebRTC technology raise interesting prospects for independent developers to build serverless, P2P multiplayer games on the browser. P2P has several advantages over the Client-Server model in multiplayer games, such as reduced latency, significantly cheaper servers that only handle handshakes, etc. However, as the browser environment does not allow for third-party anti-cheat software, having a secure protocol that catches potential cheaters is crucial. Furthermore, traditional P2P protocols, such as deterministic lockstep, are unusable in the browser environment because different players could be running the game on different browser engines. This paper introduces a framework called Peercraft for P2P WebRTC games with both security and synchronization. We propose two P2P cheat-proofing protocols, Random Authority Shuffle and Speculation-Based State Verification. Both are built on known secure cryptographic primitives. We also propose a time-based synchronization protocol that does not require determinism, Resynchronizing-at-Root, which tolerates desynchronizations due to browser instability while fixing the entire desynchronization chain with only one re-simulation call, greatly improving the browser game’s performance.","PeriodicalId":105776,"journal":{"name":"Signal, Image Processing and Embedded Systems Trends","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Signal, Image Processing and Embedded Systems Trends","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5121/csit.2022.122010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

P2P(peer-to-peer) multiplayer protocols, such as lockstep and rollback net-code, have historically been the cheaper, direct alternative to the Client-Server model. Recent advances in WebRTC technology raise interesting prospects for independent developers to build serverless, P2P multiplayer games on the browser. P2P has several advantages over the Client-Server model in multiplayer games, such as reduced latency, significantly cheaper servers that only handle handshakes, etc. However, as the browser environment does not allow for third-party anti-cheat software, having a secure protocol that catches potential cheaters is crucial. Furthermore, traditional P2P protocols, such as deterministic lockstep, are unusable in the browser environment because different players could be running the game on different browser engines. This paper introduces a framework called Peercraft for P2P WebRTC games with both security and synchronization. We propose two P2P cheat-proofing protocols, Random Authority Shuffle and Speculation-Based State Verification. Both are built on known secure cryptographic primitives. We also propose a time-based synchronization protocol that does not require determinism, Resynchronizing-at-Root, which tolerates desynchronizations due to browser instability while fixing the entire desynchronization chain with only one re-simulation call, greatly improving the browser game’s performance.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
浏览器webbrtc的加密安全实时点对点多人框架
P2P(点对点)多人协议,如锁步和回滚网络代码,历来是客户机-服务器模型的更便宜、更直接的替代方案。最近WebRTC技术的进步为独立开发者在浏览器上构建无服务器、P2P多人游戏带来了有趣的前景。在多人游戏中,P2P比客户机-服务器模式有几个优势,比如延迟更短,服务器更便宜,只处理握手,等等。然而,由于浏览器环境不允许第三方反作弊软件,因此拥有一个捕获潜在作弊者的安全协议至关重要。此外,传统的P2P协议(如deterministic lockstep)在浏览器环境中是不可用的,因为不同的玩家可能会在不同的浏览器引擎上运行游戏。本文介绍了一种名为Peercraft的P2P网络游戏框架,该框架兼顾了安全性和同步性。我们提出了两种P2P防欺骗协议:随机授权洗牌和基于推测的状态验证。两者都是基于已知的安全加密原语构建的。我们还提出了一个基于时间的同步协议,它不需要确定性,Resynchronizing-at-Root,它可以容忍由于浏览器不稳定而导致的不同步,同时只需要一个重新模拟调用就可以修复整个不同步链,极大地提高了浏览器游戏的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Utilizing Deep Machine Learning to Create a Contextally and Environmentally Aware Application to Prevent Spinal Tendonitis A Framework to Protect Iot Devices from Enslavement in a Home Environment Multi-Sink Convergecast Protocol for Large Scale Wireless Sensor Networks A Cryptographically Secured Real-Time Peer-to-Peer Multiplayer Framework For Browser WebRTC A Systematic Literature Review on Insect Detection in Images
wanfang
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1