Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blueluna/nl80211-rs
Experiments with netlink and nl80211 in Rust
https://github.com/blueluna/nl80211-rs
netlink nl80211 rust
Last synced: 2 months ago
JSON representation
Experiments with netlink and nl80211 in Rust
- Host: GitHub
- URL: https://github.com/blueluna/nl80211-rs
- Owner: blueluna
- License: mit
- Created: 2018-04-24T11:12:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-14T15:37:25.000Z (8 months ago)
- Last Synced: 2024-09-17T22:44:23.171Z (4 months ago)
- Topics: netlink, nl80211, rust
- Language: Rust
- Homepage:
- Size: 168 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nl80211 in Rust
Handling nl80211, IEEE 802.11 Netlink protocol, in Rust. Work in progress.
## Example
If run without arguments the example program will listen for nl80211 events.
If a new scan event is received the scan results will be fetched.```bash
$ cargo run --release --example nl80211
```To run some example commands administrative access is needed, Set administrative capabilities like so,
```
sudo setcap cap_net_admin+ep ./target/release/examples/nl80211
```Then it is possible to initiate a scan for example.
```bash
./target/release/examples/nl80211 scan
```## Compatability
Rust 1.30.0 or later is needed.
Tested on following platforms,
- Linux 4.18 x86_64, Fedora 28
- Linux 4.1 ARMv7
- Linux 4.9 AArch64## License
Licensed under the MIT license.
[![Build Status](https://travis-ci.org/blueluna/nl80211-rs.svg?branch=master)](https://travis-ci.org/blueluna/nl80211-rs) [![Crates.io](https://img.shields.io/crates/v/nl80211-rs.svg)](https://crates.io/crates/nl80211-rs)