Arceliar
|
945930aa2c
|
WIP have peer actors queue packets, temporarily a single simple FIFO queue with head drop
|
2020-04-03 00:32:26 -05:00 |
|
Arceliar
|
9834f222db
|
more work in progress actorizing the remaining parts of the switch
|
2020-03-29 19:01:50 -05:00 |
|
Arceliar
|
e926a3be6d
|
work in progress actorizing core.peers and replacing switch worker with per-peer switch-generated lookupTable
|
2020-03-29 00:23:38 -05:00 |
|
Arceliar
|
f308e81bf3
|
in the switch, keep a separate set of queues per peer instead of a global queue
|
2020-02-18 20:13:39 -06:00 |
|
Neil Alexander
|
c48c4ddc80
|
Merge pull request #641 from Arceliar/misc
Misc tuning
|
2020-01-10 11:35:51 +00:00 |
|
Neil Alexander
|
2fc6f9a71d
|
Merge pull request #643 from adamruzicka/mtu
Unify MTU datatypes across the codebase
|
2020-01-07 22:39:38 +00:00 |
|
Arceliar
|
c3b1a6af65
|
some nodeinfo actor fixes and adjust search timeout
|
2020-01-06 18:37:43 -06:00 |
|
Neil Alexander
|
9304873047
|
Convert nodeinfo to actor
|
2020-01-05 22:15:52 +00:00 |
|
Adam Ruzicka
|
8358fe5c5c
|
Unify MTU datatypes across the codebase
The codebase uses int and unit16 to represent MTU randomly. This change
unifies it to a MTU type from types package, which is currently uint16.
|
2020-01-05 18:01:22 +00:00 |
|
Neil Alexander
|
7c18c6806d
|
Further updates, notify sessions about updated MTU from API call
|
2019-11-21 09:54:36 +00:00 |
|
Neil Alexander
|
d1c445dc41
|
Thread safety for MTU API functions
|
2019-11-21 09:28:36 +00:00 |
|
Neil Alexander
|
e90be6f569
|
Add API functions for manipulating maximum session MTU, fix TUN/TAP to use that
|
2019-11-21 00:02:39 +00:00 |
|
Arceliar
|
5f1aea3636
|
fix deadlock when AddPeer fails
|
2019-11-12 21:01:32 -06:00 |
|
Neil Alexander
|
6a22e6c9de
|
Initial connection upgrade/TLS peering support
|
2019-10-23 17:26:35 +01:00 |
|
Neil Alexander
|
d27891aaf6
|
Merge pull request #528 from yggdrasil-network/documentation
Documentation updates
|
2019-09-25 17:09:09 +01:00 |
|
Neil Alexander
|
5a382e7e0b
|
Cherrypick fixes for _addPeerLoop memory leak for now
|
2019-09-19 08:55:55 +01:00 |
|
Neil Alexander
|
903a8921fc
|
Update api.go godoc
|
2019-09-01 23:47:47 +01:00 |
|
Neil Alexander
|
9e8e1c5a41
|
Documentation updates
|
2019-09-01 23:10:46 +01:00 |
|
Arceliar
|
7649ea0f9f
|
remove sessionInfo.doFunc, have the api just use phony.Block instead
|
2019-08-29 21:59:28 -05:00 |
|
Neil Alexander
|
607c906820
|
Pointer receivers for phony.Block
|
2019-08-28 12:26:44 +01:00 |
|
Neil Alexander
|
5d7d84f827
|
Remove router.doAdmin and switchTable.doAdmin
|
2019-08-28 12:17:19 +01:00 |
|
Arceliar
|
3845f81357
|
update to latest phony, adjust interface use accordingly
|
2019-08-27 19:43:54 -05:00 |
|
Arceliar
|
502f2937a9
|
a couple race fixes and use timer.AfterFunc instead of sleeping goroutines or ticker in a few places
|
2019-08-25 17:00:02 -05:00 |
|
Arceliar
|
998c76fd8c
|
more switch migration
|
2019-08-24 15:22:46 -05:00 |
|
Arceliar
|
b337228aa4
|
minor fixes to peer stuff
|
2019-08-24 14:24:42 -05:00 |
|
Arceliar
|
9835c63818
|
refactor things the router owns (dht, sessions, searches) into that struct, to make the ownership more explicit
|
2019-08-23 20:26:15 -05:00 |
|
Arceliar
|
bbcbbaf3b1
|
start migrating sessionInfo to be an actor
|
2019-08-23 20:05:18 -05:00 |
|
Slex
|
589ad638ea
|
Implement feature from https://github.com/yggdrasil-network/yggdrasil-go/issues/488
|
2019-08-11 00:31:22 +03:00 |
|
Neil Alexander
|
3a2ae9d902
|
Update API to represent coords as []uint64
|
2019-08-05 10:17:19 +01:00 |
|
Neil Alexander
|
37533f157d
|
Make some API changes (currently broken)
|
2019-08-05 00:30:12 +01:00 |
|
Neil Alexander
|
853054eb62
|
Merge pull request #475 from Arceliar/misc
Misc
|
2019-07-29 20:24:49 +01:00 |
|
Neil Alexander
|
c9554f82be
|
Formatting tweaks in api.go
|
2019-07-28 11:35:16 +01:00 |
|
Neil Alexander
|
24f4754f2b
|
Export NodeInfoPayload type, rename some API functions
|
2019-07-28 11:30:24 +01:00 |
|
Arceliar
|
e0a3055c2f
|
get rid of session workers, new util.PutBytes/GetBytes logic
|
2019-07-27 18:10:32 -05:00 |
|
Neil Alexander
|
de1005e4fa
|
Various API changes and simplifications to fix mobile builds
|
2019-07-27 15:00:09 +01:00 |
|
Arceliar
|
fbe44ea973
|
fix bug in session api code
|
2019-06-29 19:25:34 -05:00 |
|
Arceliar
|
40553a6a44
|
make GetSessions use the session workers to avoid races
|
2019-06-29 18:56:26 -05:00 |
|
Neil Alexander
|
0d23342358
|
Merge pull request #441 from Arceliar/dial
Dial
|
2019-06-29 10:52:05 +01:00 |
|
Neil Alexander
|
93a323c62c
|
Add support for logging to file or syslog instead of stdout
|
2019-06-28 23:45:04 +01:00 |
|
Arceliar
|
29a0f8b572
|
some minor refactoring to dht callbacks and searches, work in progress
|
2019-06-25 19:31:29 -05:00 |
|
Neil Alexander
|
e229ad6e2b
|
Update comments
|
2019-06-11 12:52:13 +01:00 |
|
Neil Alexander
|
720a078a35
|
Add SetSessionGatekeeper
This allows you to define a function which determines whether a session connection (either incoming or outgoing) is allowed based on the public key.
|
2019-06-11 10:52:21 +01:00 |
|
Neil Alexander
|
78eb40cbad
|
Record session uptime (purely for the admin socket)
|
2019-05-29 12:59:36 +01:00 |
|
Neil Alexander
|
5b8d8a9341
|
Reimplement getNodeInfo, dhtPing, get/add/removeAllowedEncryptionPublicKey, add/removePeer
|
2019-05-20 19:51:44 +01:00 |
|
Neil Alexander
|
8ef1978cb1
|
Start factoring out the admin socket into a separate module (not all functions implemented yet)
|
2019-05-19 17:27:48 +01:00 |
|
Neil Alexander
|
7ca5a2533d
|
Implement GetDHT, GetSwitchQueues, GetSessions
|
2019-05-19 16:29:04 +01:00 |
|
Neil Alexander
|
8a6f6f3b2b
|
Implement GetPeers and GetSwitchPeers API functions in Core, in preparation for breaking out the admin socket into a separate module
|
2019-05-18 17:21:02 +01:00 |
|
Neil Alexander
|
b20c8b6da5
|
Move some things around a bit, delete session workers
|
2019-04-19 00:11:43 +01:00 |
|
Neil Alexander
|
b2f4f2e1b6
|
Update errors, update Write
|
2019-04-19 00:07:26 +01:00 |
|
Neil Alexander
|
160e01e84f
|
Searches called from api.go, various other tweaks, searches now have a callback for success/failure, node ID now reported by admin socket
|
2019-04-18 23:38:23 +01:00 |
|