Code Monkey home page Code Monkey logo

proxawdl's Introduction

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

proxawdl's People

Contributors

schmittner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

proxawdl's Issues

how to set the iperf server's ip

1、how to set the iperf server's ip
2、how to change the proxawdl's channel info, i notice your one paper for the awdl research about this, but i can't find the way to set the channel.

thanks guys

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.