raptorswing / rustydht-lib Goto Github PK
View Code? Open in Web Editor NEWA rust library for interacting with BitTorrent's mainline distributed hash table (DHT). A work in progress.
License: MIT License
A rust library for interacting with BitTorrent's mainline distributed hash table (DHT). A work in progress.
License: MIT License
rustydht-lib/src/storage/throttler.rs
Line 75 in db768b7
Hello, I am working on https://pkarr.org which is mostly a thin wrapper around BEP_0044 to enable DNS queries for Ed25519 keys.
I think this DHT implementation is the closest to something I can extend and add BEP_0044 support to. However, I am curious if you are still maintaining this library, so I can open a PR with minimal changes. Or should I just maintain a separate fork and be more liberal with the changes I would like to introduce, but also maintain it long-term?
Thanks and I appreciate your work on this.
I'm randomly poking around the example find_nodes.rs. It will produce a proper output of nodes found before throwing out some panic information.
the backtrace displayed is here in Ubuntu Pastebin(expires in a week). The program will panic arbitrary times(which means it probably won't panic) with pretty much the same backtrace.
Totally don't know what happened since I'm still a freshman.
In testing, I've had some poorly-behaved nodes stuck in the throttler penalty box for weeks at a time. They're not sending tons of packets, but they sent fast enough at one time to hit the throttler and then have sent one or two packets consistently enough to stay in the penalty box. These should have a max cooldown/penalty time or they should decay over time based on packet rate or something.
e.g.
[rustydht_lib::Throttler] XXX.180.192.206 is throttled for 60s. 103305 packets on record
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.