https://github.com/papierkorb/tuntap
TUN/TAP driver for Crystal
https://github.com/papierkorb/tuntap
crystal linux tun tuntap
Last synced: 11 months ago
JSON representation
TUN/TAP driver for Crystal
- Host: GitHub
- URL: https://github.com/papierkorb/tuntap
- Owner: Papierkorb
- License: mit
- Created: 2016-12-02T21:39:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-27T21:45:01.000Z (about 7 years ago)
- Last Synced: 2025-04-30T12:15:18.650Z (11 months ago)
- Topics: crystal, linux, tun, tuntap
- Language: Crystal
- Size: 12.7 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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