Commit Graph

  • 45fcb28be8 test: add test for invalid message spam Dirk McCormick 2020-04-14 19:07:22 -0400
  • 4e15efdd6f test: GRAFT spam and GRAFT backoff tests Dirk McCormick 2020-04-14 15:55:58 -0400
  • a5addee5a0 test: add IWANT spam test Dirk McCormick 2020-04-13 18:53:52 -0400
  • 34f2295c19 add protections from IHAVE floods vyzo 2020-04-20 12:15:59 +0300
  • 1645516276 add protections from GRAFT floods vyzo 2020-04-20 10:26:32 +0300
  • ea5d2e6d6d gomod tidy vyzo 2020-04-18 10:51:41 +0300
  • 1e920ed426 fix IPv4 -vs- IPv6 address handling in peer address tracking vyzo 2020-04-14 19:11:12 +0300
  • 432caf4fdf more rigorously defeat unspecified address gremlins vyzo 2020-04-14 14:56:56 +0300
  • 0a9a87cf04 fix issue with unspecific IPv6 addrs in conn IP tracking vyzo 2020-04-14 12:42:43 +0300
  • 3016a1c9a9 gomod: update go-multiaddr-net vyzo 2020-04-14 12:01:58 +0300
  • e1d6b49b2d fix bug in peerScore.setIPs vyzo 2020-04-14 10:16:40 +0300
  • 3368bed1d4 disable flaky and irrelevant tests vyzo 2020-04-11 16:11:58 +0300
  • 9904d69cde configurable number of peers for opportunistic grafting vyzo 2020-04-10 22:37:07 +0300
  • 6732f9848b fix typo vyzo 2020-04-10 20:23:45 +0300
  • 8a53469c43 fix typo vyzo 2020-04-10 20:23:31 +0300
  • 2fdf6cdaed opportunistic grafting vyzo 2020-04-10 14:21:10 +0300
  • 8e969ba29e use a configurable variable for direct peer reconnect ticks vyzo 2020-04-10 13:54:14 +0300
  • f97d151aec eagerly send gossip at the end heartbeat vyzo 2020-04-03 22:46:14 +0300
  • fc38f556a3 comments and nits. Raúl Kripalani 2020-04-01 23:20:53 +0100
  • 8809484a47 support direct peering agreements vyzo 2020-03-31 13:23:04 +0300
  • bcff5f20a6 update REAMDE vyzo 2020-03-31 12:40:51 +0300
  • 8f3471cdfd correctly attribute invalid message deliveries due to self origin rejection vyzo 2020-03-28 12:52:20 +0200
  • 97519bf76c better handling of message originating from self but forwarded by another peer vyzo 2020-03-28 12:22:57 +0200
  • ce3da3facd move self-publish check to pubsub vyzo 2020-03-27 20:56:03 +0200
  • a1488680e7 rename delivery_ constants to satisfy the camelcase worshipers and nitpickers vyzo 2020-03-27 20:34:00 +0200
  • 1c4f0920fe use named constants for tracing message rejection reasons vyzo 2020-03-27 20:31:31 +0200
  • ea7305245d add IP whitelist for colocation factor penalty vyzo 2020-03-27 20:21:42 +0200
  • 68b86a4b66 use manet.ToIP instead of hand-rolling multiaddr to IP conversion vyzo 2020-03-27 20:18:38 +0200
  • 95094393a8 gomod: use go-multiaddr-net v0.1.3 vyzo 2020-03-27 20:17:58 +0200
  • ea314605d3 don't forward messages with source ourselves but not published by ourselves vyzo 2020-03-27 19:52:08 +0200
  • 0cab7f5e59 increase connection manager weight for mesh peers vyzo 2020-03-27 17:56:10 +0200
  • 7a3848073e only retain negative scores vyzo 2020-03-27 17:54:59 +0200
  • c65a520799 topic score cap vyzo 2020-03-27 16:46:41 +0200
  • 65cff1b421 godoc nits for parameter weights. vyzo 2020-03-27 14:19:03 +0200
  • bb279e3126 wrap topic param validation error vyzo 2020-03-27 14:15:26 +0200
  • 1b387b0068 rename score debug option, address some comments around inspection vyzo 2020-03-27 14:10:12 +0200
  • adad40c764 reraise GossipSubPrunePeers to 16 vyzo 2020-03-27 11:52:36 +0200
  • 71ab9c1d73 use a struct for aggregating score thresholds vyzo 2020-03-27 11:38:48 +0200
  • f6f34cfc99 make PX optional and disabled by default, gate by acceptPXThreshold vyzo 2020-03-27 11:24:51 +0200
  • 375b66b0c1 move score parameter types to their own file vyzo 2020-03-27 11:10:47 +0200
  • 9fc2fb1de1 gomod tidy vyzo 2020-03-24 16:06:28 +0200
  • 8a5114c127 fix rebase artifacts vyzo 2020-03-24 16:06:20 +0200
  • 90e6984148 track heartbeat ticks, only clear backoff every 15. vyzo 2020-03-23 09:49:11 +0200
  • f70dcbe77c check exact expiration date of backoff when pruning because of backoff vyzo 2020-03-23 09:34:28 +0200
  • 6bcaacd74b add backoff when pruning because of negative score vyzo 2020-03-23 08:29:46 +0200
  • 15d204cc14 refresh backoff when pruning during the backoff period vyzo 2020-03-23 00:01:35 +0200
  • d0979258f7 shuffle IWANT list vyzo 2020-03-22 20:52:19 +0200
  • 588f7b85c0 add option to periodically inspect peer scores for debugging purposes vyzo 2020-03-17 14:14:56 +0200
  • 244a39f419 validate the threshold values vyzo 2020-03-16 21:32:32 +0200
  • d5e432a62b move score starting nil check inside the score implementation vyzo 2020-03-16 21:27:52 +0200
  • ff89a0e619 short-circuit score computation in peer selection filters vyzo 2020-03-16 21:24:17 +0200
  • 98671566a2 distinguish throttled validation because of a full worker queue. vyzo 2020-03-16 18:24:37 +0200
  • 06d72b93da fix bug in WithEventTracer vyzo 2020-03-11 02:44:57 +0200
  • 39e65e8729 peer score parameter validation vyzo 2020-03-09 14:08:42 +0200
  • 4175342bc8 implement periodic maintenance vyzo 2020-03-09 13:37:23 +0200
  • f550385493 implement getIPs and refreshIPs vyzo 2020-03-09 13:22:57 +0200
  • 38fbc7fa47 implement message delivery struct details vyzo 2020-03-09 13:07:37 +0200
  • 7d862e2ee6 double check delivery to aboid duplicate counts vyzo 2020-03-09 11:16:50 +0200
  • 48b7d01113 finetune sticky mesh failure penalty parameter vyzo 2020-03-09 01:17:11 +0200
  • f40b06e515 sticky mesh failure penalty parameter vyzo 2020-03-09 00:08:38 +0200
  • b7a49b2708 clean up the logic of mesh delivery window vyzo 2020-03-08 22:44:45 +0200
  • 5fa0f9ed6a more logical code ordering vyzo 2020-03-08 22:11:26 +0200
  • ca6778bc83 simplify duplicate mesh delivery tracking vyzo 2020-03-08 22:08:53 +0200
  • 9c0b96f4e7 comment cosmetics vyzo 2020-03-08 21:56:56 +0200
  • e17e266aa9 track message delivery time within the validation pipeline vyzo 2020-03-08 21:43:28 +0200
  • 3610b05538 peer tracking vyzo 2020-03-08 20:59:49 +0200
  • 283593fbc0 mesh tracking vyzo 2020-03-08 20:21:16 +0200
  • 535c04481e minimize hash table accesses vyzo 2020-03-08 17:22:16 +0200
  • 16eeacd798 message delivery tracking vyzo 2020-03-08 16:48:45 +0200
  • dd3ce7760c respect the time in mesh cap vyzo 2020-03-08 10:49:19 +0200
  • 8c0deb877d respec decay to zero parameter in counter decay vyzo 2020-03-08 10:12:15 +0200
  • b1aff8d752 add nil check in Score function vyzo 2020-03-08 01:54:40 +0200
  • 398fb82e5f fix peer IP tracking structure vyzo 2020-03-07 21:11:45 +0200
  • 20e3cf02b1 peer score refresh: counter decay and mesh activation vyzo 2020-03-07 21:09:50 +0200
  • 38883df429 peer score calculation vyzo 2020-03-07 19:43:01 +0200
  • 8d82c2bdec explicit Start for peer scoring to inject the router vyzo 2020-03-07 17:59:22 +0200
  • a02c4136b1 peer score parameters vyzo 2020-03-07 15:46:41 +0200
  • 31a279b9f0 limit message retransmissions through IWANT requests vyzo 2020-03-06 00:49:40 +0200
  • 5b55f0f78d track peer (re)transmissions in message cache vyzo 2020-03-06 00:45:37 +0200
  • f9d29c47b6 adaptive gossip dissemination vyzo 2020-03-05 14:52:40 +0200
  • 8fb6924f7c select good peers for PX, tune the px related limits vyzo 2020-03-04 14:53:28 +0200
  • 2ddc4b999f allow gossipsub to graylist peers based on score vyzo 2020-03-04 14:51:10 +0200
  • 87bbe69a8b router.Publish doesn't need the source, it takes the whole message now vyzo 2020-03-04 14:39:44 +0200
  • 75fd8826af backoff when we prune too, refuse to reGRAFT backed off peers vyzo 2020-03-03 18:00:59 +0200
  • 56dbe5dc8a increase D_score to 4 vyzo 2020-03-03 17:49:37 +0200
  • 69e4102a6d correctly implement flood publishing vyzo 2020-03-03 15:44:44 +0200
  • 4f6ca1b1b7 implement flood publishing option vyzo 2020-03-03 15:31:16 +0200
  • dc6af4bbe6 keep D peer when pruning for oversubscription vyzo 2020-03-03 12:11:37 +0200
  • 712bab2c64 remove peers with negative score from fanout vyzo 2020-03-02 20:51:51 +0200
  • 80f3b8c45b hook score into heartbeat maintenance vyzo 2020-03-02 15:55:25 +0200
  • 487bbaf09f heartbeat doPX is a more complex decision vyzo 2020-03-02 15:20:23 +0200
  • f9ce661bda filter peers with negative score in initial mesh on join vyzo 2020-03-02 15:13:15 +0200
  • c13e9c07e4 hook peer score into control message handlers vyzo 2020-03-02 15:05:24 +0200
  • 7d928697a2 peer score scaffolding vyzo 2020-03-01 14:29:24 +0200
  • 455a836d7d hook the tracer for peer scoring vyzo 2020-02-28 14:32:14 +0200
  • c50a739fb5 gomod: use go-libp2p-core@peer-records and go-libp2p-peerstore@certified-addrs vyzo 2019-11-21 22:51:46 +0200
  • 9765853bd2 update PR branch dependencies Yusef Napora 2020-01-23 10:29:39 -0500
  • 4c804a954a track changes to peer records in -core Yusef Napora 2020-01-22 10:23:47 -0500
  • 5c48ff9a4e gomod: use go-libp2p-core@peer-records and go-libp2p-peerstore@certified-addrs vyzo 2019-11-21 22:51:46 +0200
  • 038cdbe940 fix: fix a busy loop while offline (#278) v0.2.7 release-v0.2 Steven Allen 2020-04-06 23:26:05 -0700