网络与分布式2018arxiv.org
十亿台苹果设备的秘方:Apple Wireless Direct Link 协议揭秘
One Billion Apples’ Secret Sauce: Recipe for Apple Wireless Direct Link Protocol
进阶 · 约 60 分钟读完前置知识:无线网络基础、802.11 协议、网络安全基础
导读
这篇论文逆向分析了苹果设备间使用的无线直连协议 AWDL(Apple Wireless Direct Link),揭示了其工作原理——它支撑着 AirDrop、AirPlay 等功能,实现设备间无需基础设施的自动发现与连接。论文指出 AWDL 本身没有安全机制,所有帧均明文传输且无认证,安全性交由上层协议(如 AirDrop 使用 TLS 1.2)处理。
HN 关注点:苹果这一长期未公开文档的私有协议被逆向破解,讨论焦点集中在 AWDL 缺乏链路层安全是否合理,以及能否借此实现跨平台 AirDrop。
HN 评论精选
这几条评论里:支持 1 补充 2 亲历 1
支持解释 AWDL 无链路层安全是应用层策略的合理设计选择
“我们发现 AWDL 连接没有任何安全机制。所有动作帧和数据帧都是明文发送且无认证。AWDL 把安全功能委托给传输层和应用层,例如 AirDrop 使用 TLS 1.2。这看起来是一个经过权衡的设计决策:实现依赖具体应用的策略——一台设备可能被信任通过 AirDrop 发送图片,但不被信任用于远程控制 Keynote 演示。”
djoldman查看英文原文
"We have found that AWDL connections do not feature any security mechanism. All action and data frames are sent in plain and without authentication. AWDL delegates security functions to the transport and application layer, e. g., AirDrop uses TLS 1.2. The approach appears to be an informed decision to implement application dependant[sic] policies: a device might be trusted for sending an image file via AirDrop, but not for remote-controlling a Keynote presentation."
亲历举例说明 AWDL 支撑的 WiFi 密码分享体验
一个很妙的应用是分享 WiFi 密码——最近在朋友家,我用 iPhone 连接他家 WiFi 时,他手机上弹出“是否与某某的 iPhone 共享密码?”整个流程非常无缝,他不用查密码,我也不用输入。
spunker540查看英文原文
One neat application is sharing WiFi passwords— I was recently at a friends place and when I went to sign in to their home WiFi on my iPhone I believe they got a pop up on their phone saying “share password with xyz’s iPhone?” And the whole thing was super seamless, with no need for them to look it up and no need for me to type it in.
补充期待论文助力实现跨平台 AirDrop
还在等一个非苹果设备的 AirDrop 客户端。它真的很好用很方便,也许这篇论文能帮上忙。
ReverseCold查看英文原文
Still waiting on an AirDrop client for non-Apple products. It works really well and is pretty convenient. Maybe this paper will help.
补充补充资料:指向首个开源 AWDL 实现
openairdrop.org 还可用,可以链接到第一个实现该协议的开源项目。
st3fan查看英文原文
I still have openairdrop.org available to link to the first open source project to implement this protocol.
历次讨论
- 2018Hacker News 讨论帖145 分 · 44 评
同领域还值得读
Paxos vs. Raft:分布式共识是否已达成共识?
Paxos vs. Raft: Have we reached consensus on distributed consensus?
重新审视了 Paxos 与 Raft 两种分布式共识算法之间的差异,试图在一个统一的框架下比较它们,并论证二者的相似程度远高于通常的认知,许多所谓的差别只是表述层面的。
网络与分布式2020 · 343 分 · 65 评 · 引用 10进阶 · 约 28 分钟编辑精选Stellar 协议:互联网级共识的联邦模型
Stellar Protocol: A Federated Model for Internet-Level Consensus (2016)
提出 Stellar Consensus Protocol(SCP),一种面向互联网级共识的联邦拜占庭协议模型。
网络与分布式2018 · 301 分 · 61 评专业 · 约 90 分钟编辑精选拜占庭将军问题(1982)
The Byzantine Generals Problem (1982)
这篇 1982 年论文提出并形式化了拜占庭将军问题:在分布式系统中,部分节点可能叛变或故障、通信不可完全信任时,忠诚节点如何达成一致行动。
网络与分布式2018 · 290 分 · 77 评进阶 · 约 75 分钟编辑精选Google 变差了吗?对搜索引擎中 SEO 垃圾的纵向调查
Is Google Getting Worse? A Longitudinal Investigation of SEO Spam in Search
对搜索引擎结果中的 SEO 垃圾内容做了纵向追踪:作者团队在一段时间内持续采集 Google、Bing、DuckDuckGo 等引擎针对商品评测类查询的结果,用分类器识别联盟营销…
网络与分布式2024 · 276 分 · 274 评入门 · 约 45 分钟编辑精选使 CRDT 能够容忍拜占庭故障
Making CRDTs Byzantine Fault Tolerant
Martin Kleppmann 等人的论文研究如何让 CRDT(无冲突复制数据类型)抵御拜占庭故障节点,即部分参与者恶意篡改数据时仍能保证一致性。
网络与分布式2022 · 266 分 · 40 评进阶 · 约 90 分钟编辑精选