Proxawdl
Tunnels a regular TCP connection through an AWDL link by exploiting the NetService API
Install / Use
/learn @seemoo-lab/ProxawdlREADME
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
- CocoaAsyncSocket to handle local TCP connections (as static dependency)
Related Skills
node-connect
354.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
