4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-14 20:56:05 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
a072e063d8 Define module.Module interface, update admin/tuntap/multicast modules to comply with it, fix #581 2019-10-23 10:44:58 +01:00
39461cb603 Don't os.Exit 2019-09-19 09:56:27 +01:00
00a972b74e Disconnect peers when stopping, stop modules before core 2019-09-18 15:22:17 +01:00
fc9a1c6c31 Simplify reconfiguration 2019-08-28 19:31:04 +01:00
2a629880fd Rename crypto-key config options, improve control flow 2019-08-19 10:28:30 +01:00
02bfe28399 Minor tweaks 2019-08-14 20:09:02 +01:00
589ad638ea Implement feature from https://github.com/yggdrasil-network/yggdrasil-go/issues/488 2019-08-11 00:31:22 +03:00
bbb35d7209 Transform Listen statement to new format if needed 2019-08-07 10:52:19 +01:00
4804ce39af Tidy up the terminate path a bit 2019-07-06 12:17:40 +01:00
02c99d3e7d More directly define a minwinsvc exit handler 2019-07-06 12:04:31 +01:00
12486b0557 Try to more gracefully handle shutdowns on Windows 2019-07-06 11:52:30 +01:00
23108e268b Use go-syslog to fix builds on Windows 2019-06-29 00:32:23 +01:00
93a323c62c Add support for logging to file or syslog instead of stdout 2019-06-28 23:45:04 +01:00
907986f200 Implement session firewall as gatekeeper func in cmd/yggdrasil 2019-06-11 12:50:01 +01:00
d575b83ec1 Refactor admin socket somewhat, allow modules to set up their own handlers 2019-05-19 22:02:04 +01:00
8ef1978cb1 Start factoring out the admin socket into a separate module (not all functions implemented yet) 2019-05-19 17:27:48 +01:00
2df62e2b9b Remove code that translates v0.2 config options (it was commented out anyway) 2019-05-17 22:52:14 +01:00
ae2cc13d14 Fix configuration reloading support 2019-05-17 22:29:52 +01:00
781cd7571f Fix race on tun conns, but still deadlocks if more than one connection is opened 2019-04-21 12:00:31 +01:00
d01662c1fb Try to convert TUN/TAP to use new yggdrasil.Conn, search masks are still broken 2019-04-20 16:32:27 +01:00
24281d4049 Fix Read, update sample 2019-04-19 23:47:11 +01:00
693bcc5713 Update sample in cmd/yggdrasil 2019-04-19 23:30:57 +01:00
ade684beff Signal when a session is closed, other tweaks 2019-04-19 10:55:15 +01:00
b2f4f2e1b6 Update errors, update Write 2019-04-19 00:07:26 +01:00
160e01e84f Searches called from api.go, various other tweaks, searches now have a callback for success/failure, node ID now reported by admin socket 2019-04-18 23:38:23 +01:00
4c0c3a23cb Fix bugs 2019-03-29 18:24:57 +00:00
a830521078 Don't crash if Yggdrasil is started with no router adapter 2019-03-29 08:38:09 +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
0b494a8255 Refactoring: move tuntap and icmpv6 into separate package 2019-03-28 00:30:25 +00:00
41872820c3 Remove isAutoconf option to GenerateConfig 2019-03-12 19:18:43 +00:00
be8db0c120 Support multiple TCP listeners 2019-03-04 17:52:57 +00:00
0ca64b0abe Remove ReadTimeout configuration option 2019-02-10 12:13:49 +00:00
0838928668 Add support for flexible logging levels 2019-01-27 13:31:43 +00:00
fdf300a1ff Handle AllowedEncryptionPublicKeys internally 2019-01-16 20:26:39 +00:00
f6b663c257 Make multicasting use config instead of ifceExpr in Core 2019-01-14 19:27:13 +00:00
87d393bd9f Move add peer loop into Core, refresh it from active config 2019-01-14 17:21:15 +00:00
738a9da796 Merge branch 'develop' into nodeconfig 2019-01-14 14:01:38 +00:00
53aeca8fa2 Add some simple functions for Swift bindings (iOS) 2019-01-01 23:25:20 +00:00
f96747181d Allow updating AdminListen during runtime 2018-12-30 12:26:55 +00:00
219fb96553 Support notifying components for config reload, listen for SIGHUP 2018-12-29 18:51:51 +00:00
586deed0f9 Add NodeInfoPrivacy option for not including defaults, and also check for null/"null" instead of "hide" 2018-12-21 09:56:34 +00:00
b20c3538b7 Point hjson to master repo following comments merge 2018-12-17 10:50:57 +00:00
a50964b334 Fix panic if Peers or InterfacePeers is commented out 2018-12-15 11:57:25 +00:00
1a7df477b0 Also correct tcp: into tcp:// 2018-12-14 17:55:07 +00:00
ccf6ce07a4 Fix Peers and InterfacePeers when not in correct format 2018-12-14 17:49:42 +00:00
586781b49c convert to go module 2018-12-07 19:56:04 -06:00