5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 21:10:29 +00:00
Commit Graph

876 Commits

Author SHA1 Message Date
Neil Alexander
cd86c33850
Try to tidy up a bit, move checks for if we are already calling/connected
Something I noticed when working on reconfigure support for the "Listen"
option is that we have some rather huge weaknesses in our multicasting
design. Right now if we change our Listen address, it's not really
possible for remote nodes to know whether they are still connected to
us, so they start connecting in response to our changed beacons. They
can't know that they already know about us until *after* the handshake
but this registers in the local client log as repeated Connect/Disconnects
even though the existing peerings never actually drop.
2018-12-30 21:11:16 +00:00
Neil Alexander
80c9a1bc12
Don't track localAddr in conns as it is irrelevant 2018-12-30 16:48:34 +00:00
Neil Alexander
cb4495902b
Allow updating Listen during runtime 2018-12-30 15:21:09 +00:00
Neil Alexander
f96747181d
Allow updating AdminListen during runtime 2018-12-30 12:26:55 +00:00
Neil Alexander
7fae1c993a
Handle errors from reconfigure tasks 2018-12-30 12:04:42 +00:00
Neil Alexander
2925920c70
Use mutex in switch/tcp init 2018-12-29 19:53:31 +00:00
Neil Alexander
fa7c4117b4
Use Core.config in init functions 2018-12-29 19:14:26 +00:00
Neil Alexander
219fb96553
Support notifying components for config reload, listen for SIGHUP 2018-12-29 18:51:51 +00:00
Neil Alexander
b4a7dab34d
Versioning be damned 2018-12-26 23:50:17 +00:00
Neil Alexander
9a5f3a0abb
Merge pull request #291 from yggdrasil-network/develop
Version 0.3.2
2018-12-26 23:42:52 +00:00
Neil Alexander
dd7c5ec52b
Merge pull request #290 from neilalexander/changelog
Update changelog for v0.3.2
2018-12-26 23:39:30 +00:00
Neil Alexander
52e6461433
Update changelog for v0.3.2 2018-12-26 23:28:12 +00:00
Neil Alexander
a71c5dd887
Merge pull request #289 from neilalexander/tunicmpv6
Don't process ICMPv6 messages when in TUN mode
2018-12-26 23:18:23 +00:00
Neil Alexander
4e03bdb054
Don't process ICMPv6 messages when in TUN mode 2018-12-26 22:45:21 +00:00
Neil Alexander
cc2b6f093c
Merge pull request #288 from sinbsd/develop
Use #!/bin/sh for clean script
2018-12-26 14:29:34 +00:00
sin
702317add1 Use #!/bin/sh for clean script 2018-12-26 14:26:29 +00:00
Neil Alexander
a8e6b864fd
Merge pull request #286 from neilalexander/fixndp
Fix ICMPv6 behaviour when populating peermacs
2018-12-26 12:29:16 +00:00
Neil Alexander
74692b689a
Fix OpenBSD (tested and working on 6.4) 2018-12-26 12:25:28 +00:00
Neil Alexander
b3d6c9a385
Print when peermacs learned 2018-12-26 11:57:08 +00:00
Neil Alexander
9eeb482587
Use ICMPv6 NDP target instead of source address when populating peermacs 2018-12-26 11:51:21 +00:00
Arceliar
4e5906bf23
Merge pull request #284 from Arceliar/dht
insert a copy when calling dht.insertPeer
2018-12-26 00:26:54 -06:00
Arceliar
50ed92d6d2 insert a copy when calling dht.insertPeer 2018-12-26 00:18:51 -06:00
Neil Alexander
13d14b67ab
Merge pull request #278 from deavmi/patch-1
Typo fix
2018-12-22 10:19:50 +00:00
Tristan B. Kildaire
b66049c14f
Typo fix
Typo fix in function's header comment.
2018-12-22 11:31:52 +02:00
Neil Alexander
0dfdc789d3
Merge pull request #275 from neilalexander/nodeinfomask
Allow hiding nodeinfo defaults
2018-12-22 08:54:37 +00:00
Neil Alexander
e428077a2a
Merge pull request #276 from Arceliar/dht
Tune DHT a little better
2018-12-22 08:53:44 +00:00
Arceliar
59093aa43b clean up node info immediately if it reaches the timeout or if it needs refreshing but won't be pinged due to being unimportant 2018-12-21 17:45:24 -06:00
Arceliar
973f76fb76
Merge pull request #277 from deavmi/develop
Typo fix in Whitepaper.
2018-12-21 17:24:24 -06:00
Tristan B. Kildaire
39997267f7
Typo fix.
Just a typo fix.
2018-12-21 15:04:15 +02:00
Neil Alexander
f6b0075989
Case-insensitive checking of null if string, don't print the nodeinfo again 2018-12-21 10:04:32 +00:00
Neil Alexander
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
Arceliar
f59852b1e1 adjust how dht throttle works, it should now back off faster, and back off even more if things are not in use 2018-12-20 20:16:51 -06:00
Neil Alexander
60549cfa09
Adds special keyword 'hide' for masking built-in nodeinfo defaults 2018-12-20 23:49:15 +00:00
Arceliar
dfcdafa55c move special peer/dht insert logic form router.go to dht.go 2018-12-20 17:37:59 -06:00
Arceliar
e65910806c
Merge pull request #270 from neilalexander/circleci
Don't fail if tag exists
2018-12-18 18:47:57 -06:00
Neil Alexander
3283de17d5
Don't fail if tag exists 2018-12-19 00:15:12 +00:00
Neil Alexander
b2fcf130b9
Merge pull request #269 from darkdrgn2k/armv6
Added compile support for Arm v6
2018-12-18 23:59:51 +00:00
darkdrgn2k
f91fb1045c
Downgraded all armhf builds to v6 2018-12-18 12:28:15 -05:00
darkdrgn2k
ace9568981
Added compile support for Arm v6
Support for older raspberry pis and Pi Zero
2018-12-18 11:36:15 -05:00
Neil Alexander
631f1fe907
Merge pull request #267 from neilalexander/arghsemver
CircleCI: don't recreate tags that already exist
2018-12-18 12:17:47 +00:00
Neil Alexander
09ea9a166f
More tweaks to semver 2018-12-18 12:14:47 +00:00
Neil Alexander
3ea33c9fa7
Fix build tags maybe? 2018-12-18 12:03:23 +00:00
Neil Alexander
bfdb079b79
Append suffix to master releaser releases if they are not the first merge (package revisions) 2018-12-18 11:52:22 +00:00
Neil Alexander
5684279403
CircleCI: don't recreate tags that already exist 2018-12-18 11:47:46 +00:00
Neil Alexander
429d014d1c
Fix addgroup/groupadd 2018-12-18 11:16:27 +00:00
Neil Alexander
ccf0090540
Merge pull request #262 from yggdrasil-network/develop
Version 0.3.1
2018-12-17 23:29:28 +00:00
Neil Alexander
6f1613b16c
Merge pull request #266 from neilalexander/version
Fix semantic versioning
2018-12-17 22:18:34 +00:00
Neil Alexander
a22da8009f
Hopefully fix semver versioning breakage caused by non-master merge commits 2018-12-17 22:07:28 +00:00
Neil Alexander
0a9b34d121
Revert "Merge pull request #259 from neilalexander/semver"
This reverts commit 51b3746df6, reversing
changes made to 6e87791e50.
2018-12-17 19:17:29 +00:00
Neil Alexander
c2468b4246
Merge pull request #265 from neilalexander/threadedadmin
Multithread the admin socket
2018-12-17 19:08:14 +00:00