All Projects → seemoo-lab → proxawdl

seemoo-lab / proxawdl

Licence: other
Tunnels a regular TCP connection through an AWDL link by exploiting the NetService API

Programming Languages

objective c
16641 projects - #2 most used programming language
swift
15916 projects

Labels

Projects that are alternatives of or similar to proxawdl

Opendrop
An open Apple AirDrop implementation written in Python
Stars: ✭ 5,505 (+21920%)
Mutual labels:  awdl
wireshark-awdl
Wireshark Dissector for Apple Wireless Direct Link (AWDL) and Apple's CoreCapture logging framework. Note: the AWDL dissector is part of Wireshark 3.0!
Stars: ✭ 109 (+336%)
Mutual labels:  awdl

proxAWDL

Tunnels a regular TCP connection (e.g., iperf) through an AWDL link by exploiting the NetService API. Workaround because Apple prevents regular sockets from listening or connecting to awdl0. As an alternative, there is a special XNU socket option SO_RECV_ANYIF to allow sending/receiving via AWDL:

#define SO_RECV_ANYIF 0x1104 /* unrestricted inbound processing */

Usage

Frist compile with Xcode.

Then, on the server, run

./proxawdl

and start the TCP server listening on localhost, e.g., iperf -s -p 22222.

On the client, run

./proxawdl client

and start the TCP client connecting to localhost, e.g., iperf -c -p 22222.

Limitations

  • hardcoded TCP ports

  • does not multiplex TCP connections which means that applications using multiple TCP connections will probably not function properly

Our Papers

  • Milan Stute, David Kreitschmann, and Matthias Hollick. One Billion Apples’ Secret Sauce: Recipe for the Apple Wireless Direct Link Ad hoc Protocol. In The 24th Annual International Conference on Mobile Computing and Networking (MobiCom ’18), October–November 2018, New Delhi, India. DOI.

Contact

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].