5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-30 05:31:35 +00:00
Commit Graph

1245 Commits

Author SHA1 Message Date
Neil Alexander
f29a098488
Add experimental dummy interface for AWDL 2019-01-04 17:14:40 +00:00
Neil Alexander
d10a0d6137
Add GenerateConfigJSON, fix StartJSON 2019-01-03 22:50:08 +00:00
Neil Alexander
f7b0a85b5e
Add StartJSON 2019-01-02 23:15:36 +00:00
Neil Alexander
4ff3db2309
Add dummy tun, helper functions 2019-01-02 18:05:54 +00:00
Neil Alexander
53aeca8fa2
Add some simple functions for Swift bindings (iOS) 2019-01-01 23:25:20 +00:00
Neil Alexander
1e29465af1
Fix debug builds (hopefully) 2018-12-31 12:08:15 +00:00
Neil Alexander
4d3e90cbfe
Merge branch 'develop' into nodeconfig 2018-12-31 11:55:37 +00:00
Neil Alexander
d08a3c6643
Merge pull request #299 from neilalexander/getnodeinfo
getNodeInfo: Show own info if box_pub_key/coords not specified
2018-12-31 11:51:36 +00:00
Neil Alexander
fb47c9822f
getNodeInfo: Show own info if box_pub_key/coords not specified 2018-12-31 11:48:50 +00:00
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
34778bd49f
Merge pull request #293 from neilalexander/version
Rewrite contrib/semver/version.sh
2018-12-27 22:29:36 +00:00
Neil Alexander
e6e7f9377f
Move --count parameter 2018-12-27 21:45:30 +00:00
Neil Alexander
8c7b9e2f90
Add a null check to name.sh 2018-12-27 21:44:29 +00:00
Neil Alexander
6fcd8a8dbd
Fix incorrect check 2018-12-27 21:36:50 +00:00
Neil Alexander
7eaee172cf
Replace tests with ifs 2018-12-27 21:22:46 +00:00
Neil Alexander
57894541b7
Check string emptiness 2018-12-27 21:14:23 +00:00
Neil Alexander
e6a246f040
Chop up contrib/semver/version.sh 2018-12-27 20:03:46 +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