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

Route metrics #234

Open
grzegorz-gutowski opened this issue Feb 1, 2024 · 2 comments
Open

Route metrics #234

grzegorz-gutowski opened this issue Feb 1, 2024 · 2 comments
Labels

Comments

@grzegorz-gutowski
Copy link
Contributor

Hello,
It seems that openvpn3 silently discards metric specification on route commands:
--route network/IP [netmask] [gateway] [metric]
and creates all routes with default metric.
I'm using metric in my pushed routes and openvpn2 linux clients handle metric specification correctly.
Should I stop relying on this behavior?

@grzegorz-gutowski
Copy link
Contributor Author

There is a hint in the source code that suggests that somebody is aware of the issue.
My question is: is it decided to stop supporting metrics on routes, or it may be implemented in the future? In other words, would you accept patches that add this functionality?

@dsommers dsommers added the bug label Feb 6, 2024
@dsommers
Copy link
Member

dsommers commented Feb 6, 2024

This is clearly a missing feature. I'm working my way through this code, as part of #171. The whole "network configuration service" (openvpn3-service-netcfg) is being ported to a new D-Bus implementation. Once that is done, we can look into how to improve route metric handling.

The current v22_dev work in progress is already quite large and intrusive, so I'll postpone this for a following release.

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

No branches or pull requests

2 participants