tuntap

Version, currently 0.2.01 version
  • 0.2.0latestDec 27, 2018

github.com/Papierkorb/tuntap

TUN/TAP driver for Crystal

8 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  tuntap:
    github: Papierkorb/tuntap
    version: ~> 0.2.0

Then run:

shards install

shard.yml

Crystal
0.27
License
MIT
Author
Stefan Merettig <stefan-merettig@nuriaproject.org>

Dependencies

This version declares no dependencies.

README

# tuntap

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!

## Installation

Add this to your application's `shard.yml`:

```yaml
dependencies:
  tuntap:
    github: Papierkorb/tuntap
```

## Usage

```crystal
require "tuntap"
```

Please see `samples/` for example programs.  Don't worry, they're documented :)

## Contributing

1. Fork it ( https://github.com/Papierkorb/tuntap/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request

## Contributors

- [Papierkorb](https://github.com/Papierkorb) Stefan Merettig - creator, maintainer