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

**Authors:** Milan Stute, David Kreitschmann, Matthias Hollick

arXiv: 1812.06743 · 2018-12-18

## TL;DR

This paper reverse engineers Apple's proprietary AWDL protocol, implements a Linux-based prototype, and demonstrates cross-platform ad hoc communication with Apple devices using IPv6 and custom synchronization mechanisms.

## Contribution

We provide the first open-source Linux implementation of AWDL, enabling cross-platform ad hoc communication with Apple devices.

## Key findings

- Linux prototype successfully synchronizes with AWDL clusters.
- Enables direct IPv6 communication between Linux and Apple devices.
- Demonstrates data exchange via ICMPv6 and TCP over AWDL.

## Abstract

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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1812.06743/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/1812.06743/full.md

## References

8 references — full list in the complete paper: https://tomesphere.com/paper/1812.06743/full.md

---
Source: https://tomesphere.com/paper/1812.06743