5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-21 20:40:28 +00:00

Commit Graph

  • d43b93f60a safer check for the queues if we're blocked on a send, should work even if we're blocked on a link packet send Arceliar 2020-05-17 13:23:15 -0500
  • ff3c8cb687 less aggresive queue size reduction Arceliar 2020-05-17 12:58:57 -0500
  • d96ae156a1 slight change to peer function names/args Arceliar 2020-05-17 12:27:43 -0500
  • 7720e169f2 when we detect we're blocked, only drop packets often enough to make sure the existing queue's size is non-increasing, and always drop the worst packet from a random flow with odds based on the total size of packets queued for that flow Arceliar 2020-05-17 12:09:40 -0500
  • 6e92af1cd2 re-enable a minimum queue size of ~1 big packet Arceliar 2020-05-17 08:49:40 -0500
  • 0dcc555eab cleaner startup/shutdown of the link writer's worker Arceliar 2020-05-17 08:34:22 -0500
  • 15ac2595aa use a dedicated per-stream writer goroutine, send messages to it over a 1-buffered channel, this eliminates most of the false positive blocking that causes drops Arceliar 2020-05-17 08:22:02 -0500
  • 527d443916 move where the queue size check before dropping would occur Arceliar 2020-05-17 07:21:09 -0500
  • 62b9fab5f8 more work-in-progress, debugging why things are dropping so often Arceliar 2020-05-16 18:56:04 -0500
  • b17a035a05 workarounds to dropping being too aggressive Arceliar 2020-05-16 17:40:11 -0500
  • b132560f65 it helps to actually run the notifyQueued stuff... Arceliar 2020-05-16 17:24:26 -0500
  • 052de98f12 work-in-progress on buffering overhaul Arceliar 2020-05-16 17:07:47 -0500
  • dc128121e5 update switch blockPeer/unblockPeer logic and dht reset when coords change Arceliar 2020-05-16 09:25:57 -0500
  • dd548fc0fa
    Merge pull request #685 from yggdrasil-network/neilalexander/pinning Arceliar 2020-05-09 07:09:15 -0500
  • f70b2ebcea
    Fix bad check Neil Alexander 2020-05-09 12:49:02 +0100
  • 2a2ad76479
    Use maps instead of slices Neil Alexander 2020-05-09 12:38:20 +0100
  • 433e392bdf Merge branch 'develop' of https://github.com/yggdrasil-network/yggdrasil-go into future Arceliar 2020-05-09 06:13:52 -0500
  • a59fd2a489
    Merge branch 'develop' into neilalexander/pinning Neil Alexander 2020-05-09 12:12:24 +0100
  • d0f2d889af
    Merge pull request #687 from yggdrasil-network/neilalexander/hjson Neil Alexander 2020-05-09 12:12:12 +0100
  • 9dfe0f4b4b
    Fix hjson dependency? Neil Alexander 2020-05-09 12:08:29 +0100
  • dafaef898b
    Merge pull request #686 from Arceliar/multicast Arceliar 2020-05-09 06:07:16 -0500
  • 7779d86c5b maybe fix multicast deadlock on darwin Arceliar 2020-05-09 05:56:36 -0500
  • 13a2d99fdc
    Set SOCKS peer addr to resolved address Neil Alexander 2020-05-09 11:26:09 +0100
  • 8b180e941a
    Add SOCKS proxy auth (closes #423) Neil Alexander 2020-05-09 11:24:32 +0100
  • 58345ac198
    Track proxy addr and real peer addr in SOCKS mode Neil Alexander 2020-05-09 10:53:58 +0100
  • fbf59184ee
    Use query string instead, allow specifying multiple keys (might be useful for DNS RR) Neil Alexander 2020-05-09 00:43:19 +0100
  • e849b3e119
    Initial support for pinning public keys in peering strings Neil Alexander 2020-05-08 23:23:48 +0100
  • 107d9f0e8b Merge branch 'develop' of https://github.com/yggdrasil-network/yggdrasil-go into future Arceliar 2020-05-03 05:20:30 -0500
  • b4d72dc604
    Merge pull request #684 from yggdrasil-network/neilalexander/multicast Neil Alexander 2020-05-03 11:14:27 +0100
  • 95f4ec52a4 save only the link-local addresses for multicast Arceliar 2020-05-03 05:06:59 -0500
  • de79401bb2 only call (net.Interface).Addrs() once per minute per interface Arceliar 2020-05-03 02:50:04 -0500
  • 02e1cb180d possibly reduce multicast cpu usage even more Arceliar 2020-05-02 17:23:20 -0500
  • 127b7e311c
    Clean up a bit Neil Alexander 2020-05-02 22:37:12 +0100
  • 0c7cf65d27
    Move some logging back to debug Neil Alexander 2020-05-02 22:33:25 +0100
  • a115d18595
    Refactor the multicast code a bit Neil Alexander 2020-05-02 22:26:41 +0100
  • 90b7d9ef97
    Merge pull request #683 from Arceliar/sim Arceliar 2020-05-02 11:52:13 -0500
  • 20ef591013 fix some crashes with races during peer setup Arceliar 2020-05-02 11:16:11 -0500
  • 402cfc0f00 undo remaining trivial change to build Arceliar 2020-05-02 10:56:17 -0500
  • 15162ee952 fix a panic from a doubly closed channel in the simlink Arceliar 2020-05-02 10:51:26 -0500
  • 12d448f6d5 Merge branch 'future' of https://github.com/yggdrasil-network/yggdrasil-go into sim Arceliar 2020-05-02 10:40:00 -0500
  • 8b888305e0
    Merge pull request #682 from Arceliar/bytes Arceliar 2020-05-02 10:39:41 -0500
  • 22526d89ec Merge branch 'future' of https://github.com/yggdrasil-network/yggdrasil-go into sim Arceliar 2020-05-02 10:09:03 -0500
  • 349c6dbad4
    Merge pull request #675 from Arceliar/buffers Arceliar 2020-05-02 10:08:30 -0500
  • 72afa05029 test dial/listen in the sim Arceliar 2020-05-02 10:01:09 -0500
  • 6d89570860 eliminate most sync.Pool use, gives a safer but slightly slower interface Arceliar 2020-05-02 06:44:51 -0500
  • 5db93be4df more sim work Arceliar 2020-04-26 09:59:30 -0500
  • 9c818c6278 work-in-progress on a new sim Arceliar 2020-04-26 07:33:03 -0500
  • 9d0969db2b prevent a hypothetical block on link message sending Arceliar 2020-04-05 14:57:05 -0500
  • 09efdfef9a fix bug in switch actor's cleanRoot, strict nonce handling at the session level, and add separate queues per stream to the packetqueue code Arceliar 2020-04-03 19:26:48 -0500
  • 03a19997b8 Merge branch 'develop' of https://github.com/yggdrasil-network/yggdrasil-go into buffers Arceliar 2020-04-03 00:33:01 -0500
  • 945930aa2c WIP have peer actors queue packets, temporarily a single simple FIFO queue with head drop Arceliar 2020-04-03 00:32:26 -0500
  • 78b5f88e4b
    Version 0.3.14 Neil Alexander 2020-04-01 20:32:25 +0100
  • 52491d63ab
    Merge pull request #672 from Arceliar/bugfix Neil Alexander 2020-04-01 08:48:16 +0100
  • 7a314afb31 check if an error was returned by Core._init and return it if so Arceliar 2020-03-31 18:14:20 -0500
  • 9834f222db more work in progress actorizing the remaining parts of the switch Arceliar 2020-03-29 19:01:50 -0500
  • 15b850be6e fix deadlock when running updateTable in the switch Arceliar 2020-03-29 01:38:32 -0500
  • d47797088f fix shutdown deadlock Arceliar 2020-03-29 00:48:41 -0500
  • e926a3be6d work in progress actorizing core.peers and replacing switch worker with per-peer switch-generated lookupTable Arceliar 2020-03-29 00:23:38 -0500
  • 16309d2862 Merge branch 'develop' of https://github.com/yggdrasil-network/yggdrasil-go into buffers Arceliar 2020-03-28 21:10:34 -0500
  • 05c6006f51
    Update changelog Neil Alexander 2020-03-28 20:46:00 +0000
  • a6275b48a3
    Merge pull request #667 from yggdrasil-network/neilalexander/go1141 Neil Alexander 2020-03-25 22:50:16 +0000
  • aa4def2f8d
    Use Go 1.14.1 to build, update wireguard package references Neil Alexander 2020-03-25 22:46:01 +0000
  • e7228c7ae4
    Merge pull request #666 from jcgruenhage/ansible-genkeys-progress-bar Neil Alexander 2020-03-25 20:55:15 +0000
  • 83c41d57c2
    Merge pull request #663 from rany0/patch-3 Neil Alexander 2020-03-25 20:54:53 +0000
  • 389c519d9e
    Merge pull request #665 from Arceliar/search Neil Alexander 2020-03-25 20:53:27 +0000
  • 1ac3a18aab
    Fix a typo in search.go's comments Arceliar 2020-03-23 18:03:31 -0500
  • 30bfa04c47 add a progress bar to the ansible key generator Jan Christian Grünhage 2020-03-23 23:26:41 +0100
  • a09a83530f update search description in comments Arceliar 2020-03-22 18:42:42 -0500
  • b651e57203 allow searches to continue as long as the next hop is closer than the Nth closest node found so far where N is currently 16 instead of 1 (makes searches more reliable), and cache all intermediate search steps in the dht Arceliar 2020-03-19 21:11:17 -0500
  • c1816ae86f
    Update usr.bin.yggdrasil Rany 2020-03-10 16:47:41 +0200
  • 4809879995 refactor switch code so calling lookupTable.lookup does most of the important work Arceliar 2020-03-10 01:03:07 -0500
  • cfd8641925 fix conflicts with memleak bugfix Arceliar 2020-03-10 00:03:26 -0500
  • ea7e074cf0
    Merge pull request #662 from Arceliar/memleak Arceliar 2020-03-09 23:57:15 -0500
  • 8075a60900 possibly fix memory leak (if this works, i don't yet understand how the leak was happening originally) Arceliar 2020-03-08 19:32:14 -0500
  • d160eccab0
    Hopefully really actually fix it this time Neil Alexander 2020-02-21 19:32:36 +0000
  • 7d590e31b0
    Include yggdrasil-default-config.service Neil Alexander 2020-02-21 19:14:40 +0000
  • c3f8db6991
    Merge pull request #653 from yggdrasil-network/develop Neil Alexander 2020-02-21 18:30:59 +0000
  • d41da9a97f
    Update README.md Neil Alexander 2020-02-20 23:22:42 +0000
  • f308e81bf3 in the switch, keep a separate set of queues per peer instead of a global queue Arceliar 2020-02-18 20:13:39 -0600
  • 012bd9195d
    Update CHANGELOG.md Neil Alexander 2020-02-17 19:49:03 +0000
  • 0b26551f07
    Merge pull request #652 from yggdrasil-network/neilalexander/api Neil Alexander 2020-02-17 00:00:08 +0000
  • 471fcd7fdf
    Update doc.go dial example Neil Alexander 2020-02-16 23:57:05 +0000
  • 6c731c4efc
    Fix comment on LocalAddr Neil Alexander 2020-02-16 23:45:11 +0000
  • 429189d11d
    Use 'curve25519' instead of 'pubkey' Neil Alexander 2020-02-16 23:44:20 +0000
  • 6b0b704645
    Update comments Neil Alexander 2020-02-16 23:30:47 +0000
  • d16505e417
    Update CKR Neil Alexander 2020-02-16 23:26:18 +0000
  • 63936c11b5
    Update tuntap module, return pointers Neil Alexander 2020-02-16 23:21:58 +0000
  • c107f891d2
    Implement pubkeys in API functions Neil Alexander 2020-02-16 23:09:24 +0000
  • a101fc0556
    Merge pull request #651 from Arceliar/search Arceliar 2020-02-13 20:35:52 -0600
  • 657777881b actually schedule the search cleanup code to run Arceliar 2020-02-08 20:33:35 -0600
  • 8e05c6c6a7 better search cleanup, but needs more testing to make sure it really works Arceliar 2020-02-08 20:26:37 -0600
  • d0e6846173 work in progress to make searches use parallel threads per response, so one malicious node doesn't block progress from honest ones Arceliar 2020-02-08 20:15:48 -0600
  • d7d0c2629c don't deduplicate search responses, but limit the max number of nodes handled per response Arceliar 2020-02-08 17:04:00 -0600
  • cd9613fddc add some additional debug timing info and logging to dials, and fix an unnecessary delay in search startup Arceliar 2020-02-07 22:34:54 -0600
  • 3faa0b2854 deduplicate the list of nodes to visit in a search (keeping newest rumors) Arceliar 2020-02-06 20:47:53 -0600
  • 1104d12540
    Merge pull request #650 from Arceliar/search Arceliar 2020-02-06 20:26:07 -0600
  • 7c2cb9a02d more search fixes/updates Arceliar 2020-02-06 20:21:17 -0600
  • cd856426e5 search timing changes Arceliar 2020-02-06 18:37:58 -0600
  • b8bab06f95
    Merge pull request #649 from Arceliar/switch Arceliar 2020-02-06 17:48:26 -0600
  • 70659bfb91 sort search response results before sending requests Arceliar 2020-02-06 17:38:42 -0600