Add rosenpass connection type and docs#196
Add rosenpass connection type and docs#196MahmoudAdelbghany wants to merge 1 commit intojoukewitteveen:masterfrom
Conversation
- add a rosenpass connection type that launches exchange-config in the background and stops it on profile shutdown - document rosenpass profile options and add an example profile - add rosenpass as an optional package dependency Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
How was this tested? Superficially it looks like a good start. |
|
All well and good, but I am a human pressed for time with an understanding of the upstream guide and I don't see how the current pull request deals with the peer/endpoint distinction and what parts of the logic in the |
|
This PR is a netctl wrapper around Peer/endpoint behavior is defined in the Rosenpass TOML. If This PR focuses on netctl lifecycle integration:
It also includes manpage, example, and PKGBUILD updates. Key/config generation and peer modeling remain handled by Rosenpass |
|
Thanks for the clarification so far. For reference, what happens (i.e. what commands are run) when rp exchange server.rosenpass-secret \
dev rosenpass0 \
listen $SERVERIP:9999 \
peer client.rosenpass-public \
allowed-ips 192.168.21.0/24is executed on the server, or when rp exchange client.rosenpass-secret \
dev rosenpass0 \
peer server.rosenpass-public \
endpoint $SERVERIP:9999 \
allowed-ips 192.168.21.0/24is executed on the client? |
|
On those two examples, For both sides:
Server command (
Client command (peer endpoint
So the endpoint distinction is: Rosenpass uses the RP endpoint as configured, while the WG endpoint for that peer is derived as RP port + 1. |
Implements netctl-side support for Rosenpass over WireGuard.
Changes:
rosenpassconnection type insrc/lib/connections/rosenpassrosenpass exchange-configin the backgrounddocs/netctl.profile.5.txtRosenpassConfigFile=RosenpassBinary=docs/examples/rosenpassrosenpassoptional dependency incontrib/PKGBUILD.inRefs: rosenpass/rosenpass#80
/claim #80