5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-23 19:15:40 +00:00
Commit Graph

2420 Commits

Author SHA1 Message Date
Arceliar
28e6c738e2
Merge branch 'master' into iterdht 2018-06-02 15:00:24 -05:00
Arceliar
09baad48e3 retry failed iterative searches, possibly becoming parallel if things are just slow, and keep track of / skip nodes that were already visited in the search 2018-06-02 14:57:06 -05:00
Arceliar
0f96fea3fc
Merge pull request #100 from neilalexander/dotstyle2
Improve formatting of dot graph
2018-06-02 13:25:01 -05:00
Neil Alexander
bc37d4fb76 Improve formatting of dot: dashed grey for unknown nodes, sans-serif text 2018-06-02 14:24:06 +01:00
Arceliar
ed6c9c2a54 deduplicate dht responses when adding them to the search, limit the search toVisit size 2018-06-02 00:29:36 -05:00
Arceliar
10a72444e3 get itersearch to run in the sim 2018-06-02 00:16:47 -05:00
Arceliar
ecf7e490d7 start of iterative dht searches 2018-06-01 23:34:21 -05:00
Arceliar
dc841c550b
Merge pull request #98 from Arceliar/dotstyle
Admin "dot" style changes
2018-06-01 20:57:24 -05:00
Neil Alexander
ec80a81ed5 Mark extrapolated nodes with dashed outline 2018-06-01 23:33:02 +01:00
Neil Alexander
e4082f218f Add text to dot graph explaining how a node is known 2018-06-01 23:23:24 +01:00
Neil Alexander
a2df5107f0
Change colour scheme: green for self, yellow for peer, blue for open session, white for DHT 2018-06-01 14:20:47 +01:00
Arceliar
ca15bbea57 try color coding dot output 2018-05-31 20:28:09 -05:00
Arceliar
887b463306
Merge pull request #97 from neilalexander/master
Set allowed encryption keys after start
2018-05-29 16:20:32 -05:00
Neil Alexander
027944a14a
Set allowed encryption keys after start as otherwise hits a nil pointer exception 2018-05-29 22:15:54 +01:00
Arceliar
742eded4ff
Merge pull request #96 from neilalexander/dedebug
Create Core API, remove DEBUG function calls
2018-05-29 16:01:23 -05:00
Neil Alexander
bfa281c0ae
Add -tags debug to run-sim 2018-05-27 23:50:22 +01:00
Neil Alexander
ccf71af6b7
Move Init from core.go to debug.go as function is only for simulator 2018-05-27 23:37:57 +01:00
Neil Alexander
460a22c063
Clean up some exported constants 2018-05-27 23:31:34 +01:00
Neil Alexander
a9e61d0d37
Add support for building "release" builds that don't contain pprof which are substantially smaller. To build a "debug" build, use "-tags debug" with "go build" 2018-05-27 23:22:50 +01:00
Neil Alexander
e9b1006dda
Remove final DEBUG calls from yggdrasil.go 2018-05-27 22:36:36 +01:00
Neil Alexander
35173e2388
Fix starting TUN read/write 2018-05-27 22:35:30 +01:00
Neil Alexander
4c115de633
De-debug 2018-05-27 22:13:37 +01:00
Arceliar
38e7704161 use backpressure instead of estimated bandwidth, sorted by uptime to break ties 2018-05-27 13:37:35 -05:00
Arceliar
707e23d392
Merge pull request #95 from Arceliar/tcpfix
fix npe, these don't need to be pointers
2018-05-27 13:28:51 -05:00
Arceliar
02ba9dc97c fix npe, these don't need to be pointers 2018-05-27 13:22:21 -05:00
Neil Alexander
5131d854e5
Merge pull request #94 from Arceliar/main-fixes
hjson bugfixes
2018-05-27 19:06:16 +01:00
Arceliar
7b12493417 panic if tcp startup fails, since otherwise a nil pointer occurs in multicast. make udp do the same thing. 2018-05-27 12:56:33 -05:00
Arceliar
e62cfa8c84 revert removal of useconffile 2018-05-27 12:31:35 -05:00
Arceliar
fcaabe4aac Fix some issues with hjson by converting to json then parsing to go struct, and remove useconffile option since it doesn't seem to add anything over stdin and increases the attack surface 2018-05-26 20:40:19 -05:00
Neil Alexander
71d3a2b187
Merge pull request #93 from neilalexander/bugfixes
Fix MulticastInterfaces and accidental truncation of addresses on macOS/BSD
2018-05-26 21:55:36 +01:00
Neil Alexander
a0f547cc1b
Fix being able to enable/disable multicast 2018-05-26 21:50:47 +01:00
Neil Alexander
bc899c395a
Fix accidental truncation of addresses ending in 8 on macOS and BSD 2018-05-26 21:47:54 +01:00
Arceliar
fae00e962f
Merge pull request #90 from neilalexander/admin
Add getMulticastInterfaces and getSelf to yggdrasilctl
2018-05-23 17:52:06 -05:00
Neil Alexander
cae589d2d3
More nice 2018-05-23 22:21:37 +01:00
Neil Alexander
5d87601118
Add getMulticastInterfaces and getSelf to yggdrasilctl 2018-05-23 22:13:52 +01:00
Neil Alexander
9b5965fd9a
Merge pull request #89 from neilalexander/config
Fix debian normalisation in postinst
2018-05-23 21:35:56 +01:00
Neil Alexander
77d67a1569
Fix debian normalisation in postinst 2018-05-23 21:31:52 +01:00
Arceliar
9e5964dcd4
Merge pull request #87 from neilalexander/config
Update configuration names and update multicast behaviour
2018-05-23 13:08:34 -05:00
Neil Alexander
8456b2e1bc
Fix substitution 2018-05-23 18:53:44 +01:00
Neil Alexander
1fd53bcb7d
Update comments in configuration 2018-05-23 14:02:13 +01:00
Neil Alexander
8a46253c1f
Normalise existing yggdrasil.conf on debian package install/upgrade 2018-05-23 13:26:08 +01:00
Neil Alexander
34f7b7ca14
Fix AllowedBoxPubs 2018-05-23 12:32:26 +01:00
Neil Alexander
ce854a76bd
Add -normaliseconf option and temporarily correct old config item names in running config 2018-05-23 12:04:27 +01:00
Neil Alexander
9d9083e373
Update configuration names, fix multicast interface selection 2018-05-23 11:28:20 +01:00
Neil Alexander
6f79184c9b
Move multicasting into yggdrasil package 2018-05-23 11:13:53 +01:00
Neil Alexander
388ae09fca
Rename some config items 2018-05-22 23:43:29 +01:00
Arceliar
b10ae51565
Merge pull request #85 from neilalexander/yggdrasilctl
Human-readable formatting in yggdrasilctl
2018-05-21 19:21:00 -05:00
Arceliar
14b2dd0c61
Merge pull request #86 from neilalexander/youraddresses
Show IPv6 address and subnet on startup
2018-05-21 19:18:08 -05:00
Neil Alexander
f6ea6fcc85
Add addAllowedBoxPub, removeAllowedBoxPub, getAllowedBoxPubs 2018-05-21 18:12:36 +01:00
Neil Alexander
04b3e84023
Show your IPv6 address and subnet when starting 2018-05-21 16:15:31 +01:00