1
0
mirror of https://github.com/matrix-org/pinecone.git synced 2026-10-24 11:59:18 +03:00

Commit Graph

  • 55dcc7d1bd Remove exploit due to manipulating bootstrap attempt count Devon Hudson 2022-03-09 14:26:26 -03:00
  • be09fc33f7 Fix scoring for acknowledged bootstrap frames Devon Hudson 2022-03-09 14:01:23 -03:00
  • 624c12228b Limit number of neglected nodes being tracked Devon Hudson 2022-03-09 13:46:29 -03:00
  • 3a583ce45b Rearrange bootstrap ack signature verification Devon Hudson 2022-03-08 17:04:16 -03:00
  • 23b411be4a Add peer scoring to failing bootstrap frames Devon Hudson 2022-03-08 16:50:24 -03:00
  • b01af6d8d3 Test out peer scoring on bootstrap setup frames Devon Hudson 2022-03-08 11:15:47 -03:00
  • cfde1f8054 Don't automatically send routed traffic to the local peer if we can't forward it any closer Neil Alexander 2022-03-08 12:40:38 +00:00
  • 5952808ccd Use a FIFO queue for traffic instead of LIFO (may help uTP) Neil Alexander 2022-03-08 10:50:25 +00:00
  • ae394f0d63 Tests neilalexander/fifo Neil Alexander 2022-03-08 09:38:59 +00:00
  • e36e290f28 Use a FIFO queue for traffic instead of LIFO (may help uTP) Neil Alexander 2022-03-08 09:29:28 +00:00
  • 70b73bb01e Initial prototype to assist nodes failing to bootstrap Devon Hudson 2022-02-26 17:11:53 -03:00
  • 32cd2d9bf3 Fix buffer size checks for un/marshal snake bootstrap (#32) devonh 2022-02-24 15:40:10 +00:00
  • 02a66ca2ff Fix bug where bootstrap ack was handled incorrectly (#31) devonh 2022-02-23 10:44:32 +00:00
  • a7eba83007 Fix buffer size checks for un/marshal snake bootstrap (#32) devonh 2022-02-24 15:40:10 +00:00
  • 0f0afd1a46 Fix bug where bootstrap ack was handled incorrectly (#31) devonh 2022-02-23 10:44:32 +00:00
  • d0b3cd8ea6 Rename adversary test to better align with new test parameters adversary-tests Devon Hudson 2022-02-10 14:30:01 -03:00
  • a7133f7379 Allow for running specific test cases since using run isn't working Devon Hudson 2022-02-10 12:18:04 -03:00
  • 58555a2335 Add adversarial integration tests Devon Hudson 2022-01-31 18:41:58 -03:00
  • 67e9c1f281 Add logging on successful sim snek ping/pong Devon Hudson 2022-01-31 18:41:32 -03:00
  • 4f9086f1d3 Don't update sim graph if not being used Devon Hudson 2022-01-31 18:41:12 -03:00
  • 61d48ce48e Update router filter logging for more details Devon Hudson 2022-01-31 18:36:21 -03:00
  • f1536990c4 Add ping/pong packet types to drop packets filter Devon Hudson 2022-01-31 18:35:01 -03:00
  • 54033d7c48 Add null events to sim command interface Devon Hudson 2022-01-31 18:34:37 -03:00
  • 1eabba56f3 Annotate integration test functions with param names Devon Hudson 2022-01-30 10:25:50 -03:00
  • f40c3d1cfa Add simple adversary integration tests Devon Hudson 2022-01-30 10:03:44 -03:00
  • 1d8ddb65bf Refactor integration tests to be able to reuse validation functions Devon Hudson 2022-01-29 14:10:46 -03:00
  • 51e0672c43 Move integration tests to live alongside router code Devon Hudson 2022-01-29 11:33:32 -03:00
  • 3a055b0d3b Fix event api race condition when first subscribing to a node Devon Hudson 2022-01-29 11:12:53 -03:00
  • 7b02958ff2 Add basic integration test for snake neighbours Devon Hudson 2022-01-28 14:40:40 -03:00
  • ac952eae41 Add basic integration test using the simulator Devon Hudson 2022-01-28 11:20:32 -03:00
  • 351265543d Enable keepalives in -sockets mode on the connecting side (since they are already enabled on the accepting side) (#23) Neil Alexander 2022-01-21 09:49:51 +00:00
  • 65e7965c06 Add functionality to control the simulator from the UI (#21) devonh 2022-01-18 16:28:41 +00:00
  • 461590ce0d Tree & SNEK Unit Tests (#19) devonh 2022-01-05 10:57:48 +00:00
  • 095c5ea64d CodeQL analysis Neil Alexander 2021-12-16 09:47:39 +00:00
  • aa2808d779 Fix shutdown crash Neil Alexander 2021-12-13 13:28:35 +00:00
  • 8c13d0fded Setup ACKs (#18) v0.6.0 Neil Alexander 2021-12-13 13:28:21 +00:00
  • b0bf9ad6f5 Update README.md Neil Alexander 2021-11-29 13:06:54 +00:00
  • 13e8168353 Try to flush traffic queues into other queues if possible neilalexander/setupack2 Neil Alexander 2021-11-29 12:03:09 +00:00
  • 71a1de0613 Merge branch 'main' into neilalexander/setupack Neil Alexander 2021-11-29 11:28:30 +00:00
  • 0b6995800d Add early CI pipeline Neil Alexander 2021-11-29 11:23:39 +00:00
  • eca0d1fa6b Track ascending node replacement candidates Neil Alexander 2021-11-29 11:13:16 +00:00
  • 3d4df611a4 Signature enforcement for setup ACKs Neil Alexander 2021-11-26 16:59:21 +00:00
  • 1cd02886e9 Activate paths on receipt of a Setup ACK message Neil Alexander 2021-11-26 12:02:01 +00:00
  • 58c31a1eed Add /simws handler back Neil Alexander 2021-11-25 11:01:23 +00:00
  • cc7886682c The PeerTypes need to be ints after all because gomobile/gobind requires simple types Neil Alexander 2021-11-25 10:18:24 +00:00
  • 0cc483b823 Exclude disconnected ports in Peers API call Neil Alexander 2021-11-25 09:32:15 +00:00
  • 0b80cee717 Tweak API some more to use new option types Neil Alexander 2021-11-25 09:25:08 +00:00
  • 51e85f9ea0 Consolidated Connect function with ConnectionOptions (#17) Neil Alexander 2021-11-25 09:13:09 +00:00
  • 89a8b34e40 Allow sim side panels to grow larger to work better on mobile Devon Hudson 2021-11-16 19:48:59 -03:00
  • 9d01695e66 Fix sim ui focus node button margin Devon Hudson 2021-11-16 19:20:31 -03:00
  • e7ef7cb2d5 Refine sim node focusing ui Devon Hudson 2021-11-16 19:15:14 -03:00
  • afee89c4b4 Add sim ui node focus button Devon Hudson 2021-11-16 18:18:34 -03:00
  • 30f8430c02 Swap asc & desc nodes in sim stats panel to fix display bug Devon Hudson 2021-11-16 15:48:13 -03:00
  • 258df2770d Cleanup unavailable sim ui elements Devon Hudson 2021-11-16 15:36:14 -03:00
  • 251679d30c Add public keys to sim ui Devon Hudson 2021-11-16 14:55:38 -03:00
  • ba8a11281a Cleanup sim & router apis that are no longer necessary Devon Hudson 2021-11-16 14:17:59 -03:00
  • c25e69ef2d Add peer port information to simulator UI Devon Hudson 2021-11-16 14:09:41 -03:00
  • d7ec009a70 Display hex paths in sim with uppercase letters Devon Hudson 2021-11-16 13:47:17 -03:00
  • edf019d2cc Add pathid info to simulator Devon Hudson 2021-11-16 13:44:00 -03:00
  • 969ec9fd2c Add dynamic updating to sim stats panel Devon Hudson 2021-11-16 12:31:13 -03:00
  • 51ca1bd1ef Update sim ui when any node info changes Devon Hudson 2021-11-16 11:21:16 -03:00
  • 441ec96dfb Fill in sim node detail panel with root, snek and tree info Devon Hudson 2021-11-16 11:12:44 -03:00
  • 5cd0f7fbc8 Add peers to sim node info panel Devon Hudson 2021-11-16 10:48:57 -03:00
  • d80b074c3a Show sim announcement timestamp in ms Devon Hudson 2021-11-16 09:29:13 -03:00
  • ea5cc53a65 Uplift sim ui info styling Devon Hudson 2021-11-15 10:52:18 -03:00
  • 64c0a022dd Add node info to hover tooltip in sim Devon Hudson 2021-11-15 08:24:09 -03:00
  • febf350158 Use UnixNano instead of UnixMilli (the latter is not available in Go 1.15) Neil Alexander 2021-11-16 11:16:03 +00:00
  • 8c7a1ada72 Fix event api announcement time for root node Devon Hudson 2021-11-14 18:55:32 -03:00
  • 452b4402a1 Fix multiple event subscriber bug Devon Hudson 2021-11-14 16:58:07 -03:00
  • 69f57feec5 Remove dead code in sim Devon Hudson 2021-11-14 16:21:30 -03:00
  • 9755670e6a Refactor some sim code for clarity Devon Hudson 2021-11-14 16:14:10 -03:00
  • 979f5cb4a8 Fix sim bug where wrong coords were being reported Devon Hudson 2021-11-14 15:54:36 -03:00
  • 94d6f26560 Fix bug in root announcement handler This bug made the tree explode every time a new root announcement was propagated. Devon Hudson 2021-11-14 15:51:55 -03:00
  • d5549d2100 Add node count to sim summary panel Devon Hudson 2021-11-14 13:03:11 -03:00
  • 0e22d5dd9c Update comment outlining available router API events Devon Hudson 2021-11-14 12:48:49 -03:00
  • 618fa8c1cd Refactor initial sim sync further to reduce number of iterations Devon Hudson 2021-11-14 12:33:14 -03:00
  • b1cfbac0c1 Refactor initial sim sync more to reduce overhead Devon Hudson 2021-11-14 11:55:08 -03:00
  • 6b5336caa8 Go back to single events in sim update messages Devon Hudson 2021-11-14 10:38:30 -03:00
  • 642367531b Refactor initial sim sync Devon Hudson 2021-11-14 10:33:51 -03:00
  • 8f72045812 Rename sim ui announcement update function Devon Hudson 2021-11-14 10:26:20 -03:00
  • c99919ee10 Send root announcement state with initial sim sync Devon Hudson 2021-11-14 10:17:59 -03:00
  • 95ed5c42c8 Add root announcement update messages to sim Devon Hudson 2021-11-14 09:08:06 -03:00
  • 829b7d9cd5 Add option to sim html for using an offline copy of visjs Devon Hudson 2021-11-13 16:55:33 -03:00
  • 4416488c0a Rename physical topo to peer topo Devon Hudson 2021-11-08 16:03:09 -05:00
  • 8027090ad5 Refactor simulator actor handling Devon Hudson 2021-11-08 15:50:45 -05:00
  • a9930acf5c Change simulator side to use actor model Devon Hudson 2021-11-08 14:00:27 -05:00
  • 8bc39143e2 Use inboxes so that subscribers don't block node operations (#15) Neil Alexander 2021-11-08 17:20:53 +00:00
  • dc9349c5ca Don't convert to string for no reason in announcement sanity checks Neil Alexander 2021-11-08 17:02:08 +00:00
  • 931d607d69 Add tree parent live updates to sim Devon Hudson 2021-11-08 10:14:32 -05:00
  • b8bc956dba Refactor snek events to centralise publishing call Devon Hudson 2021-11-08 09:02:11 -05:00
  • 98f9ffdfc0 Remove arrows from sim view Devon Hudson 2021-11-07 08:31:29 -06:00
  • da00888946 Remove duplicate connections in sim physical view Devon Hudson 2021-11-07 08:09:52 -06:00
  • cbcff5f8e6 Add queue for sending messages to sim ui Devon Hudson 2021-11-06 15:43:12 -05:00
  • ad3637d871 Live update snek neighbours in sim Devon Hudson 2021-11-06 13:05:06 -05:00
  • 45e123e0a6 Live update peer connection changes in simulator Devon Hudson 2021-11-06 10:52:24 -05:00
  • 39b1b2bc7a Fix undefined ref in sim ui Devon Hudson 2021-10-29 12:08:37 -05:00
  • 317803c7d3 Refactor sim websocket handler Devon Hudson 2021-10-28 17:09:09 -05:00
  • 7597405bcc Improve sim performance by fragmenting initial state message Devon Hudson 2021-10-28 16:53:13 -05:00
  • 7df7efc594 Show sim left panel by default Devon Hudson 2021-10-28 15:04:02 -05:00
  • 862c81b01d Initial sim refactor Devon Hudson 2021-10-28 14:08:06 -05:00