4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-18 06:26:08 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
cb81be94ec skip multicast packets sent from our own key 2021-06-13 12:31:52 -05:00
acdc3dd3c0 Replace ?ed25519= with ?key= in peering URIs 2021-06-11 21:12:27 +01:00
f7607557c1 fix nBytes check in multicast code 2021-06-06 04:48:00 -05:00
ea15eeee7e Ensure PublicKey option is unused, map old config options 2021-06-05 21:32:04 +01:00
414c100125 add public keys to multicast, public key pinning to multicast peering 2021-06-05 05:07:04 -05:00
8932ab0519 Fix lint errors 2021-06-02 14:40:09 +01:00
166336a418 Remove config.NodeState (hot reconfig is no longer supported) 2021-06-02 14:19:32 +01:00
8a60c605f6 remove metric stuff, there's already enough new stuff to test, maybe revisit this in a future release 2021-05-24 18:53:54 -05:00
5f2bcaa71f add Listen to api and listenURL to tcp 2021-05-23 21:47:12 -05:00
fd5cda6329 read metric from urls for listen and peers 2021-05-23 20:58:34 -05:00
018f35d9a2 rename src/yggdrasil to src/core 2021-05-23 14:42:26 -05:00
2d01386d6e Refactor admin socket, export request/response structs, remove types package 2021-05-16 19:51:09 +01:00
57ea61b338 Remove reconfiguration on SIGHUP - it didn't work reliably anyway 2021-05-10 22:47:28 +01:00
1d1c6efa1f attempt to keep TCP listener alive if there's a temporary error (e.g. too many open files), just pause and retry later 2020-10-18 11:01:18 -05:00
33e3679458 multicast, use the prebuilt interface map when checking active listeners (#707) 2020-09-27 13:16:51 +01:00
7778a47a8f fix darwin compile problem 2020-05-24 15:46:18 -05:00
98816f34b2 don't spam calls to net.Interfaces and net.Interface.Addrs (hopefully) 2020-05-24 15:24:39 -05:00
1e471e3712 back to master's version of multicast, lets try rewriting it again 2020-05-24 14:43:38 -05:00
c2d6e9e8f1 close listener when a multicast interface is removed 2020-05-24 14:09:06 -05:00
7779d86c5b maybe fix multicast deadlock on darwin 2020-05-09 05:56:36 -05:00
95f4ec52a4 save only the link-local addresses for multicast 2020-05-03 05:06:59 -05:00
de79401bb2 only call (net.Interface).Addrs() once per minute per interface 2020-05-03 02:50:04 -05:00
02e1cb180d possibly reduce multicast cpu usage even more 2020-05-02 17:23:20 -05:00
127b7e311c Clean up a bit 2020-05-02 22:37:12 +01:00
0c7cf65d27 Move some logging back to debug 2020-05-02 22:33:25 +01:00
a115d18595 Refactor the multicast code a bit 2020-05-02 22:26:41 +01:00
4159ccb893 Fix return value in Multicast.Stop() 2019-11-30 16:05:44 +02:00
cfc1e6b83d fix a crash when shutting down if no multicast interfaces are configured 2019-10-25 18:40:09 -05:00
de3bdfa524 No longer use atomic for isOpen in multicast 2019-10-24 23:31:47 +01:00
5ca81f916e Fix deadlocks 2019-10-24 09:54:57 +01:00
f784f33c2d Backport fix for #581 from #583 2019-10-24 09:25:31 +01:00
8003ea0f3e use a separate multicast beacon interval per multicast interface 2019-09-20 17:42:42 -05:00
1cd4b6e8dd Increase multicast interval at startup from 1s to 15s 2019-09-20 10:08:41 +01:00
eeb34ce4e4 modify TcpListener 2019-09-19 19:45:17 -05:00
2dc136f94a Multicast actor to prevent races 2019-09-18 16:51:46 +01:00
c78a4cb28f Only stop timers if they are running 2019-09-18 15:34:26 +01:00
366fe7e772 Allow multicast to be shut down more sanely 2019-09-18 15:31:43 +01:00
fc9a1c6c31 Simplify reconfiguration 2019-08-28 19:31:04 +01:00
de1005e4fa Various API changes and simplifications to fix mobile builds 2019-07-27 15:00:09 +01:00
12486b0557 Try to more gracefully handle shutdowns on Windows 2019-07-06 11:52:30 +01:00
27b3b9b49b Return new copy of interfaces on each Interfaces() call 2019-06-29 00:12:56 +01:00
54f1804101 Try and solidify multicast interface behavior 2019-06-20 15:11:55 +01:00
d575b83ec1 Refactor admin socket somewhat, allow modules to set up their own handlers 2019-05-19 22:02:04 +01:00
1b3ec0b93f Fix multicast start check so that it shouldn't give up if interfaces aren't up when Yggdrasil starts (fixes #405) 2019-05-17 22:59:29 +01:00
ae2cc13d14 Fix configuration reloading support 2019-05-17 22:29:52 +01:00
f19a4e4398 More godoc improvements 2019-03-29 18:18:31 +00:00
dd05a7f2a8 Tweaks 2019-03-28 19:09:19 +00:00
7ea4e9575e Break out multicast into a separate package 2019-03-28 16:13:14 +00:00