Trolli Schmittlauch schmittlauch
  • Joined on 2017-06-16
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 »
schmittlauch pushed to master at schmittlauch/nixconfigs 2020-07-01 20:05:57 +02:00
192a1f6e38 patch Wireshark to allow BER decoding for UDP payloads, until feature is released
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-06-30 00:26:37 +02:00
abbe664ca1 fixup! make sure that own node isn't added as neighbour
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-06-29 13:43:06 +02:00
eab5a73ead make sure that own node isn't added as neighbour
6313a06a83 fix time conversion for threadDelay
Compare 2 commits »
schmittlauch closed issue schmittlauch/Hash2Pub#30 2020-06-27 16:24:12 +02:00
periodic checking and maintenance of cache invariance
schmittlauch pushed to dhtNetworking at schmittlauch/Hash2Pub 2020-06-27 16:23:54 +02:00
f7ed0ee8d8 check cache slice invariant for predecessor slices as well
2c3ef44064 check cache invariant for successors and lookup missing IDs
280d928ad7 Refactor requestQueryID to be able to send a single request
Compare 3 commits »
schmittlauch deleted branch refactorSuccessorsPredecessors from schmittlauch/Hash2Pub 2020-06-27 15:22:54 +02:00
schmittlauch opened issue schmittlauch/Hash2Pub#55 2020-06-26 02:13:32 +02:00
make sure only verified nodes are used as neighbours