3 Commits

Author SHA1 Message Date
Benoît Ganne
5c11196a75 add support for peer auto-discovery in wgsd-client
This patch allows wgsd-client to auto-discover other mesh peers:
 - use peer allowed ip and pubkey from TXT record in SRV answer
 - iterate on peers extracted from PTR answer instead of local wireguard
configuration: the client no longer need to pre-configured with all the
peers
 - allow to connect to a specific peer using its pubkey or allowed ip
2020-12-08 13:45:07 +01:00
Jordan Whited
e9812b0947 add timeout to wgsd-client 2020-05-26 15:37:38 -07:00
Jordan Whited
4880884e1b client -> wgsd-client 2020-05-20 12:33:32 -07:00