pyroute2 icon indicating copy to clipboard operation
pyroute2 copied to clipboard

RFC: A pyroute2 compatible interface to userspace wireguard

Open stevekerrison opened this issue 4 years ago • 3 comments

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!

stevekerrison avatar Feb 16 '21 04:02 stevekerrison

Interesting, thanks for the link. I'll place it to the docs too.

svinota avatar Feb 18 '21 14:02 svinota

@stevekerrison a question — do you like to keep the project separate, or would you like to integrate, or?

svinota avatar Feb 19 '21 10:02 svinota

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.

stevekerrison avatar Feb 19 '21 10:02 stevekerrison