0xB10C / peer-observer

Tool to monitor for P2P anomalies and attacks using Bitcoin Core honeynodes
https://public.peer.observer
MIT License
9 stars 2 forks source link

add: spy-detector #57

Open i-am-yuvi opened 2 weeks ago

i-am-yuvi commented 2 weeks ago

Fixes #43

This creates a tool, Spy-Detector that:

i-am-yuvi commented 2 weeks ago

Can you review this @0xB10C ?

i-am-yuvi commented 2 weeks ago

Thank you!

This adds the stats collection and printing part of the spy-collector. However, it doesn't tell us anything about which peers are spys. I think this should be a part of the tool before we merge it. I don't know if you have the time to add it though.

Left some code comments below.

I am analyzing the ratio of inv/getdata that may indicate a spy node. Will push that when ready!