9ffe557e6ffixed line breaks in log
Dirk Engling
2007-10-15 18:03:13 +0000
1815dd3e53Log all expansive operations to stderr
Dirk Engling
2007-10-15 18:01:38 +0000
854c21ceceMost open trackers do not have the problem of not being called often enough.. so do not introduce an extra timeout when waiting for activity. That also removes one of the last extraneous gettimeofday calls
Dirk Engling
2007-10-13 17:58:20 +0000
7a3ddcfbcesince gettimeofday is rather expansive, we do only fetch time once in a 5 second period, when we are delivered a SIGALRM.
Dirk Engling
2007-10-13 17:40:37 +0000
6382386416some subnet stats... still ugly and untested.
Dirk Engling
2007-07-22 16:17:26 +0000
8ef59b0351* 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
Dirk Engling
2007-07-22 00:40:10 +0000
bd1562f8bdClean up pw-structs
Dirk Engling
2007-07-20 10:20:02 +0000
4f173a3334check for mafic udp id
Denis Ahrens
2007-06-06 16:45:48 +0000
7cebcfb54eneed more space for data because we reach this limit easily now
Denis Ahrens
2007-05-20 14:35:22 +0000
03f92a0051fixed an overflow in ot_overall_* variables
Denis Ahrens
2007-05-04 23:08:38 +0000
aed3630af9fix a warning
Denis Ahrens
2007-04-10 04:00:49 +0000
6d290ff767Clean up help and usage
Dirk Engling
2007-04-07 00:24:17 +0000
20635e3544New Makefile, incorporated some patches sent to me by Robin H. Johnson
Dirk Engling
2007-04-03 11:08:17 +0000
59cac9cb80Try to figure out nobodys uid und gid using getpwnam
Dirk Engling
2007-04-02 17:26:40 +0000
f7b912a014Gimmi Beer!
Philipp Wuensche
2007-04-02 17:05:06 +0000
83ea281b67Sync-daemon written in perl to sync torrents and peers between more than one tracker entity.
Philipp Wuensche
2007-04-02 12:34:48 +0000
691f58cf4aFix endianess issue with blessed ips. Document -A feature.
Dirk Engling
2007-03-29 15:04:06 +0000
ac0b38c401added the -A feature that blesses a certain IP address for administrative use (like sync)
Dirk Engling
2007-03-28 23:24:30 +0000
cb90c27b28Added 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.
Dirk Engling
2007-03-27 16:09:03 +0000
2a646cf4a0Added 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.
Dirk Engling
2007-03-27 12:07:29 +0000
e9a6cd42fcMoved to tests/
Dirk Engling
2007-03-25 16:47:25 +0000
df6b33f8d8some 64bit and endianess issues with udp...
Dirk Engling
2007-03-13 22:19:03 +0000
eea5c628demake full scrapes a bit faster, increase checkback time for udp
Dirk Engling
2007-03-10 15:39:19 +0000
b82e06fc9bPort is a short, not a long
Dirk Engling
2007-03-08 01:24:47 +0000
a5ea2b2793Missing include
Dirk Engling
2007-03-07 23:15:11 +0000
b506cb39a9Sanify handling of server sockets
Dirk Engling
2007-03-07 22:19:00 +0000
622e34f2b0udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes.
Dirk Engling
2007-03-06 19:43:47 +0000
123ca420a8Can now handle multiple ips/ports, can BIND to udp ports but not yet handle them, now checks if event=completed comes with left=0 and drops it, if it doesnt
Dirk Engling
2007-03-05 21:14:36 +0000
0c15779d39Some clients even send plain : in their requests
Dirk Engling
2007-03-03 02:10:52 +0000
43ee5b14a6Count completed messages only once per peer
Dirk Engling
2007-02-16 21:13:44 +0000
ccc6761c97Add a lot of documentation for static functions in trackerlogic.c. Make vector_remove_peer use hysteresis only, if pool is expected to grow again. Remove too old torrents.
Dirk Engling
2007-02-04 03:29:29 +0000
ef12e05d40shortened the dmem debug output
Denis Ahrens
2007-02-04 00:37:45 +0000
b283462534zero copy sockets do only work on page aligned buffers for page sized blocks. So remove the code that tried to take advantage of false assuming, it would work on any buffer
Dirk Engling
2007-02-03 16:19:59 +0000
7540de785amade the output of the memdebug smaller
Denis Ahrens
2007-02-02 23:39:36 +0000
3409074dc0increased the interval random variation
Denis Ahrens
2007-02-02 23:37:28 +0000
6117e68584fixed the last commit. now it really counts the scrapes and fullscrapes
Denis Ahrens
2007-02-02 21:15:46 +0000
4cebf91d22make the interval with random an average value around the real value and not additional
Denis Ahrens
2007-02-01 22:34:23 +0000
48d0196995Make timeouts more human readable
Dirk Engling
2007-02-01 22:27:44 +0000
5ebd2371e5clear the freed mempointer
Denis Ahrens
2007-02-01 22:23:56 +0000
f545ad8774Wasted 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
Dirk Engling
2007-02-01 16:06:17 +0000
e12ac60deaForgot to take into account, that there are OT_POOL_COUNT debuggable pools in one torrent. Fixed.
Dirk Engling
2007-02-01 15:57:29 +0000
be59653be2Reserved too few space to hold all data for a memdebug
Dirk Engling
2007-02-01 15:45:24 +0000
fa7f089536add the scrapes to the valid requests (blue mrtg line)
Denis Ahrens
2007-02-01 15:35:01 +0000
b518c4809aUse multiple output buffers to try to avoid copy on write when unnecessary
Dirk Engling
2007-02-01 13:30:58 +0000
bd5f75f1a6Try to shake off too stupid clients by sending an Bittorrent error rather than an HTTP 400
Dirk Engling
2007-01-31 09:58:32 +0000
158ce4d616Use signed size_t wherever appropriate
Dirk Engling
2007-01-31 09:50:46 +0000
e2d15c9c4bsize_t cant get < 0 and thus wont report errors
Dirk Engling
2007-01-31 02:19:17 +0000
47eaad59dfOn linux time.h must be included to use time()
Dirk Engling
2007-01-30 21:29:08 +0000
d299bd4937provide mrtg with more sane strings
Dirk Engling
2007-01-29 13:41:04 +0000
8fc31f7e29We now answer as soon as the first \n is seen We do not copy input buffer to socket's input array anymore, if we find \n in first buffer We simplified parsing of input string We removed asserts that were needed to debug negative seeder counts We split static input and output buffers for obvious reasons We enlarged static output buffer to prepare multi scrape functionality We removed -lm from Makefile, this lib was only needed, when our random algorithm worked on floats We close fds now that come with an empty iocookie into write loop, those don't make sense We documented query string parser in opentracker.c a lot better to help auditing
Dirk Engling
2007-01-29 02:02:03 +0000
342e3a25c0account downloaded before early returns
Dirk Engling
2007-01-27 16:06:13 +0000
35e60201adfix for corrupt fullscrape. did never work until now
Denis Ahrens
2007-01-27 08:57:11 +0000
cbd2a8f8f8announce.php and scrape.php are now being handled
Dirk Engling
2007-01-26 18:09:14 +0000
96e5b5a076Introduce 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.
Dirk Engling
2007-01-26 16:26:49 +0000
0f85392889return random check back intervals to our clients
Dirk Engling
2007-01-25 14:16:26 +0000