{"id":33934045,"url":"https://github.com/eonm/nl80211","last_synced_at":"2026-03-17T20:05:22.041Z","repository":{"id":46717099,"uuid":"211196235","full_name":"Eonm/nl80211","owner":"Eonm","description":"Communicate with nl80211","archived":false,"fork":false,"pushed_at":"2023-02-12T21:12:33.000Z","size":28624,"stargazers_count":19,"open_issues_count":1,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-12-14T00:33:38.961Z","etag":null,"topics":["netlink","netlink-sockets","nl80211","rust","wifi"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eonm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-26T23:12:48.000Z","updated_at":"2025-11-28T16:15:10.000Z","dependencies_parsed_at":"2023-02-18T06:31:51.982Z","dependency_job_id":null,"html_url":"https://github.com/Eonm/nl80211","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Eonm/nl80211","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eonm%2Fnl80211","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eonm%2Fnl80211/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eonm%2Fnl80211/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eonm%2Fnl80211/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eonm","download_url":"https://codeload.github.com/Eonm/nl80211/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eonm%2Fnl80211/sbom","scorecard":{"id":46214,"data":{"date":"2025-08-11","repo":{"name":"github.com/Eonm/nl80211","commit":"c454268726156264e8a3cac08ffcb4ba01e1b4f1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T22:49:53.605Z","repository_id":46717099,"created_at":"2025-08-14T22:49:53.606Z","updated_at":"2025-08-14T22:49:53.606Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30630047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["netlink","netlink-sockets","nl80211","rust","wifi"],"created_at":"2025-12-12T13:23:28.995Z","updated_at":"2026-03-17T20:05:22.035Z","avatar_url":"https://github.com/Eonm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Crates.io](https://img.shields.io/crates/v/nl80211.svg)](https://crates.io/crates/nl80211)\n[![Coverage Status](https://coveralls.io/repos/github/Eonm/nl80211/badge.svg?branch=master)](https://coveralls.io/github/Eonm/nl80211?branch=master)\n[![Build Status](https://travis-ci.org/Eonm/nl80211.svg?branch=master)](https://travis-ci.org/Eonm/nl80211)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/Eonm/markdown-packager/issues)\n\n# nl80211\n\n[API documentation](https://docs.rs/nl80211/)\n\nThis crate aims to provide a low level access to nl80211.\n\nThis crate is inspired by the go [wifi](https://github.com/mdlayher/wifi) package made by [@mdlayher](https://github.com/mdlayher).\n\n:warning: __This library only works on Linux.__\n\n:warning: __This crate is a work in progress__\n\n## Built-in functions\n\nThis crate has some built-in functions to fetch information and metrics of wifi interfaces and wireless networks.\n\n### Get interface information\n\n```rust\nextern crate nl80211;\n\nuse std::error::Error;\nuse nl80211::Socket;\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn Error\u003e\u003e {\n  let interfaces = Socket::connect()?.get_interfaces_info()?;\n  for interface in interfaces {\n      let station = interface.get_station_info();\n      println!(\"{}\", station?.pretty_format());\n\n      // bssid : FF:FF:FF:FF:FF:FF\n      // connected time : 35.816666 minutes\n      // beacon loss : 0\n      // signal : -60 dBm\n      // average signal : -61 dBm\n      // rx packets : 148983\n      // tx packets : 46335\n      // rx bitrate : 60 Mb/s\n      // tx bitrate : 140 Mb/s\n      // tx retries : 12578\n      // tx failed : 2\n  }\n\n  Ok(())\n}\n\nuse nl80211::Socket;\n\nfn main() -\u003e Result\u003c(), neli::err::NlError\u003e {\n  let interfaces = Socket::connect()?.get_interfaces_info()?;\n\n  for interface in interfaces {\n      println!(\"{}\", interface);\n\n      // Interface {\n      //   index: Some([3, 0, 0, 0]),\n      //   ssid: Some([101, 100, 117, 114, 111, 97, 109]),\n      //   mac: Some([255, 255, 255, 255, 255, 255]),\n      //   name: Some([119, 108, 112, 53, 115, 48]),\n      //   frequency: Some([108, 9, 0, 0]),\n      //   channel: Some([1, 0, 0, 0]),\n      //   power: Some([164, 6, 0, 0]),\n      //   phy: Some([0, 0, 0, 0]),\n      //   device: Some([1, 0, 0, 0, 0, 0, 0, 0])\n      // }\n\n      println!(\"{}\", interface);\n\n      // essid : eduroam\n      // mac : FF:FF:FF:FF:FF:FF\n      // interface : wlp5s0\n      // frequency : 2.412 Ghz\n      // channel : 1\n      // power : 17 dBm\n      // phy : 0\n      // device : 1\n    }\n\n    Ok(())\n}\n```\n\n### Get Access Point information and metrics\n\n```rust\nextern crate nl80211;\n\nuse std::error::Error;\nuse nl80211::Socket;\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn Error\u003e\u003e {\n  let interfaces = Socket::connect()?.get_interfaces_info()?;\n  for interface in interfaces {\n      let station = interface.get_station_info();\n      println!(\"{}\", station?);\n\n      // bssid : FF:FF:FF:FF:FF:FF\n      // connected time : 35.816666 minutes\n      // beacon loss : 0\n      // signal : -60 dBm\n      // average signal : -61 dBm\n      // rx packets : 148983\n      // tx packets : 46335\n      // rx bitrate : 60 Mb/s\n      // tx bitrate : 140 Mb/s\n      // tx retries : 12578\n      // tx failed : 2\n  }\n\n  Ok(())\n}\n```\n\n## Todo\n- [ ] Implement custom errors\n- [ ] Add more built-in functions\n- [ ] Improve documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feonm%2Fnl80211","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feonm%2Fnl80211","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feonm%2Fnl80211/lists"}