erdgeist
3e47339b6c
Added whitelisting to reimplement the WANT_CLOSED_TRACKER functionality
18 years ago
erdgeist
afe966b644
some subnet stats... still ugly and untested.
18 years ago
erdgeist
c0b00c0bf5
* fixed "nobody " -> "nobody" fuckup when getpwnam-ing
...
* implemented basic blacklisting:
** the file specified with -b <BLACKLIST> is read and added to a blacklist vector
** if an announce hits a torrent in that blacklist vector, add_peer_to_torrent fails
** sending a SIGHUP to the program forces it to reread the blacklists
** the server returns with a 500, which is not exactly nice but does the job for now
** an adaequat "failure reason:" should be delivered... TODO
18 years ago
erdgeist
33774078ab
Added inbound part of sync. This also meant to remove the black/whitelisting as we did by now. A more scalable way to blacklist will follow.
18 years ago
erdgeist
b38104b986
Added outbound part of sync Proposed format: d4:syncd20:<info_hash>8*N:(xxxxyy)*Nee, therefore had to refactor torrent cleanup now that it will hit all torrents once every OT_POOL_TIMEOUT units.
18 years ago
denis
8ac7768b96
support for udp scrape
18 years ago
denis
5bb381e20a
new modes for udp4 and tcp4 stats
18 years ago
erdgeist
0a90216686
udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes.
18 years ago
denis
153b5de835
increased the interval random variation
18 years ago
denis
929d375b97
make the interval with random an average value around the real value and not additional
18 years ago
erdgeist
7ab634b6f6
Make timeouts more human readable
18 years ago
erdgeist
401d0759ab
Wasted too much space for minimum element count. Now minimum elements in vektor is 16, it grows and shrinks by a factor of 4 and a shrinking hysteresis of a factor of 5
18 years ago
erdgeist
f9c49e9759
el cheapo vector debugging
18 years ago
erdgeist
05f0d651cb
On linux time.h must be included to use time()
18 years ago
erdgeist
c094695add
account downloaded before early returns
18 years ago
erdgeist
05420c40e5
Introduce another unspec'd command: sync which syncs the most recent peer pool for a torrent out. Do some variable type clean up. Do some code structure clean up.
18 years ago
erdgeist
dffea5da69
return random check back intervals to our clients
18 years ago
erdgeist
5f7c044b54
Full scrape, kinda tested
18 years ago
erdgeist
908649af98
From now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside this interval
18 years ago
erdgeist
c16330df6a
Simple top5 by peers/seeders table
18 years ago
erdgeist
ade8268970
Rudimentary stats
18 years ago
erdgeist
805e46450c
Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed
18 years ago
erdgeist
c89cfaad5e
Be more helpful
18 years ago
erdgeist
2aa03492a5
added closed tracker and blacklist code
18 years ago
erdgeist
cdf2fbabed
README\!
18 years ago
erdgeist
33eaf54da7
simplified binary_search, it always does a memcmp. began to implement dump knowledge
18 years ago
erdgeist
e0a9c2a4aa
Added option to get ip from query string + parser, fixed two bugs concerning grow/shrink of vectors. Now cleans up a torrent BEFORE trying to remove a peer -> this may remove peer already and must be done anyway.
18 years ago
erdgeist
ed0edcaae8
Fix port again ;) Include headers in Makefile dependencies
18 years ago
erdgeist
b9efc8e22b
fixed setport fuckup
18 years ago
erdgeist
82b4df6751
Make code endianess save
18 years ago
erdgeist
688a4edd9e
Now actually seems to work for the most parts
...
Added scraping
Added graceful disconnect
18 years ago
erdgeist
d7c26dc71b
Trackerlogic done... not tested yet
18 years ago
erdgeist
31c20c515d
This is a complete rewrite... assume nothing works.
18 years ago
erdgeist
62a9b02532
Should work now *cough* *cough*
18 years ago
erdgeist
1c1fd9fe4a
Started to implement glue
18 years ago
erdgeist
e31f00dac1
Every cool project needs at least one header file
18 years ago