{"id":16338886,"url":"https://github.com/vorner/tuntap","last_synced_at":"2025-04-04T17:07:17.016Z","repository":{"id":27219790,"uuid":"112864480","full_name":"vorner/tuntap","owner":"vorner","description":"Rust's wrapper for creation of TUN/TAP devices","archived":false,"fork":false,"pushed_at":"2024-03-09T18:04:21.000Z","size":61,"stargazers_count":149,"open_issues_count":3,"forks_count":27,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-17T11:54:09.167Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vorner.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-12-02T18:01:35.000Z","updated_at":"2025-02-28T05:48:35.000Z","dependencies_parsed_at":"2024-03-09T19:24:09.788Z","dependency_job_id":"e10e58e4-d6e6-4d2c-9152-9e5aeffea886","html_url":"https://github.com/vorner/tuntap","commit_stats":{"total_commits":27,"total_committers":7,"mean_commits":3.857142857142857,"dds":0.2222222222222222,"last_synced_commit":"374f874ae2d2bd047913341a2248cc35ac18609e"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vorner%2Ftuntap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vorner%2Ftuntap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vorner%2Ftuntap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vorner%2Ftuntap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vorner","download_url":"https://codeload.github.com/vorner/tuntap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217180,"owners_count":20903009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T23:52:59.916Z","updated_at":"2025-04-04T17:07:16.999Z","avatar_url":"https://github.com/vorner.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TunTap\n\n[![Travis Build Status](https://api.travis-ci.org/vorner/tuntap.png?branch=master)](https://travis-ci.org/vorner/tuntap)\n\nTUN/TAP wrapper for Rust.\n\nThe TUN/TAP allows implementing a virtual network adapter in userspace. This\nprovides the bindings for Rust.\n\nCreate an `Iface` object and `send` or `recv` packets. Making some sense of the\npackets is, however, out of scope, you need something else for that.\n\nThere's [documentation](https://docs.rs/tun-tap) and some\n[examples](https://github.com/vorner/tuntap/tree/master/examples).\n\n## Known issues\n\n* Tested only on Linux. Probably doesn't work anywhere else, but pull requests\n  adding support for other OSes are welcome.\n* The asynchronous interface is very minimal and probably inefficient. It'll\n  need to be extended to allow more flexible or efficient use.\n\n## Testing\n\nIn order to run the tests correctly, a `tun10` device with `10.10.10.1/24` needs\nto be created first. You can simply run:\n\n```shell\nsh tests/setup.sh\n```\n\nTo remove it:\n\n```shell\nsh tests/clean.sh\n```\n\nSudo permission is required.\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms\nor conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvorner%2Ftuntap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvorner%2Ftuntap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvorner%2Ftuntap/lists"}