diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-01-12 23:15:09 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-01-12 23:15:09 +0100 |
commit | 3d03649c1f3c572c39eee1a2453bc69c40decfa9 (patch) | |
tree | 7760df657a056c0059463c9011ec4c5a5f42b154 /README.md | |
parent | attempts to fix ping flood and sybil attacks (diff) | |
download | travnik-3d03649c1f3c572c39eee1a2453bc69c40decfa9.tar travnik-3d03649c1f3c572c39eee1a2453bc69c40decfa9.tar.gz travnik-3d03649c1f3c572c39eee1a2453bc69c40decfa9.tar.bz2 travnik-3d03649c1f3c572c39eee1a2453bc69c40decfa9.tar.lz travnik-3d03649c1f3c572c39eee1a2453bc69c40decfa9.tar.xz travnik-3d03649c1f3c572c39eee1a2453bc69c40decfa9.tar.zst travnik-3d03649c1f3c572c39eee1a2453bc69c40decfa9.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -9,7 +9,14 @@ * uses A LOT of bandwidth, implement packet deduplication (fixed?) # anti sybil measures: -* detecting sybil with buckets > 32 (done) +* analysis: geoip for queries, get their localtime and update counter for current 15 minute period in countries time(queries) chart +* only get_peers when aren't any peers to test +* periodic counter for packets that resets on periodic call, breaks into debugger if any of the following is larger than 2**14: + - received queries + - sent queries + - received responses + - sent responses +* detecting sybil with buckets > 64 (done) * disallowing IP addresses to be added into our own bucket that already exist in the routing table (done) - currently only if IP address is the one that causes the split, this may be suboptimal * TODO: accept every replied node into the routing table only after pinging it with a random ID, storing in t encrypted first MAXT-1 bytes of the id that it sent with packet that generated a replied(). upon receiving the reply, if the r/id and decrypted t don't match in MAXT-1 bytes, ignore the node (it's a sybil attacker). |