Trolli Schmittlauch schmittlauch
  • Joined on 2017-06-16
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-11 19:51:17 +02:00
7fa6db81de make sure send sockets are bound to the correct local IP
schmittlauch pushed to master at schmittlauch/paper_hashtag_federation 2020-07-09 02:21:47 +02:00
44e7d8c3cd remove broken hashtag counting from Twitter data dump parsing script
schmittlauch closed issue schmittlauch/Hash2Pub#56 2020-07-08 01:22:18 +02:00
Periodically sample own ID through a random botstrapping node for convergence
schmittlauch closed issue schmittlauch/Hash2Pub#1 2020-07-08 01:22:18 +02:00
Implement Epichord DHT
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-08 01:22:18 +02:00
384be969b7 Merge branch 'dhtNetworking' into mainline
61ea6ed3ff Periodically contact bootstrap nodes for convergence sampling or joining
56ca2b53cc refactor trying to join on any bootstrap node into own function
d293cc05d1 data structure for RealNode holds common config and management data
df7423ce2e fixup! iteration limit for QueryID lookups
Compare 93 commits »
schmittlauch closed issue schmittlauch/Hash2Pub#20 2020-07-08 01:22:17 +02:00
Refactor common accessor functions of internal and remote NodeState to a type class with 2 types
schmittlauch closed issue schmittlauch/Hash2Pub#52 2020-07-08 01:22:17 +02:00
investigate possible infinite recursion in requestQueryId
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-07-08 01:19:20 +02:00
61ea6ed3ff Periodically contact bootstrap nodes for convergence sampling or joining
56ca2b53cc refactor trying to join on any bootstrap node into own function
Compare 2 commits »
schmittlauch opened issue schmittlauch/Hash2Pub#57 2020-07-07 23:48:46 +02:00
Refactor function returning an IO (Either String _) to use MonadError instead
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-07-07 17:36:26 +02:00
d293cc05d1 data structure for RealNode holds common config and management data
df7423ce2e fixup! iteration limit for QueryID lookups
Compare 2 commits »
schmittlauch commented on issue schmittlauch/Hash2Pub#55 2020-07-05 18:39:49 +02:00
make sure only verified nodes are used as neighbours

Postpone as this security imporovement is not critical for simulations in a trustworthy environment.

schmittlauch commented on issue schmittlauch/Hash2Pub#55 2020-07-05 18:36:03 +02:00
make sure only verified nodes are used as neighbours

Idea: Replace boolean verification flag in CacheEntry by type-level verification state tracking: Cache entries now hold one of 2 different types, indicating whether an entry has been verified.

The add and set neighbour functions only accept the verified types.

Common operations on verified and unverified entries can then be put into a new type class.

schmittlauch commented on issue schmittlauch/Hash2Pub#22 2020-07-05 18:08:20 +02:00
Use only main domain name for NodeID generation

Postpone until a working simulation environment exists, allowing assignment of "real" domains.

For development purpose it'd still be good to allow for using localhost and *.localhost domains.

schmittlauch opened issue schmittlauch/Hash2Pub#56 2020-07-05 18:02:10 +02:00
Periodically sample own ID through a random botstrapping node for convergence
schmittlauch closed issue schmittlauch/Hash2Pub#42 2020-07-05 17:18:03 +02:00
Make unsuccessfully joined node join once it learns new nodes through incoming requests
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-07-05 17:16:07 +02:00
e91f317a8e decrease logging verbosity
7c17e3a44d implement join-retry on new cache entries
Compare 2 commits »
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-07-02 03:36:07 +02:00
bdb92411c6 iteration limit for QueryID lookups
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-07-02 01:39:09 +02:00
e06c53ff7c stylish fixes
edf66e1b51 add som debug prints
Compare 2 commits »
schmittlauch commented on issue schmittlauch/Hash2Pub#52 2020-07-02 01:05:14 +02:00
investigate possible infinite recursion in requestQueryId

I just got hit by this by running against a buggy version that never states its own responsibility but always sends a FORWARD.

Maybe not important for simulation scenarios, where no node is buggy or evil, but should be pretty easy to fix.

schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-07-02 00:56:05 +02:00
f6481996d7 Change default response to QueryID for unjoined nodes
8d349212b4 prevent cache invariant querying when not joined
Compare 2 commits »