pyroute2
pyroute2 copied to clipboard
RFC: A pyroute2 compatible interface to userspace wireguard
Hi folks,
This is a request for comments on a related project I put together. I found myself, having used pyroute2
to interact with kernel based wireguard, then wanting to also interact with userspace wireguard too. Of course, userspace uses the cross-platform socket interface, and not netlink.
My project, PyreGuard addresses this by providing the same interface as pyroute2
's WireGuard
module, but is able to handle both netlink and socket interface control methods.
There's probably better solutions than this, especially to those starting out fresh, but for those with some technical debt already accumulated, maybe it's useful.
Apologies if this is a bit off-topic, but I figured this was the best place to solicit comments or even maybe acquire some collaborators if the critical mass is there. Thanks!
Interesting, thanks for the link. I'll place it to the docs too.
@stevekerrison a question — do you like to keep the project separate, or would you like to integrate, or?
Hey @svinota, I really don't mind. I realised the other night that some people might not like the name so if it is kept separate, I might rename it.
I initially wrote it as a separate project because iproute2
is about interfacing with kernel-level components, so it didn't seem appropriate to just fork/PR.
But, if you/others think that's an acceptable way to go, I can also prepare one.