]> git.ipfire.org Git - thirdparty/opentracker.git/log
thirdparty/opentracker.git
19 years agofixed the last commit. now it really counts the scrapes and fullscrapes
denis [Fri, 2 Feb 2007 21:15:46 +0000 (21:15 +0000)] 
fixed the last commit. now it really counts the scrapes and fullscrapes

19 years agomake the interval with random an average value around the real value and not additional
denis [Thu, 1 Feb 2007 22:34:23 +0000 (22:34 +0000)] 
make the interval with random an average value around the real value and not additional

19 years agoMake timeouts more human readable
erdgeist [Thu, 1 Feb 2007 22:27:44 +0000 (22:27 +0000)] 
Make timeouts more human readable

19 years agoclear the freed mempointer
denis [Thu, 1 Feb 2007 22:23:56 +0000 (22:23 +0000)] 
clear the freed mempointer

19 years agorelease memory for empty peer pools
erdgeist [Thu, 1 Feb 2007 17:01:03 +0000 (17:01 +0000)] 
release memory for empty peer pools

19 years agoWasted too much space for minimum element count. Now minimum elements in vektor is...
erdgeist [Thu, 1 Feb 2007 16:06:17 +0000 (16:06 +0000)] 
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

19 years agoForgot to take into account, that there are OT_POOL_COUNT debuggable pools in one...
erdgeist [Thu, 1 Feb 2007 15:57:29 +0000 (15:57 +0000)] 
Forgot to take into account, that there are OT_POOL_COUNT debuggable pools in one torrent. Fixed.

19 years agoReserved too few space to hold all data for a memdebug
erdgeist [Thu, 1 Feb 2007 15:45:24 +0000 (15:45 +0000)] 
Reserved too few space to hold all data for a memdebug

19 years agoadd the scrapes to the valid requests (blue mrtg line)
denis [Thu, 1 Feb 2007 15:35:01 +0000 (15:35 +0000)] 
add the scrapes to the valid requests (blue mrtg line)

19 years agoel cheapo vector debugging
erdgeist [Thu, 1 Feb 2007 13:51:40 +0000 (13:51 +0000)] 
el cheapo vector debugging

19 years agoUse multiple output buffers to try to avoid copy on write when unnecessary
erdgeist [Thu, 1 Feb 2007 13:30:58 +0000 (13:30 +0000)] 
Use multiple output buffers to try to avoid copy on write when unnecessary

19 years agoTry to shake off too stupid clients by sending an Bittorrent error rather than an...
erdgeist [Wed, 31 Jan 2007 09:58:32 +0000 (09:58 +0000)] 
Try to shake off too stupid clients by sending an Bittorrent error rather than an HTTP 400

19 years agoUse signed size_t wherever appropriate
erdgeist [Wed, 31 Jan 2007 09:50:46 +0000 (09:50 +0000)] 
Use signed size_t wherever appropriate

19 years agosize_t cant get < 0 and thus wont report errors
erdgeist [Wed, 31 Jan 2007 02:19:17 +0000 (02:19 +0000)] 
size_t cant get < 0 and thus wont report errors

19 years agoOn linux time.h must be included to use time()
erdgeist [Tue, 30 Jan 2007 21:29:08 +0000 (21:29 +0000)] 
On linux time.h must be included to use time()

19 years agoprovide mrtg with more sane strings
erdgeist [Mon, 29 Jan 2007 13:41:04 +0000 (13:41 +0000)] 
provide mrtg with more sane strings

19 years agoWe now answer as soon as the first \n is seen
erdgeist [Mon, 29 Jan 2007 02:02:03 +0000 (02:02 +0000)] 
We 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

19 years agocomplete_D_ ... ECODERTOODUMB
erdgeist [Sat, 27 Jan 2007 17:13:53 +0000 (17:13 +0000)] 
complete_D_ ... ECODERTOODUMB

19 years agoreally copy in new peer, even if it already existed, to remember its state
erdgeist [Sat, 27 Jan 2007 17:04:55 +0000 (17:04 +0000)] 
really copy in new peer, even if it already existed, to remember its state

19 years agoAsserts were always false :/
erdgeist [Sat, 27 Jan 2007 16:42:57 +0000 (16:42 +0000)] 
Asserts were always false :/

19 years agoDue to recent issues... assert() seed counts
erdgeist [Sat, 27 Jan 2007 16:35:56 +0000 (16:35 +0000)] 
Due to recent issues... assert() seed counts

19 years agoaccount downloaded before early returns
erdgeist [Sat, 27 Jan 2007 16:06:13 +0000 (16:06 +0000)] 
account downloaded before early returns

19 years agofix for corrupt fullscrape. did never work until now
denis [Sat, 27 Jan 2007 08:57:11 +0000 (08:57 +0000)] 
fix for corrupt fullscrape. did never work until now

19 years agoannounce.php and scrape.php are now being handled
erdgeist [Fri, 26 Jan 2007 18:09:14 +0000 (18:09 +0000)] 
announce.php and scrape.php are now being handled

19 years agoIntroduce another unspec'd command: sync which syncs the most recent peer pool for...
erdgeist [Fri, 26 Jan 2007 16:26:49 +0000 (16:26 +0000)] 
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.

19 years agoreturn random check back intervals to our clients
erdgeist [Thu, 25 Jan 2007 14:16:26 +0000 (14:16 +0000)] 
return random check back intervals to our clients

19 years agoCode cleanup reindenting
erdgeist [Wed, 24 Jan 2007 22:23:18 +0000 (22:23 +0000)] 
Code cleanup reindenting

19 years agoAllowing more relaxed parsing of queries
erdgeist [Wed, 24 Jan 2007 21:49:41 +0000 (21:49 +0000)] 
Allowing more relaxed parsing of queries

19 years agoReturn empty dictionary for unknown scrapes
erdgeist [Wed, 24 Jan 2007 21:26:50 +0000 (21:26 +0000)] 
Return empty dictionary for unknown scrapes

19 years agoDo not write, if no string is passed
erdgeist [Wed, 24 Jan 2007 21:18:42 +0000 (21:18 +0000)] 
Do not write, if no string is passed

19 years agosupport for questionmark in URL behind the initial one
denis [Wed, 24 Jan 2007 21:12:05 +0000 (21:12 +0000)] 
support for questionmark in URL behind the initial one

19 years agobackout Revision 1.67
denis [Wed, 24 Jan 2007 21:06:19 +0000 (21:06 +0000)] 
backout Revision 1.67

19 years agoworkaround for some weird requests
denis [Wed, 24 Jan 2007 20:48:25 +0000 (20:48 +0000)] 
workaround for some weird requests

19 years agoDenis wanted scrapes and erdgeist didnt give it :)
denis [Wed, 24 Jan 2007 20:20:07 +0000 (20:20 +0000)] 
Denis wanted scrapes and erdgeist didnt give it :)

19 years agoCopy request before expanding url-encoded bytes
denis [Wed, 24 Jan 2007 20:13:30 +0000 (20:13 +0000)] 
Copy request before expanding url-encoded bytes

19 years agoDebugging for failed requests.
erdgeist [Wed, 24 Jan 2007 12:56:15 +0000 (12:56 +0000)] 
Debugging for failed requests.

19 years agoCount successful announces extra
erdgeist [Tue, 23 Jan 2007 15:48:51 +0000 (15:48 +0000)] 
Count successful announces extra

19 years agoNow allow * in torrents
erdgeist [Mon, 22 Jan 2007 02:41:09 +0000 (02:41 +0000)] 
Now allow * in torrents

19 years agoFD-debug also in new iob_send path
erdgeist [Sat, 20 Jan 2007 14:11:53 +0000 (14:11 +0000)] 
FD-debug also in new iob_send path

19 years agoFull scrape, kinda tested
erdgeist [Sat, 20 Jan 2007 11:13:30 +0000 (11:13 +0000)] 
Full scrape, kinda tested

19 years agoincrease the timeout to make the ride a little smoother for some clients
denis [Sat, 20 Jan 2007 02:50:33 +0000 (02:50 +0000)] 
increase the timeout to make the ride a little smoother for some clients

19 years ago-m64 is not usually a correct compile option
erdgeist [Sat, 20 Jan 2007 01:50:28 +0000 (01:50 +0000)] 
-m64 is not usually a correct compile option

19 years agoDebug file descriptors
erdgeist [Fri, 19 Jan 2007 17:50:36 +0000 (17:50 +0000)] 
Debug file descriptors

19 years ago*seuftz*
denis [Fri, 19 Jan 2007 03:21:02 +0000 (03:21 +0000)] 
*seuftz*

19 years agoset the interval to 1800 for announce (last change was only for scrape)
denis [Fri, 19 Jan 2007 03:19:12 +0000 (03:19 +0000)] 
set the interval to 1800 for announce (last change was only for scrape)

19 years agoFrom now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside...
erdgeist [Thu, 18 Jan 2007 13:06:49 +0000 (13:06 +0000)] 
From now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside this interval

19 years agoTidied main loop do accept() and read() before timeout()
erdgeist [Thu, 18 Jan 2007 12:27:17 +0000 (12:27 +0000)] 
Tidied main loop do accept() and read() before timeout()

19 years agoGive our server some air to check for timedout connections
erdgeist [Thu, 18 Jan 2007 02:40:18 +0000 (02:40 +0000)] 
Give our server some air to check for timedout connections

19 years agoRearranged code to try to read data as soon as socket is accepted, also raise backlog...
erdgeist [Thu, 18 Jan 2007 02:23:18 +0000 (02:23 +0000)] 
Rearranged code to try to read data as soon as socket is accepted, also raise backlog for listening socket

19 years agoSimple top5 by peers/seeders table
erdgeist [Wed, 17 Jan 2007 17:39:36 +0000 (17:39 +0000)] 
Simple top5 by peers/seeders table

19 years agoSimple top5 by peers/seeders table
erdgeist [Wed, 17 Jan 2007 11:51:55 +0000 (11:51 +0000)] 
Simple top5 by peers/seeders table

19 years agoPrevent each invocation of clean_peerlist to call time()
erdgeist [Tue, 16 Jan 2007 03:57:19 +0000 (03:57 +0000)] 
Prevent each invocation of clean_peerlist to call time()

19 years agoUse mrtg to do periodical cleanup. Hopefully that wont make too much load for stats.
erdgeist [Tue, 16 Jan 2007 03:44:13 +0000 (03:44 +0000)] 
Use mrtg to do periodical cleanup. Hopefully that wont make too much load for stats.

19 years agoRudimentary stats
erdgeist [Tue, 16 Jan 2007 02:59:39 +0000 (02:59 +0000)] 
Rudimentary stats

19 years agoDo some timeout checking on the first possible moment
erdgeist [Tue, 16 Jan 2007 01:57:06 +0000 (01:57 +0000)] 
Do some timeout checking on the first possible moment

19 years agoPrevious answer to event=stopped irritated some clients. Now reply with a static...
erdgeist [Tue, 16 Jan 2007 01:35:10 +0000 (01:35 +0000)] 
Previous answer to event=stopped irritated some clients. Now reply with a static nothing-message

19 years agoset interval to default value from original tracker
denis [Mon, 15 Jan 2007 23:40:58 +0000 (23:40 +0000)] 
set interval to default value from original tracker

19 years agoCast types for mrtg_scrape sprintf
erdgeist [Sun, 14 Jan 2007 20:22:59 +0000 (20:22 +0000)] 
Cast types for mrtg_scrape sprintf

19 years agoDrop permission, if we can
erdgeist [Sun, 14 Jan 2007 20:15:04 +0000 (20:15 +0000)] 
Drop permission, if we can

19 years agoNew, fixpoint distinct random algorithm for choosing peers from the list... may conta...
erdgeist [Sat, 13 Jan 2007 19:06:39 +0000 (19:06 +0000)] 
New, fixpoint distinct random algorithm for choosing peers from the list... may contain bugs. Feedback welcome

19 years agoDont want ips from query string by default
erdgeist [Sat, 13 Jan 2007 19:05:22 +0000 (19:05 +0000)] 
Dont want ips from query string by default

19 years agoCompiles with newest libowfat only
erdgeist [Fri, 12 Jan 2007 03:09:56 +0000 (03:09 +0000)] 
Compiles with newest libowfat only

19 years agotestsuite points to localhost
erdgeist [Fri, 12 Jan 2007 01:58:25 +0000 (01:58 +0000)] 
testsuite points to localhost

19 years agocasting does floor() by itself
erdgeist [Fri, 12 Jan 2007 01:22:03 +0000 (01:22 +0000)] 
casting does floor() by itself

19 years agoDocumentation improved, some reindenting (again), variable types checked, unnecessary...
erdgeist [Thu, 11 Jan 2007 01:06:10 +0000 (01:06 +0000)] 
Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed

19 years agoIgnore SIGPIPE. This is safe, since it only raises, when the remote site died before...
erdgeist [Wed, 10 Jan 2007 16:42:39 +0000 (16:42 +0000)] 
Ignore SIGPIPE. This is safe, since it only raises, when the remote site died before we could send our paket back and is catched by write() returning -1

19 years agoFixed a bug where I didn't replace new buffer pointer after realloc. Fixed a bug...
erdgeist [Tue, 9 Jan 2007 06:30:37 +0000 (06:30 +0000)] 
Fixed a bug where I didn't replace new buffer pointer after realloc. Fixed a bug where I didnt copy enough memory when shrinking vectors. Now save some extra bytes in header.

19 years agoNow we also check, if no io happens
erdgeist [Mon, 8 Jan 2007 05:23:04 +0000 (05:23 +0000)] 
Now we also check, if no io happens

19 years agoSome code spacifying. Added actually checking timeouts.
erdgeist [Mon, 8 Jan 2007 05:18:53 +0000 (05:18 +0000)] 
Some code spacifying. Added actually checking timeouts.

19 years agoIndent. Sorry. Plus timeout on every connection, for every byte we got.
erdgeist [Mon, 8 Jan 2007 00:57:35 +0000 (00:57 +0000)] 
Indent. Sorry. Plus timeout on every connection, for every byte we got.

19 years agoThis one breaks all ;) Lets see, what happens
erdgeist [Mon, 8 Jan 2007 00:34:37 +0000 (00:34 +0000)] 
This one breaks all ;) Lets see, what happens

19 years agoadd timeout for clients
erdgeist [Sun, 7 Jan 2007 00:20:20 +0000 (00:20 +0000)] 
add timeout for clients

19 years agoshutdown was unnecessary
erdgeist [Sat, 6 Jan 2007 23:36:20 +0000 (23:36 +0000)] 
shutdown was unnecessary

19 years agotidy up options
erdgeist [Sat, 6 Jan 2007 22:25:09 +0000 (22:25 +0000)] 
tidy up options

19 years agoApply some limits
erdgeist [Sat, 6 Jan 2007 22:24:09 +0000 (22:24 +0000)] 
Apply some limits

19 years agoblack listing was the wrong way around
erdgeist [Fri, 5 Jan 2007 17:01:20 +0000 (17:01 +0000)] 
black listing was the wrong way around

19 years agoreally check g_check_blacklist flag
erdgeist [Fri, 5 Jan 2007 16:25:02 +0000 (16:25 +0000)] 
really check g_check_blacklist flag

19 years agoBe more helpful
erdgeist [Fri, 5 Jan 2007 13:00:06 +0000 (13:00 +0000)] 
Be more helpful

19 years agoadded closed tracker and blacklist code
erdgeist [Fri, 5 Jan 2007 12:25:44 +0000 (12:25 +0000)] 
added closed tracker and blacklist code

19 years agoREADME\!
erdgeist [Fri, 5 Jan 2007 00:00:42 +0000 (00:00 +0000)] 
README\!

19 years agoShell Testsuite
erdgeist [Thu, 4 Jan 2007 21:34:10 +0000 (21:34 +0000)] 
Shell Testsuite

19 years agosimplified binary_search, it always does a memcmp. began to implement dump knowledge
erdgeist [Thu, 4 Jan 2007 16:14:21 +0000 (16:14 +0000)] 
simplified binary_search, it always does a memcmp. began to implement dump knowledge

19 years agoAdded option to get ip from query string + parser, fixed two bugs concerning grow...
erdgeist [Wed, 3 Jan 2007 05:11:48 +0000 (05:11 +0000)] 
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.

19 years agoRemove some integer constants from code. Bad coder. Very bad coder :/
erdgeist [Tue, 19 Dec 2006 18:09:56 +0000 (18:09 +0000)] 
Remove some integer constants from code. Bad coder. Very bad coder :/

19 years agoNow every answer goes in one buffer
erdgeist [Tue, 19 Dec 2006 18:01:28 +0000 (18:01 +0000)] 
Now every answer goes in one buffer

19 years agoTry early answers
erdgeist [Sat, 16 Dec 2006 18:46:11 +0000 (18:46 +0000)] 
Try early answers

19 years agoMissing header file
erdgeist [Sat, 16 Dec 2006 16:14:34 +0000 (16:14 +0000)] 
Missing header file

19 years agotry shutdown() the socket after writing
erdgeist [Sat, 16 Dec 2006 16:10:57 +0000 (16:10 +0000)] 
try shutdown() the socket after writing

19 years agocorrected the modifier for size_t
denis [Sat, 16 Dec 2006 14:49:20 +0000 (14:49 +0000)] 
corrected the modifier for size_t

19 years agofreebsd support
denis [Sat, 16 Dec 2006 13:27:26 +0000 (13:27 +0000)] 
freebsd support

19 years agoFixed two mem leaks from httpd :/
erdgeist [Sat, 16 Dec 2006 13:23:12 +0000 (13:23 +0000)] 
Fixed two mem leaks from httpd :/

19 years agoFixed memleak in example httpd :/
erdgeist [Sat, 16 Dec 2006 03:11:07 +0000 (03:11 +0000)] 
Fixed memleak in example httpd :/

19 years agoMade answer http/1.1
erdgeist [Sat, 16 Dec 2006 01:22:48 +0000 (01:22 +0000)] 
Made answer http/1.1

19 years agorandom
erdgeist [Fri, 15 Dec 2006 23:53:24 +0000 (23:53 +0000)] 
random

19 years agoDivision in stats now works
erdgeist [Fri, 15 Dec 2006 23:46:34 +0000 (23:46 +0000)] 
Division in stats now works

19 years agoFix port again ;) Include headers in Makefile dependencies
erdgeist [Fri, 15 Dec 2006 23:38:18 +0000 (23:38 +0000)] 
Fix port again ;) Include headers in Makefile dependencies

19 years agofixed setport fuckup
erdgeist [Fri, 15 Dec 2006 23:35:40 +0000 (23:35 +0000)] 
fixed setport fuckup

19 years agofix include
erdgeist [Fri, 15 Dec 2006 23:29:38 +0000 (23:29 +0000)] 
fix include

19 years agoMake code endianess save
erdgeist [Fri, 15 Dec 2006 23:28:23 +0000 (23:28 +0000)] 
Make code endianess save

19 years agofixed typo
denis [Fri, 15 Dec 2006 22:46:01 +0000 (22:46 +0000)] 
fixed typo