5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 09:30:28 +00:00

Commit Graph

  • 319457ae27
    Update comment for MaxTotalQueueSize Neil Alexander 2018-12-02 23:03:10 +0000
  • 86da073226
    Add SwitchOptions and MaxTotalQueueSize Neil Alexander 2018-12-02 22:49:27 +0000
  • dcfe55dae8 store 'faster' relationships between all pairs of peers, to make fallback easier when a parent goes offline Arceliar 2018-12-02 16:36:25 -0600
  • 38093219fd dimensionless way to track how often nodes are faster than the current parent Arceliar 2018-12-02 14:46:58 -0600
  • 05b07adba2
    Merge pull request #213 from neilalexander/admincleanup Arceliar 2018-11-26 19:18:24 -0600
  • b3e2b8e6a5
    Update admin.go Arceliar 2018-11-26 19:15:27 -0600
  • 5912dcc72c
    Fix typo Neil Alexander 2018-11-26 18:34:17 +0000
  • 099fee9cae
    Rename destPubKey to box_pub_key in addRoute etc Neil Alexander 2018-11-26 17:58:54 +0000
  • 498d664f51
    Add -v for verbose output from yggdrasilctl Neil Alexander 2018-11-26 17:55:34 +0000
  • 315aadae06
    Rename help to list Neil Alexander 2018-11-26 17:51:30 +0000
  • a6be4bacbc
    Don't show box_pub_key in tables Neil Alexander 2018-11-26 17:50:31 +0000
  • 8239989c36
    Send box_pub_key with getSessions, getDHT, getSwitchPeers and getPeers Neil Alexander 2018-11-26 17:38:02 +0000
  • 5b10af7399
    Rename key to box_pub_key in admin socket for consistency Neil Alexander 2018-11-26 17:34:26 +0000
  • bd9055ddd7
    Merge pull request #212 from Arceliar/admin Neil Alexander 2018-11-26 17:28:33 +0000
  • d8d1e63c36 fix infinite loop from interaction between dht.isImportant and dht.insert Arceliar 2018-11-25 20:33:33 -0600
  • 0ec6207e05 better response format and yggdrasilctl printing Arceliar 2018-11-25 18:25:31 -0600
  • a34ca40594 use a buffered channel to avoid races, and run gofmt Arceliar 2018-11-25 17:59:36 -0600
  • d253bb750c yggdrasilctl support Arceliar 2018-11-25 17:50:56 -0600
  • 7954fa3c33 store one callback instead of many, needed to prevent search failures if there are multiple outstanding packets Arceliar 2018-11-25 17:08:45 -0600
  • 9937a6102e add callbacks to maintenance map cleanup Arceliar 2018-11-25 16:29:47 -0600
  • 12e635f946 adjust dhtPing response so 'nodes' defaults to an empty list instead of null Arceliar 2018-11-25 16:16:06 -0600
  • d520a8a1d5 refactor dht code to call arbitrary callbacks instead of only searches.checkDHTRes, and add admin API fuction to dhtPing a node (with an optional target NodeID) Arceliar 2018-11-25 16:10:32 -0600
  • 9f16d0ed1f
    Merge pull request #211 from Arceliar/memleaks Neil Alexander 2018-11-25 19:27:45 +0000
  • e17efb6e91 don't penalize dht timeouts a second time Arceliar 2018-11-25 13:21:13 -0600
  • 9046dbde4f remove sigManager, it seems safer to just burn the CPU than to store a map of strings of potentially arbitrary length Arceliar 2018-11-25 13:06:54 -0600
  • 4e156bd4f7 better cleanup of maps Arceliar 2018-11-25 12:25:38 -0600
  • 8d6beebac4 clean up old requests during dht maintenance Arceliar 2018-11-24 20:04:14 -0600
  • 5a7c2b250c
    Merge pull request #209 from Arceliar/switch-tune Neil Alexander 2018-11-24 23:21:45 +0000
  • 3efc9bfa22
    Merge pull request #210 from Arceliar/admin Neil Alexander 2018-11-24 23:21:08 +0000
  • 6d0e40045a cleanup/fixes from go vet Arceliar 2018-11-22 21:41:16 -0600
  • 12cc7fc639 add yggdrasilctl support for getSourceSubnets and getRoutes Arceliar 2018-11-22 21:37:57 -0600
  • 4870a2e149 removeSourceSubnet and removeRoute via the admin api Arceliar 2018-11-22 21:30:56 -0600
  • 5953027411 switch from []byte to boxPubKey in ckr code, and start adding admin functions for existing code (yggdrasilctl.go still needs pretty printing support for the responses to the new get functions) Arceliar 2018-11-21 00:10:20 -0600
  • 5fa23b1e38 move router.recvPacket calls into the main router goroutine, to make the ckr checks threadsafe Arceliar 2018-11-20 22:04:18 -0600
  • e9cff0506c comment the switch a little better and limit how much uptime can affect which peer is used as a parent Arceliar 2018-11-19 21:30:52 -0600
  • ae4107a3b2
    Merge pull request #207 from Arceliar/chord Arceliar 2018-11-16 20:35:11 -0600
  • ef6cece720 fix sim and tune dht to bootstrap a little faster Arceliar 2018-11-16 19:32:12 -0600
  • 289f1ce7c2 set packet version in sim, so it plays nice with new parsing from the new ckr code Arceliar 2018-11-14 21:58:48 -0600
  • fc5a5830aa
    Merge pull request #203 from Arceliar/chord Neil Alexander 2018-11-14 20:13:42 +0000
  • 953ad0ef59
    Update neilalexander's logo proposal Neil Alexander 2018-11-14 19:25:35 +0000
  • be3a7b3e68
    Merge pull request #206 from Arceliar/ckr Arceliar 2018-11-11 00:04:47 -0600
  • 8cf8b0ec41 fix bug in recvPacket for packets coming from a subnet Arceliar 2018-11-11 00:00:47 -0600
  • 3b8cd0a8d6
    Merge pull request #205 from Arceliar/tunfix Arceliar 2018-11-10 22:44:02 -0600
  • 1b1b776097 fix crash when starting in tun mode Arceliar 2018-11-10 22:39:15 -0600
  • b3887e554c
    Merge pull request #204 from neilalexander/tapmac Neil Alexander 2018-11-10 19:41:50 +0000
  • 6fab0e9507
    Fix CKR (IPv4/IPv6) in TAP mode so frames sent to node MAC, base MAC/LL from node IPv6 address Neil Alexander 2018-11-10 18:33:52 +0000
  • adc32fe92f
    Track further neighbor state, don't send more NDPs than needed Neil Alexander 2018-11-10 17:32:03 +0000
  • d50e1bc803
    More complete NDP implementation for TAP mode, which tracks individual MAC addresses for neighbors Neil Alexander 2018-11-10 15:46:10 +0000
  • 15d5b3f82c comments and minor cleanup Arceliar 2018-11-09 23:02:38 -0600
  • 7af85c7d70
    Merge pull request #201 from neilalexander/ckr Arceliar 2018-11-09 18:37:39 -0600
  • 685b565512
    Check IP header lengths correctly per protocol Neil Alexander 2018-11-07 10:29:08 +0000
  • 9542bfa902
    Check the session perm pub key against the CKR key Neil Alexander 2018-11-07 10:16:46 +0000
  • fbfae473d4
    Use full node ID for CKR routes instead of truncated node IDs from the address/subnet Neil Alexander 2018-11-07 10:04:31 +0000
  • 39dab53ac7
    Update comments in configuration and some godoc descriptions Neil Alexander 2018-11-06 22:57:53 +0000
  • a3a53f92c3
    Reinstate length/bounds check in tun.go Neil Alexander 2018-11-06 22:35:28 +0000
  • 0240375417
    IPv4 CKR support in router Neil Alexander 2018-11-06 20:49:19 +0000
  • 424faa1c51
    Support IPv4 in ckr.go Neil Alexander 2018-11-06 20:04:49 +0000
  • cb7a5f17d9
    Check destination address upon receive in router Neil Alexander 2018-11-06 19:23:20 +0000
  • 2f75075da3
    Fix Yggdrasil subnet routing Neil Alexander 2018-11-06 14:28:57 +0000
  • bc62af7f7d
    Enable CKR properly from config Neil Alexander 2018-11-06 12:32:16 +0000
  • bc578f571c
    Some output at startup Neil Alexander 2018-11-06 11:56:32 +0000
  • f0947223bb
    Only validate CKR routes if CKR enabled Neil Alexander 2018-11-06 11:11:57 +0000
  • 19e6aaf9f5
    Remove sourceSubnet from router Neil Alexander 2018-11-06 00:06:37 +0000
  • e3d4aed44a
    Configure IPv6Sources Neil Alexander 2018-11-06 00:05:01 +0000
  • 8c2327a2bf
    Add source addresses option and more intelligent source checking Neil Alexander 2018-11-05 23:59:41 +0000
  • cfdbc481a5
    Modify source address check for CKR Neil Alexander 2018-11-05 23:22:45 +0000
  • 7218b5a56c
    Don't look up public keys for Yggdrasil native addresses Neil Alexander 2018-11-05 23:12:26 +0000
  • c7f2427de1
    Check CKR routes when receiving packets in router Neil Alexander 2018-11-05 22:58:58 +0000
  • 87b0f5fe24
    Use CKR in router when sending packets Neil Alexander 2018-11-05 22:39:30 +0000
  • 295e9c9a10
    Cache crypto-key routes (until routing table changes) Neil Alexander 2018-11-05 17:31:10 +0000
  • ec751e8cc7
    Don't allow Yggdrasil ranges as crypto-key routes Neil Alexander 2018-11-05 17:03:58 +0000
  • 52206dc381
    Add initial crypto-key routing handlers Neil Alexander 2018-11-05 16:40:47 +0000
  • 9e5f90d0e4
    Add neilalexander's logo proposal Neil Alexander 2018-11-04 19:15:53 +0000
  • a008b42f99 cleanup and some bugfixes, cache important dht nodes until something gets added/removed Arceliar 2018-10-29 22:24:18 -0500
  • 671c7f2a47 don't update recv time for known nodes that ping us or known peers Arceliar 2018-10-28 15:04:44 -0500
  • c0531627bc fix some chord dht bootstrapping bugs, no known cases where it now fails Arceliar 2018-10-24 22:03:27 -0500
  • f088a244da
    Merge pull request #198 from neilalexander/endpoints Neil Alexander 2018-10-24 18:28:51 +0100
  • 253861ebd3 reverse dht ownership order from predecessor to successor, this plays nicer with the default 0 bits in unknown node IDs Arceliar 2018-10-21 18:15:04 -0500
  • 5e3959f1d0 yet more debugging Arceliar 2018-10-21 17:40:43 -0500
  • 20c4b7027a
    Fix merge conflicts with endpoints branch Neil Alexander 2018-10-21 23:24:29 +0100
  • aab0502a4a
    Remove friendlyname traces, preserve endpoints Neil Alexander 2018-10-21 23:20:14 +0100
  • a1b72c16d8
    Some attempt at exchanging session metadata over the wire (broken) Neil Alexander 2018-10-21 22:58:27 +0100
  • f0bd40ff68 more testing Arceliar 2018-10-21 15:10:18 -0500
  • bcbd24120d keep track of all keys we're supposed to care about in the dht, don't give special treatment to successors/predecessors Arceliar 2018-10-21 14:57:04 -0500
  • efe6cec11a more debugging, trying to understand bootstrap issues Arceliar 2018-10-21 12:28:21 -0500
  • 4f435705e3
    Fix getSelf in yggdrasilctl Neil Alexander 2018-10-21 18:06:54 +0100
  • 088d28a93b
    Fix debug builds with friendly names Neil Alexander 2018-10-21 18:04:02 +0100
  • b809adf981
    Add FriendlyName option, show friendly name and real endpoint in admin socket/yggdrasilctl Neil Alexander 2018-10-21 17:57:48 +0100
  • 6c59ae862a more debugging Arceliar 2018-10-21 00:05:04 -0500
  • 95201669fe reintroduce (better) dht throttling Arceliar 2018-10-20 22:06:36 -0500
  • 8825494d59 remove maintenance searches and throttle logic, to focus on debugging in this simpler case first Arceliar 2018-10-20 20:11:32 -0500
  • 3dbffae99f add search for successor, via parent, to the dht maintenance cycle Arceliar 2018-10-20 19:09:25 -0500
  • d851d9afe7 add max pings before timing out a successor Arceliar 2018-10-20 18:31:11 -0500
  • 63d6ab4251 more cleanup, comments, and dht reset() changes Arceliar 2018-10-20 18:12:34 -0500
  • f3ec8c5b37 fix admin dht function, more cleanup, and slowly throttle back dht traffic when idle Arceliar 2018-10-20 17:58:54 -0500
  • 5a85d3515d cleanup Arceliar 2018-10-20 17:32:54 -0500
  • 02f0611dde more debugging Arceliar 2018-10-20 16:27:01 -0500
  • 1720dff476 add some debug output and get things to start working in the sim Arceliar 2018-10-20 15:21:40 -0500
  • 03a88fe304 Try using a chord-like DHT instead of a kad-like one, work in progress, but it compiles at least Arceliar 2018-10-20 14:48:07 -0500
  • a9f72a6ee1
    Merge pull request #195 from neilalexander/macospkg Neil Alexander 2018-10-17 13:14:03 +0100