5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-15 20:10:28 +00:00
Commit Graph

2172 Commits

Author SHA1 Message Date
Neil Alexander
ebfc236153
Update changelog for v0.3.1 2018-12-17 11:13:11 +00:00
Neil Alexander
1c069741e9
Merge pull request #260 from neilalexander/hjson
Point hjson to master repo following comments merge
2018-12-17 10:56:05 +00:00
Neil Alexander
b20c3538b7
Point hjson to master repo following comments merge 2018-12-17 10:50:57 +00:00
Neil Alexander
51b3746df6
Merge pull request #259 from neilalexander/semver
Update semver
2018-12-17 10:40:35 +00:00
Neil Alexander
0ee74a4efd
Update semver 2018-12-17 10:34:26 +00:00
Neil Alexander
6e87791e50
Merge pull request #256 from Arceliar/tcp
Minor TCP change
2018-12-17 10:20:23 +00:00
Neil Alexander
2995f24534
Merge pull request #258 from neilalexander/yggdrasilctl
Make yggdrasilctl less crashy
2018-12-17 10:20:12 +00:00
Neil Alexander
422424af64
Don't panic 2018-12-17 10:19:20 +00:00
Neil Alexander
83d734e109
Make yggdrasilctl less crashy 2018-12-17 10:17:16 +00:00
Christer Warén
566f3a9d50
Merge pull request #2 from yggdrasil-network/develop
Branch Develop: Base to Fork
2018-12-17 04:40:57 +02:00
Arceliar
575572d9a0
Merge pull request #255 from Arceliar/tunfix
Fix panic when writing to closed tun (from race during shutdown)
2018-12-16 18:35:21 -06:00
Arceliar
300f471bab don't SetKeepAlive[Period] on tcp connections, since the behavior is platform specific 2018-12-16 18:32:50 -06:00
Arceliar
db034ce6bd replace panics with warning messages if the tun reader/writer return an error 2018-12-16 17:23:07 -06:00
Arceliar
d9f212dd39 don't panic if we write to a closed tun device because tun.close() was called 2018-12-16 17:01:59 -06:00
Arceliar
1a1e0553aa
Merge pull request #252 from Arceliar/refactoring
Refactoring
2018-12-15 18:26:04 -06:00
Arceliar
28c7d75a20 fix conflicts with nodeinfo and update that for new crypto type names 2018-12-15 18:11:02 -06:00
Neil Alexander
3ff0634156
Merge pull request #251 from Arceliar/fastpeer
Tune peering
2018-12-16 00:05:36 +00:00
Arceliar
89f9f5defb fix merge conflicts 2018-12-15 17:57:36 -06:00
Arceliar
8273fe54d2
Merge pull request #246 from neilalexander/metadata
NodeInfo support
2018-12-15 17:44:46 -06:00
Neil Alexander
e0ff3ca587
Rename Metadata to NodeInfo 2018-12-15 22:37:11 +00:00
Neil Alexander
226c72df16
Set max metadata size to 16kb 2018-12-15 13:18:35 +00:00
Neil Alexander
07c26176b6
Fix core.SetMetadata 2018-12-15 12:21:00 +00:00
Neil Alexander
9a5cf96c29
Rename admin socket getMeta to getMetadata 2018-12-15 12:18:52 +00:00
Neil Alexander
5417e33520
Merge branch 'develop' into metadata 2018-12-15 11:59:41 +00:00
Neil Alexander
7faff70d56
Merge pull request #254 from neilalexander/fixpeers
Fix panic if Peers or InterfacePeers is commented out
2018-12-15 11:57:04 +00:00
Neil Alexander
a50964b334
Fix panic if Peers or InterfacePeers is commented out 2018-12-15 11:57:25 +00:00
Neil Alexander
f5fa4da5b9
Merge branch 'develop' into metadata 2018-12-15 11:50:22 +00:00
Neil Alexander
fe30ec9a92
Merge pull request #253 from neilalexander/yggdrasilctl
Fix bug in yggdrasilctl where -endpoint gets ignored
2018-12-15 11:48:00 +00:00
Neil Alexander
98a544fd7d
Fix bug in yggdrasilctl where -endpoint gets ignored 2018-12-15 11:48:43 +00:00
Neil Alexander
92bb63f196
Use metadata from config file 2018-12-15 11:38:51 +00:00
Neil Alexander
d9884a5cac
Make use of metadata cache 2018-12-15 11:15:48 +00:00
Neil Alexander
d07e0ddfa0
Default metadata 2018-12-15 10:56:46 +00:00
Neil Alexander
8b63e841ea
Make threadsafe, add cache 2018-12-15 10:39:31 +00:00
Arceliar
4875ab8954 peer thread safey for dhtInfo updates 2018-12-14 21:44:31 -06:00
Arceliar
570e85c297 remove debug code 2018-12-14 21:12:25 -06:00
Arceliar
72cc1bb321 make genkeys use the new address/crypto packages 2018-12-14 20:58:52 -06:00
Arceliar
ea4ca02681 fix code after moving address/crypto/util 2018-12-14 20:49:18 -06:00
Neil Alexander
cdd2e7910a
Merge remote-tracking branch 'origin/develop' into metadata 2018-12-15 00:48:54 +00:00
Neil Alexander
d5031a5cb6
Metadata exchange without sessions 2018-12-15 00:48:27 +00:00
Arceliar
2c68d41409 move files, still need to fix exports and compile errors 2018-12-14 18:30:36 -06:00
Arceliar
abd8b69979 send a switch message immediately when peering, and use OS-level TCP keep-alive (shouldn't matter right now, since we have application-level keep-alive that preempts it, but important later) 2018-12-14 18:15:35 -06:00
Arceliar
06f58e5168
Merge pull request #250 from neilalexander/refactor
Refactoring
2018-12-14 17:57:26 -06:00
Neil Alexander
affddfb2fe
Merge remote-tracking branch 'origin/develop' into metadata 2018-12-14 22:33:00 +00:00
Neil Alexander
f9dc300787
Define Adapter base type/interface 2018-12-14 18:29:00 +00:00
Neil Alexander
8045cb4dc3
Define generic adapter type, rename tunDevice to tunAdapter 2018-12-14 18:21:08 +00:00
Neil Alexander
f28360ce4d
Fix debug builds (foiled by debug builds every time) 2018-12-14 18:10:39 +00:00
Neil Alexander
2a38ad07cd
Don't send ICMPv6 back when tun disabled 2018-12-14 18:08:40 +00:00
Neil Alexander
9eaa2566c1
Parameterise tun.init 2018-12-14 18:08:13 +00:00
Neil Alexander
1a7df477b0
Also correct tcp: into tcp:// 2018-12-14 17:55:07 +00:00
Neil Alexander
3ca5f10733
Don't try to correct peers with no schemes in addPeer 2018-12-14 17:52:54 +00:00