Alejandro Mery
|
08da69f7aa
|
cluster: change wg0.conf to allow ring0/32 and ring1/32 on each peer
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
3 months ago |
Alejandro Mery
|
6e3bb24b36
|
cluster: further remove wg1 support
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
3 months ago |
Alejandro Mery
|
9810f5c6c1
|
cluster: drop wg1.conf generation
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
3 months ago |
Alejandro Mery
|
01ef75a020
|
cluster: fix wg0.conf generator
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
4 months ago |
Alejandro Mery
|
948eff76d3
|
cluster: migrate to using pkg/rings for Addresses
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
5 months ago |
Alejandro Mery
|
187149c129
|
cluster: decouple RingID from WireguardInterfaceID
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
5 months ago |
Alejandro Mery
|
99dece1e43
|
cluster: use rings.ZoneID and rings.NodeID types
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
5 months ago |
Alejandro Mery
|
e5639b2f4e
|
cluster: generate ring keys on scan if missing
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
5abb4c2f92
|
cluster: rename pkg/zones to pkg/cluster
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
204f3a49a1
|
drop toml support
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
acf9e0e81d
|
zones: extend WriteWireguardConfig to include a Name indicating the ring ID
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
b95d1f1878
|
zones: introduce Wireguard Ring Config factory
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
d1f7d225ae
|
zones: fix RingOneAddress()'s generated address
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
30a7bceda3
|
wireguard: make KeyPairs solid
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
1419e55d5b
|
zones: remove useless RingInfo.Address
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
ffdacb833b
|
zones: add Port information to RingAddressEncoder
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
975e166da7
|
zones: allow RingInfo.Merge() to enable, but not disable
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
0fe451eed0
|
zones: introduce RingInfo.Merge()
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
c92873f07d
|
zones: introduce RingInfo and Machine.Rings
RingInfo includes Wireguard ring related details
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
0d14510958
|
zones: introduce RingAddressEncoder and RingZero/RingOne implementations
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
c3b47ba812
|
zones: introduce ValidZoneID() and ValidNodeID()
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
15f5aab449
|
zones: rename address.go to rings.go
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |
Alejandro Mery
|
a4a10d0226
|
zones: add helpers to compose and parse wg0/wg1 addresses
Signed-off-by: Alejandro Mery <amery@jpi.io>
|
1 year ago |