Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse /proc instead of forking to ip for linux #21

Open
ghost opened this issue Feb 6, 2020 · 1 comment
Open

Parse /proc instead of forking to ip for linux #21

ghost opened this issue Feb 6, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 6, 2020

Not all systems have ip installed, and you can just access data from /proc/net/route and /proc/net/ipv6_route directly.

@silverwind
Copy link
Owner

silverwind commented Feb 6, 2020

That would be a welcome addition. The implementation should also respect metrics when multiple gateways are present, something I've noticed is missing in the current Linux implementation.

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

No branches or pull requests

1 participant