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

948 Commits

Author SHA1 Message Date
5106c217c7 Merge pull request #225 from Arceliar/switch
switch bugfixes
2018-12-06 07:09:49 +00:00
fe772dd38e switch bugfixes 2018-12-05 18:22:39 -06:00
dd6a1dfccc Merge pull request #224 from neilalexander/changelog
Update changelog
2018-12-05 18:17:26 -06:00
09228554cb Merge pull request #223 from neilalexander/reusemulticast
Try to SO_REUSEPORT on multicast socket
2018-12-05 18:15:21 -06:00
2eedcce3fd Update changelog 2018-12-05 23:39:28 +00:00
ae48a1721e Try to SO_REUSEADDR on Windows 2018-12-05 23:10:50 +00:00
eae8f9a666 Try to SO_REUSEPORT on UNIX platforms 2018-12-05 22:39:04 +00:00
cc066d7aeb Merge pull request #221 from jcgruenhage/reduce-container-image-size
Reduce container image size
2018-12-04 18:54:58 -06:00
9f4fc3669b Reduce container image size 2018-12-04 13:04:42 +01:00
58b60af208 Merge pull request #220 from Arceliar/switch
More latency-based switch optimizations
2018-12-04 09:11:55 +00:00
3d4b49b693 reset the switch speed info for a peer whenever it changes coords, instead of only if they're a parent and change coords. Also, make sure packets in the sim preserve order when sending, to avoid races when testing 2018-12-03 19:21:23 -06:00
9e17e41b79 Merge pull request #218 from cwinfo/develop
Docker Support & Updated License
2018-12-03 18:06:46 -06:00
8a04cbe3c8 Try to fix CircleCI shell error 2018-12-03 17:49:03 +00:00
a7f5c427d4 Tag releases in master using CI (also checks for v0.x.0 instead of v0.x when deciding version numbers) 2018-12-03 17:44:26 +00:00
6170f7268f Rename LICENSE.md to LICENSE 2018-12-03 06:46:05 +02:00
ecc0cd4992 Update and rename LICENSE to LICENSE.md 2018-12-03 06:39:28 +02:00
4fc0117e08 Creating Dockerfile to /
Hint for support of docker, same in cjdns repository
2018-12-03 06:06:58 +02:00
80b876d21d Creating entrypoint.sh to /contrib/docker/ 2018-12-03 05:58:24 +02:00
8b7b3452cf Creating Dockerfile to /contrib/docker/
- Multiple architectures supported by using Golang's official Debian Stretch image.
- Upgrading os to latest updates
- Adding all files to image
- Creating user for yggdrasil (kinda unused)
- Building from source code
2018-12-03 05:57:00 +02:00
8ade7aed62 Merge pull request #217 from neilalexander/json
Add -json flag for -genconf and -normaliseconf
2018-12-02 23:53:29 +00:00
150cf810dd Update comments for -useconf and -useconffile 2018-12-02 23:52:57 +00:00
ad30e36881 Add -json flag for -genconf and -normaliseconf 2018-12-02 23:49:48 +00:00
684632eb3d Merge pull request #215 from Arceliar/switch
Latency-based parent selection for the switch
2018-12-02 17:26:26 -06:00
b7ccdaf423 Merge pull request #216 from neilalexander/switchoptions
Add SwitchOptions and MaxTotalQueueSize
2018-12-02 23:25:44 +00:00
5a89a869be Set queueTotalMaxSize before switch worker starts 2018-12-02 23:24:54 +00:00
b5f4637b5c Enforce min 4MB switch queue total size 2018-12-02 23:20:11 +00:00
319457ae27 Update comment for MaxTotalQueueSize 2018-12-02 23:03:10 +00:00
86da073226 Add SwitchOptions and MaxTotalQueueSize 2018-12-02 22:49:27 +00:00
dcfe55dae8 store 'faster' relationships between all pairs of peers, to make fallback easier when a parent goes offline 2018-12-02 16:36:25 -06:00
38093219fd dimensionless way to track how often nodes are faster than the current parent 2018-12-02 14:46:58 -06:00
05b07adba2 Merge pull request #213 from neilalexander/admincleanup
Admin socket clean-up
2018-11-26 19:18:24 -06:00
b3e2b8e6a5 Update admin.go
Replace `nil` with `[]string{}` for `list`'s argument list.
2018-11-26 19:15:27 -06:00
5912dcc72c Fix typo 2018-11-26 18:34:17 +00:00
099fee9cae Rename destPubKey to box_pub_key in addRoute etc 2018-11-26 17:58:54 +00:00
498d664f51 Add -v for verbose output from yggdrasilctl 2018-11-26 17:55:34 +00:00
315aadae06 Rename help to list 2018-11-26 17:51:30 +00:00
a6be4bacbc Don't show box_pub_key in tables 2018-11-26 17:50:31 +00:00
8239989c36 Send box_pub_key with getSessions, getDHT, getSwitchPeers and getPeers 2018-11-26 17:38:02 +00:00
5b10af7399 Rename key to box_pub_key in admin socket for consistency 2018-11-26 17:34:26 +00:00
bd9055ddd7 Merge pull request #212 from Arceliar/admin
Add dhtPing to the admin interface
2018-11-26 17:28:33 +00:00
d8d1e63c36 fix infinite loop from interaction between dht.isImportant and dht.insert 2018-11-25 20:33:33 -06:00
0ec6207e05 better response format and yggdrasilctl printing 2018-11-25 18:25:31 -06:00
a34ca40594 use a buffered channel to avoid races, and run gofmt 2018-11-25 17:59:36 -06:00
d253bb750c yggdrasilctl support 2018-11-25 17:50:56 -06:00
7954fa3c33 store one callback instead of many, needed to prevent search failures if there are multiple outstanding packets 2018-11-25 17:08:45 -06:00
9937a6102e add callbacks to maintenance map cleanup 2018-11-25 16:29:47 -06:00
12e635f946 adjust dhtPing response so 'nodes' defaults to an empty list instead of null 2018-11-25 16:16:06 -06:00
d520a8a1d5 refactor dht code to call arbitrary callbacks instead of only searches.checkDHTRes, and add admin API fuction to dhtPing a node (with an optional target NodeID) 2018-11-25 16:10:32 -06:00
9f16d0ed1f Merge pull request #211 from Arceliar/memleaks
Memleaks
2018-11-25 19:27:45 +00:00
e17efb6e91 don't penalize dht timeouts a second time 2018-11-25 13:21:13 -06:00