chros73 / libtorrent Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rakshasa/libtorrent
libTorrent BitTorrent library
Home Page: http://rtorrent.net/downloads/
License: GNU General Public License v2.0
This project forked from rakshasa/libtorrent
libTorrent BitTorrent library
Home Page: http://rtorrent.net/downloads/
License: GNU General Public License v2.0
Depended by:
Create a patch for DHT segfault fix ("Random segfaults due to writes to free'd memory"): rakshasa#67
Fix honoring system.file.allocate.set=0
rtorrent config setting.
Rebase @sallyswiss's IPv4 filter mod on current master
branch, only small change was made:
A. Overview
IPv4 filter enhancement is:
10.0.0.0/8
)
foo bar:1.2.3.4-5.6.7.8
LOG_PEER_INFO
log level it logs when connection to unwanted peer is preventedlog n
lookup time for extents
data structure
B. Usage
Download and extract one of the links into your session
directory (first one is updated daily):
Add this into your rtorrent
config:
# Loads unwanted peers from external text file into IPv4 Filter every day, e.g.:
# - https://silo.glasz.org/antip2p.list.gz (https://gist.github.com/glaszig/bf96beccf4694ae25d4f1f7cc6224985)
# - https://www.wael.name/wael.list.p2p.gz (https://www.wael.name/other/best-blocklist/)
schedule2 = load_ipv4_filter, 0, 24:00:00, "ipv4_filter.load=(cat,(session.path),antip2p.list),unwanted"
#schedule2 = load_ipv4_filter, 0, 24:00:00, "ipv4_filter.load=(cat,(session.path),Wael-Blacklist-v8.dat),unwanted"
You can debug it with CTRL+X
and one of the following:
print=(ipv4_filter.size_data)
print=(ipv4_filter.get,10.10.10.10)
print=(ipv4_filter.dump)
B. References
More info about IPv4 Filtering in rtorrent
.
Depended by: chros73/rtorrent#21
Makes this duplicate: rakshasa#32
Closes: rakshasa/rtorrent#71, rakshasa/rtorrent#106
Add fork notes and change log to readme file.
Display more info in case of tracker bencoded data parsing failure.
Refers to: rakshasa#64
Fix compilation issue with gcc v6.x
and empty CXXFLAGS
:
-O2
flag and compilation can fail (e.g. with make -j4
)Refers to: rakshasa#155
Fix honoring throttle.min_peers.normal
and throttle.min_peers.seed
settings in rtorrent:
v0.13.4
)flag_requesting
flag for private trackers in torrent/tracker_controller.ccDue to this bug, handling interval
of announce tracker request is broken:
interval
but min interval
insteadRequired behavior:
interval
if:
min_peers - (peer_list_size / 2)
connections for a downloadmin interval
otherwise:
min_peers - (peer_list_size / 2)
connections for a download and Peer Exchange isn't enabledDefault values for throttle.min_peers* settings: 100
Fixes: rakshasa#167, rakshasa/rtorrent#386
Refers to: #12
Fix honoring interval
of announce tracker request:
interval
is ignored currently and always min interval
is used instead if it exists or 300
seconds.Fixes: rakshasa#167, rakshasa/rtorrent#386
Fix honoring system.file.allocate.set=1
rtorrent config setting:
off
.It's useful with the following watch directory entry that only loads (in closed
state) but not starts torrents, so priority of files can be set.
schedule2 = watch_dir_5, 7, 10, "load.normal=/path/to/watch-dir/load_but_not_start/*.torrent"
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.