Skip to content

blueluna/nl80211-rs

Repository files navigation

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.

$ 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.

./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 Crates.io

About

Experiments with netlink and nl80211 in Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages