5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-27 04:45:39 +00:00
Commit Graph

1454 Commits

Author SHA1 Message Date
Neil Alexander
3524c6eff6
Add build name and version to getSelf call on admin socket 2018-12-07 22:22:46 +00:00
Neil Alexander
8e784438c7
Imprint build name and version number if available 2018-12-07 22:20:11 +00:00
Neil Alexander
4bc009d845
Update semver behaviour 2018-12-07 22:17:09 +00:00
Neil Alexander
8bd566d4d8
Remove VERSION 2018-12-07 22:05:36 +00:00
Neil Alexander
d0c2ce90bb
Fix semver when git history is not present 2018-12-07 22:03:57 +00:00
Neil Alexander
4532d0e0c8
Merge pull request #219 from neilalexander/semver
Tag releases in master using CI
2018-12-07 19:38:01 +00:00
Neil Alexander
5106c217c7
Merge pull request #225 from Arceliar/switch
switch bugfixes
2018-12-06 07:09:49 +00:00
Arceliar
fe772dd38e switch bugfixes 2018-12-05 18:22:39 -06:00
Arceliar
dd6a1dfccc
Merge pull request #224 from neilalexander/changelog
Update changelog
2018-12-05 18:17:26 -06:00
Arceliar
09228554cb
Merge pull request #223 from neilalexander/reusemulticast
Try to SO_REUSEPORT on multicast socket
2018-12-05 18:15:21 -06:00
Neil Alexander
2eedcce3fd
Update changelog 2018-12-05 23:39:28 +00:00
Neil Alexander
ae48a1721e
Try to SO_REUSEADDR on Windows 2018-12-05 23:10:50 +00:00
Neil Alexander
eae8f9a666
Try to SO_REUSEPORT on UNIX platforms 2018-12-05 22:39:04 +00:00
Arceliar
cc066d7aeb
Merge pull request #221 from jcgruenhage/reduce-container-image-size
Reduce container image size
2018-12-04 18:54:58 -06:00
Jan Christian Grünhage
9f4fc3669b Reduce container image size 2018-12-04 13:04:42 +01:00
Neil Alexander
58b60af208
Merge pull request #220 from Arceliar/switch
More latency-based switch optimizations
2018-12-04 09:11:55 +00:00
Arceliar
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
Arceliar
9e17e41b79
Merge pull request #218 from cwinfo/develop
Docker Support & Updated License
2018-12-03 18:06:46 -06:00
Neil Alexander
8a04cbe3c8
Try to fix CircleCI shell error 2018-12-03 17:49:03 +00:00
Neil Alexander
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
Christer Warén
6170f7268f
Rename LICENSE.md to LICENSE 2018-12-03 06:46:05 +02:00
Christer Warén
ecc0cd4992
Update and rename LICENSE to LICENSE.md 2018-12-03 06:39:28 +02:00
Christer Warén
4fc0117e08
Creating Dockerfile to /
Hint for support of docker, same in cjdns repository
2018-12-03 06:06:58 +02:00
Christer Warén
80b876d21d
Creating entrypoint.sh to /contrib/docker/ 2018-12-03 05:58:24 +02:00
Christer Warén
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
Neil Alexander
8ade7aed62
Merge pull request #217 from neilalexander/json
Add -json flag for -genconf and -normaliseconf
2018-12-02 23:53:29 +00:00
Neil Alexander
150cf810dd
Update comments for -useconf and -useconffile 2018-12-02 23:52:57 +00:00
Neil Alexander
ad30e36881
Add -json flag for -genconf and -normaliseconf 2018-12-02 23:49:48 +00:00
Arceliar
684632eb3d
Merge pull request #215 from Arceliar/switch
Latency-based parent selection for the switch
2018-12-02 17:26:26 -06:00
Neil Alexander
b7ccdaf423
Merge pull request #216 from neilalexander/switchoptions
Add SwitchOptions and MaxTotalQueueSize
2018-12-02 23:25:44 +00:00
Neil Alexander
5a89a869be
Set queueTotalMaxSize before switch worker starts 2018-12-02 23:24:54 +00:00
Neil Alexander
b5f4637b5c
Enforce min 4MB switch queue total size 2018-12-02 23:20:11 +00:00
Neil Alexander
319457ae27
Update comment for MaxTotalQueueSize 2018-12-02 23:03:10 +00:00
Neil Alexander
86da073226
Add SwitchOptions and MaxTotalQueueSize 2018-12-02 22:49:27 +00:00
Arceliar
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
Arceliar
38093219fd dimensionless way to track how often nodes are faster than the current parent 2018-12-02 14:46:58 -06:00
Arceliar
05b07adba2
Merge pull request #213 from neilalexander/admincleanup
Admin socket clean-up
2018-11-26 19:18:24 -06:00
Arceliar
b3e2b8e6a5
Update admin.go
Replace `nil` with `[]string{}` for `list`'s argument list.
2018-11-26 19:15:27 -06:00
Neil Alexander
5912dcc72c
Fix typo 2018-11-26 18:34:17 +00:00
Neil Alexander
099fee9cae
Rename destPubKey to box_pub_key in addRoute etc 2018-11-26 17:58:54 +00:00
Neil Alexander
498d664f51
Add -v for verbose output from yggdrasilctl 2018-11-26 17:55:34 +00:00
Neil Alexander
315aadae06
Rename help to list 2018-11-26 17:51:30 +00:00
Neil Alexander
a6be4bacbc
Don't show box_pub_key in tables 2018-11-26 17:50:31 +00:00
Neil Alexander
8239989c36
Send box_pub_key with getSessions, getDHT, getSwitchPeers and getPeers 2018-11-26 17:38:02 +00:00
Neil Alexander
5b10af7399
Rename key to box_pub_key in admin socket for consistency 2018-11-26 17:34:26 +00:00
Neil Alexander
bd9055ddd7
Merge pull request #212 from Arceliar/admin
Add dhtPing to the admin interface
2018-11-26 17:28:33 +00:00
Arceliar
d8d1e63c36 fix infinite loop from interaction between dht.isImportant and dht.insert 2018-11-25 20:33:33 -06:00
Arceliar
0ec6207e05 better response format and yggdrasilctl printing 2018-11-25 18:25:31 -06:00
Arceliar
a34ca40594 use a buffered channel to avoid races, and run gofmt 2018-11-25 17:59:36 -06:00
Arceliar
d253bb750c yggdrasilctl support 2018-11-25 17:50:56 -06:00