Create TUN/TAP devices under Linux (And possibly others). If you want to know more about the intrinsics of TUN/TAP, read the kernel documentation over at https://www.kernel.org/doc/Documentation/networking/tuntap.txt
Important: This shard may only run on Linux x86_64. If you want to port this to another platform let me know!
Add this to your application's shard.yml
:
dependencies:
tuntap:
github: Papierkorb/tuntap
require "tuntap"
Please see samples/
for example programs. Don't worry, they're documented :)
- Fork it ( https://github.com/Papierkorb/tuntap/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- Papierkorb Stefan Merettig - creator, maintainer