simDHT:
A DHT crawler based on Kademlia, written in Python, the code is very simple.
dependencies:
start simDHT on *nix
python simDHT.py
stop simDHT on *nix
ps aux | grep simDHT.py
kill -9 PID
configure file:
kademlia/constants.py
UDP "connection" limit using iptables on Linux(example):
iptables -A INPUT -p udp -m limit --limit 500/s --limit-burst 1000 -j RETURN
iptables -A INPUT -p udp -j DROP
note:
infohash
is saved in theinfohash.log
.- Please on the server running simDHT with a public IP.