演示:Linux 去摘苹果——基于 Apple Wireless Direct Link 的跨平台自组织通信
网络与互联网体系结构
2018-12-18 v1
摘要
Apple Wireless Direct Link (AWDL) 是苹果公司于 2014 年前后推出的专有且未公开文档的无线自组织协议,是 AirDrop 和 AirPlay 等应用的基础。我们已在 MobiCom '18 论文“One Billion Apples' Secret Sauce: Recipe of the Apple Wireless Direct Link Ad hoc Protocol”中对该协议进行了逆向工程并解释了其帧格式与运行机制。AWDL 构建于 IEEE 802.11 标准之上,并在其上实现了选举、同步与信道跳变机制。此外,AWDL 具备基于 IPv6 的数据通路,可实现直接通信。为验证我们的工作,我们在基于 Linux 的系统上实现了可运行的 AWDL 原型。我们的实现使用 C 语言编写,运行于用户空间,并利用 Linux 的 Netlink API 与系统网络栈交互,以及使用 pcap 库进行帧注入与接收。在我们的演示中,我们展示了 Linux 系统如何同步到已有的 AWDL 集群或自行接管主节点角色。此外,它还能通过 AWDL 从 MacBook 或 iPhone 接收数据帧并向其发送数据帧。我们通过 ICMPv6 回显请求与应答以及在 TCP 连接上发送和接收数据来演示数据交换。
引用
@article{arxiv.1812.06743,
title = {Demo: Linux Goes Apple Picking: Cross-Platform Ad hoc Communication with Apple Wireless Direct Link},
author = {Milan Stute and David Kreitschmann and Matthias Hollick},
journal= {arXiv preprint arXiv:1812.06743},
year = {2018}
}
备注
The 24th Annual International Conference on Mobile Computing and Networking (MobiCom '18)