Hello all!
I recently released v0.1 of rb_tuntap, a gem that allows users to
interface with (create, configure, delete, etc.) linux TUN/TAP devices.
Unfortunately support will likely be limited to linux systems (mostly
due to my inexperience with such interfaces on other OSes - though
contributions are welcome).
Most of the logic is implemented as a C ext since we need to be able to
request these interfaces from the kernel via syscalls that are easily
implemented in C. The ruby land wrapper provides a ‘nicer’ API for users
to interface with.
I’d appreciate comments/suggestions on the library and its usability
(even the README, which I ended up spending quite some time on).
The project is available here: GitHub - amoghe/rb_tuntap: Ruby library to interact with tun/tap devices (Linux)
Also: rb_tuntap | RubyGems.org | your community gem host
Thanks and hope you find this useful!