netdev icon indicating copy to clipboard operation
netdev copied to clipboard

Cross-platform library for network interface and gateway. Written in Rust.

Results 10 netdev issues
Sort by recently updated
recently updated
newest added

**Issue Description** In some cases, wireless (Wi-Fi & WWAN) devices report their type as "Ethernet" (/sys/class/net//type contains "1"). This behavior has been observed on multiple devices (unfortunately, only Dell devices...

Hello, would it be possible to also implement reading MTU from interfaces? Windows-rs should already provide it https://github.com/microsoft/windows-rs/blob/1256fbe6dc58b7aa1ba01982c3b40b50d3675a6f/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs#L1225

In MacOS using command `scutil --nwi` returns the VPN server, how to achieve the same natively with rust, any ideas?

Returning some iterator type instead of the whole `Vec` directly would allow consumers to have more control over how memory is allocated. This, however, would be a pretty major breaking...

On macOS Monterey I have numeric interfaces ``` $ ls /dev/bpf* /dev/bpf0 /dev/bpf1 /dev/bpf2 /dev/bpf3 ``` But opening them gives a ``` Permission denied (os error 13) -1 Permission denied...

I'm writing to bring to your attention that Apple has deprecated the _kSCNetworkInterfaceTypeBridge symbols. This could potentially lead to issues or compatibility problems in the future. I would like to...

Tested on (raspbian) Linux. Steps to reproduce: - Have a pi running on 192.168.1.101. In this case, file /etc/dhcpcd.conf (note this ends with cd.conf) contains a section, ``` interface wlan0...

Maybe it is nice to check the interface configured dhcp client or not for all platform

enhancement

I like that this has more features and details than the `network-interface` crate, but it has problems on Windows. ``` [package] name = "testbin" version = "0.1.0" edition = "2021"...

I have macos mini m1 and it choose the wrong default interface the default one is WiFI but it choose utun4 https://github.com/thewh1teagle/Ruscan/releases/tag/v1.0.0