arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.06743cs.NI
收藏

演示:Linux去苹果采摘:跨平台Ad hoc通信与苹果无线直接链接

Demo: Linux Goes Apple Picking: Cross-Platform Ad hoc Communication with Apple Wireless Direct Link

Milan Stute, David Kreitschmann, Matthias Hollick

摘要:

Apple Wireless Direct Link(AWDL)是Apple在2014年左右推出的专有和未备案的无线ad hoc协议,是AirDrop和AirPlay等应用程序的基础。我们已经反向工程的协议,并解释其帧格式和操作,在我们的WEBCOM '18论文“十亿苹果的秘密酱:食谱的苹果无线直连Ad hoc协议。AWDL建立在IEEE 802.11标准之上,并在其上实现了选举、同步和信道跳频机制。此外,AWDL还具有基于IPv6的数据路径,可以直接通信。为了验证我们自己的工作,我们在基于Linux的系统上实现了AWDL的工作原型。我们的实现是用C语言编写的,在用户空间中运行,并利用Linux的Netlink API与系统的网络堆栈和pcap库进行帧注入和接收。在我们的演示器中,我们展示了Linux系统如何连接到现有的AWDL集群或接管主机角色本身。此外,它还可以通过AWDL从MacBook或iPhone接收数据帧并将其发送到MacBook或iPhone。我们演示了通过ICMPv6 echo请求和应答的数据交换,以及通过TCP连接发送和接收数据。

英文摘要:

Apple Wireless Direct Link (AWDL) is a proprietary and undocumented wireless ad hoc protocol that Apple introduced around 2014 and which is the base for applications such as AirDrop and AirPlay. We have reverse engineered the protocol and explain its frame format and operation in our MobiCom '18 paper "One Billion Apples' Secret Sauce: Recipe of the Apple Wireless Direct Link Ad hoc Protocol." AWDL builds on the IEEE 802.11 standard and implements election, synchronization, and channel hopping mechanisms on top of it. Furthermore, AWDL features an IPv6-based data path which enables direct communication. To validate our own work, we implement a working prototype of AWDL on Linux-based systems. Our implementation is written in C, runs in userspace, and makes use of Linux's Netlink API for interactions with the system's networking stack and the pcap library for frame injection and reception. In our demonstrator, we show how our Linux system synchronizes to an existing AWDL cluster or takes over the master role itself. Furthermore, it can receive data frames from and send them to a MacBook or iPhone via AWDL. We demonstrate the data exchange via ICMPv6 echo request and replies as well as sending and receiving data over a TCP connection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑