Skip to content
/ simDHT Public
forked from wuzhenda/simDHT

A DHT crawler based on Kademlia/Tornado, written in Python, the code is very simple.

License

Notifications You must be signed in to change notification settings

DuoLife/simDHT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simDHT:

A DHT crawler based on Kademlia/Tornado, written in Python, the code is very simple.

dependencies:

  1. tornado
  2. bencode

start simDHT on *nix

  1. python simDHT.py

stop simDHT on *nix

  1. ps aux | grep simDHT.py
  2. kill -9 PID

configure file:

  1. kademlia/constants.py

UDP "connection" limit using iptables on Linux(example):

  1. iptables -A INPUT -p udp -m limit --limit 500/s --limit-burst 1000 -j RETURN
  2. iptables -A INPUT -p udp -j DROP

note:

  1. infohash is saved in the infohash.log.
  2. Please on the server running simDHT with a public IP.

About

A DHT crawler based on Kademlia/Tornado, written in Python, the code is very simple.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published