Skip to content

add support for bond network interfaces#835

Open
romanstingler wants to merge 1 commit into
MalpenZibo:mainfrom
romanstingler:feat/bond-interfaces-system-info
Open

add support for bond network interfaces#835
romanstingler wants to merge 1 commit into
MalpenZibo:mainfrom
romanstingler:feat/bond-interfaces-system-info

Conversation

@romanstingler

@romanstingler romanstingler commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Added because I haven't seen the reporter doing the PR
closes #806

Added Bond network type.
Refactored some code because it duplicated the interface names.
Then there was contains and 'wl' and after that 'wlan' so basically 'wlan' was never reachable.
Instead of the 'contains' I replaced that with 'starts_with' as all interface names have this notion.

@romanstingler romanstingler force-pushed the feat/bond-interfaces-system-info branch from a7e1c47 to db8fc87 Compare June 27, 2026 08:31
@romanstingler romanstingler force-pushed the feat/bond-interfaces-system-info branch from db8fc87 to 7ac7818 Compare June 27, 2026 08:33
@InnocentZero

Copy link
Copy Markdown

Hey, I'm not the reporter, but is it possible to add wireguard based tunnel VPNs? Idk how it'd be checked though, since the interface names are varied quite a bit. Netbird creates wt0 (this is fixed), tailscale creates a default of tailscale0, and stock wireguard creates a default of wg0 (I think).

@romanstingler

Copy link
Copy Markdown
Collaborator Author

@InnocentZero I could add

const PREFIXES: &[&str] = &[
    "en", "eth", "wl", "br", "bond",  // physical / local virtual
    "wg", "wt", "tailscale",          // WireGuard-based tunnels
    "tun", "tap",                     // generic tunnels (OpenVPN, etc.)
];

but the network priority code would find your eth or wlan connection and would prioritize this one.
I would suggest creating a new issue and referencing
"#315

I have no idea how
@MalpenZibo
Wants to handle that in the project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add bond interfaces to SystemInfo/network module

2 participants