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

Use netlink multicast subscription for notification of Wireguard peer changes #8

Closed
stv0g opened this issue May 4, 2022 · 1 comment
Labels
enhancement New feature or request performance Improves performance

Comments

@stv0g
Copy link
Collaborator

stv0g commented May 4, 2022

There has been a patch on the Wireguard mailing list add support for netlink multicast subscriptions which allow for listening to changes of the peers of an interface:

However this patch hasnt made it up into the Linux tree yet.

We could use this for accelerating the detection of new peers or peer handshakes.

There is also a thread on the Wireguard mailing list discussing this feature:

https://lists.zx2c4.com/pipermail/wireguard/2021-March/006463.html

@stv0g stv0g added enhancement New feature or request performance Improves performance labels May 4, 2022
@stv0g
Copy link
Collaborator Author

stv0g commented Jun 26, 2022

Closing for now as the required kernel feature does not exist (yet).

@stv0g stv0g closed this as completed Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Improves performance
Projects
None yet
Development

No branches or pull requests

1 participant