860 Commits

Author SHA1 Message Date
Arceliar
af478e0e45 fix very special case bug when trying to dhtPing the root via the admin api 2018-12-08 00:42:13 -06:00
Arceliar
bd2d706745 fix bug from go vet while I'm at it 2018-12-07 20:36:30 -06:00
Arceliar
2d5f99a008 remove working_directory from circleci config, let it use the default, as per their blog post on go modules in 1.11 2018-12-07 20:19:19 -06:00
Arceliar
586781b49c convert to go module 2018-12-07 19:56:04 -06:00
Arceliar
caa7b739af
Merge pull request #226 from neilalexander/imprint
Imprint version number onto builds
2018-12-07 17:37:20 -06:00
Arceliar
ffbdef292f
Fix typo in changelog 2018-12-07 17:30:07 -06:00
Neil Alexander
f99c224171
Update CHANGELOG.md 2018-12-07 22:31:37 +00:00
Neil Alexander
5149c6c349
Show build name and version at startup if available 2018-12-07 22:24:01 +00:00
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