]> git.ipfire.org Git - thirdparty/opentracker.git/log
thirdparty/opentracker.git
18 years agoReflect changes for ot_http.* in project file
erdgeist [Mon, 3 Dec 2007 01:09:25 +0000 (01:09 +0000)] 
Reflect changes for ot_http.* in project file

18 years agoDrop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes
erdgeist [Mon, 3 Dec 2007 01:07:41 +0000 (01:07 +0000)] 
Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes

18 years agoDrop ot_{byte,word,dword} and use uint{8,16,32}_t, also move run time keeping and...
erdgeist [Mon, 3 Dec 2007 01:05:32 +0000 (01:05 +0000)] 
Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also move run time keeping and FULLSCRAPE stderr output to ot_stats

18 years agoIntroduce new ot_http.c and ot_http.h
erdgeist [Mon, 3 Dec 2007 01:01:37 +0000 (01:01 +0000)] 
Introduce new ot_http.c and ot_http.h

18 years agoSimplify includes, add new STATS code for scrapes
erdgeist [Mon, 3 Dec 2007 01:00:58 +0000 (01:00 +0000)] 
Simplify includes, add new STATS code for scrapes

18 years agoFinally split up the opentracker.c cruft into ot_http.c, ot_accesslist.c and just...
erdgeist [Mon, 3 Dec 2007 00:58:18 +0000 (00:58 +0000)] 
Finally split up the opentracker.c cruft into ot_http.c, ot_accesslist.c and just leave in socket handling and parameter parsing

18 years agoSimplify includes
erdgeist [Mon, 3 Dec 2007 00:52:05 +0000 (00:52 +0000)] 
Simplify includes

18 years agoDrop ot_{byte,word,dword} and use uint{8,16,32}_t
erdgeist [Mon, 3 Dec 2007 00:50:33 +0000 (00:50 +0000)] 
Drop ot_{byte,word,dword} and use uint{8,16,32}_t

18 years agoMove blessed IP handling code to accesslist objects
erdgeist [Mon, 3 Dec 2007 00:48:48 +0000 (00:48 +0000)] 
Move blessed IP handling code to accesslist objects

18 years agoMove http handling to its own sources
erdgeist [Mon, 3 Dec 2007 00:47:09 +0000 (00:47 +0000)] 
Move http handling to its own sources

18 years agoadd scrape stats and small correction to udp stats
denis [Sun, 2 Dec 2007 03:58:36 +0000 (03:58 +0000)] 
add scrape stats and small correction to udp stats

18 years agoEncforce setting the clock more often. This hopefully fixes a rare bug of g_now not...
erdgeist [Thu, 29 Nov 2007 15:43:30 +0000 (15:43 +0000)] 
Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore.

18 years agoFixed a bug where we forgot to stamp torrents that are not new.
erdgeist [Wed, 28 Nov 2007 22:52:35 +0000 (22:52 +0000)] 
Fixed a bug where we forgot to stamp torrents that are not new.

18 years agoXCode-Project. Note: This is PPC only, x86 must be enabled
erdgeist [Wed, 28 Nov 2007 22:08:36 +0000 (22:08 +0000)] 
XCode-Project. Note: This is PPC only, x86 must be enabled

18 years agoFixed call to deflate() with wrong flag in endgame
erdgeist [Sun, 25 Nov 2007 18:59:46 +0000 (18:59 +0000)] 
Fixed call to deflate() with wrong flag in endgame

18 years agoMissed the second strnstr... fixed.
erdgeist [Sat, 24 Nov 2007 20:34:41 +0000 (20:34 +0000)] 
Missed the second strnstr... fixed.

18 years agoDebug settings for chunk size were _way_ to low for production
erdgeist [Sat, 24 Nov 2007 11:09:18 +0000 (11:09 +0000)] 
Debug settings for chunk size were _way_ to low for production

18 years agoCompletely rewritten fullscrape code. All assumptions on how deflate() works were...
erdgeist [Fri, 23 Nov 2007 18:15:38 +0000 (18:15 +0000)] 
Completely rewritten fullscrape code. All assumptions on how deflate() works were a little naive. Needs more error checking and testing.

18 years agostrnstr is not part of what posix conform libc has to offer... replace it by strstr...
erdgeist [Fri, 23 Nov 2007 18:14:22 +0000 (18:14 +0000)] 
strnstr is not part of what posix conform libc has to offer... replace it by strstr after cutting off the last byte

18 years agoReflect changes in iovec code in sync code
erdgeist [Fri, 23 Nov 2007 18:13:11 +0000 (18:13 +0000)] 
Reflect changes in iovec code in sync code

18 years agomake ot_iovecs fix last interface more sane, also add a convenience function that...
erdgeist [Fri, 23 Nov 2007 18:12:50 +0000 (18:12 +0000)] 
make ot_iovecs fix last interface more sane, also add a convenience function that handles the task of fixing, allocating and - if necessary - freeing

18 years agoIntroducing compression for fullscrapes and tpbs stats
erdgeist [Thu, 22 Nov 2007 04:39:08 +0000 (04:39 +0000)] 
Introducing compression for fullscrapes and tpbs stats

18 years agoIntroducing compression task flags
erdgeist [Thu, 22 Nov 2007 04:38:25 +0000 (04:38 +0000)] 
Introducing compression task flags

18 years agoMake allowing gzip a Makefile tunable
erdgeist [Thu, 22 Nov 2007 04:37:41 +0000 (04:37 +0000)] 
Make allowing gzip a Makefile tunable

18 years agoFixing mmap allocation went to ot_mutex.c. Clean all torrents moved to ot_clean.c...
erdgeist [Wed, 21 Nov 2007 01:57:39 +0000 (01:57 +0000)] 
Fixing mmap allocation went to ot_mutex.c. Clean all torrents moved to ot_clean.c. Also make static buffers static

18 years agoFixing mmap allocation went to ot_mutex.c. Also startup new sync thread.
erdgeist [Wed, 21 Nov 2007 01:57:03 +0000 (01:57 +0000)] 
Fixing mmap allocation went to ot_mutex.c. Also startup new sync thread.

18 years agoFormatting
erdgeist [Wed, 21 Nov 2007 01:56:14 +0000 (01:56 +0000)] 
Formatting

18 years agostatic bufs are not shared anymore, even if that means more memory.
erdgeist [Wed, 21 Nov 2007 01:55:59 +0000 (01:55 +0000)] 
static bufs are not shared anymore, even if that means more memory.

18 years agoReflect changes in multithreaded sync model in header file.
erdgeist [Wed, 21 Nov 2007 01:55:42 +0000 (01:55 +0000)] 
Reflect changes in multithreaded sync model in header file.

18 years agoMake sync generation multithreaded.
erdgeist [Wed, 21 Nov 2007 01:55:15 +0000 (01:55 +0000)] 
Make sync generation multithreaded.

18 years agoSplit sync in and sync out into different tasks
erdgeist [Wed, 21 Nov 2007 01:54:52 +0000 (01:54 +0000)] 
Split sync in and sync out into different tasks

18 years agoDocumentation fix
erdgeist [Wed, 21 Nov 2007 01:54:31 +0000 (01:54 +0000)] 
Documentation fix

18 years agoLast user of sendmmapdata is gone. Purge it.
erdgeist [Wed, 21 Nov 2007 01:53:17 +0000 (01:53 +0000)] 
Last user of sendmmapdata is gone. Purge it.

18 years agoTested for a too strict condition, we do need the correct tasktype AND an empty taski...
erdgeist [Tue, 20 Nov 2007 02:55:13 +0000 (02:55 +0000)] 
Tested for a too strict condition, we do need the correct tasktype AND an empty taskid, not the other way around

18 years agoMake clean_single_torrent return much faster, if nothing is to do
erdgeist [Tue, 20 Nov 2007 02:22:21 +0000 (02:22 +0000)] 
Make clean_single_torrent return much faster, if nothing is to do

18 years agoSockets do not inherit non-blocking state in libowfat...
erdgeist [Tue, 20 Nov 2007 02:21:53 +0000 (02:21 +0000)] 
Sockets do not inherit non-blocking state in libowfat...

18 years agoFullscrape now cleanly finalizes its thread
erdgeist [Mon, 19 Nov 2007 21:14:09 +0000 (21:14 +0000)] 
Fullscrape now cleanly finalizes its thread

18 years agoCleanup now moved to its own thread, too
erdgeist [Mon, 19 Nov 2007 21:10:53 +0000 (21:10 +0000)] 
Cleanup now moved to its own thread, too

18 years agoMissing include for htonl()
erdgeist [Mon, 19 Nov 2007 01:02:10 +0000 (01:02 +0000)] 
Missing include for htonl()

18 years agoFull scrapes are now being delivered in different modes, as triggered by stats&mode...
erdgeist [Sun, 18 Nov 2007 16:47:37 +0000 (16:47 +0000)] 
Full scrapes are now being delivered in different modes, as triggered by stats&mode=tpbs

18 years agoReflect new task-classes model in fullscrape worker
erdgeist [Sun, 18 Nov 2007 16:46:48 +0000 (16:46 +0000)] 
Reflect new task-classes model in fullscrape worker

18 years agoReflect new task-classes model in mutex queue
erdgeist [Sun, 18 Nov 2007 16:46:34 +0000 (16:46 +0000)] 
Reflect new task-classes model in mutex queue

18 years agoStats are tasks now, they also come in classes.
erdgeist [Sun, 18 Nov 2007 16:46:01 +0000 (16:46 +0000)] 
Stats are tasks now, they also come in classes.

18 years agoStats are tasks now.
erdgeist [Sun, 18 Nov 2007 16:45:34 +0000 (16:45 +0000)] 
Stats are tasks now.

18 years agoForgot to specify -pthread when using threads
erdgeist [Fri, 16 Nov 2007 20:19:15 +0000 (20:19 +0000)] 
Forgot to specify -pthread when using threads

18 years agointroducing multithreaded full scrape creation.
erdgeist [Fri, 16 Nov 2007 00:23:42 +0000 (00:23 +0000)] 
introducing multithreaded full scrape creation.

18 years agotasklist code now tested in a multi threaded environment.
erdgeist [Thu, 15 Nov 2007 03:35:03 +0000 (03:35 +0000)] 
tasklist code now tested in a multi threaded environment.

18 years agoMove dead socket handling from handle_(read,write,timedout) into its own function...
erdgeist [Wed, 14 Nov 2007 13:06:34 +0000 (13:06 +0000)] 
Move dead socket handling from handle_(read,write,timedout) into its own function handle_dead

18 years agoIntroducing the workqueue
erdgeist [Wed, 14 Nov 2007 12:59:58 +0000 (12:59 +0000)] 
Introducing the workqueue

18 years agoIncrease full scrape chunk size to 1/2meg
erdgeist [Tue, 13 Nov 2007 00:33:55 +0000 (00:33 +0000)] 
Increase full scrape chunk size to 1/2meg

18 years agoRather embarrasing arithmetic fuckup
erdgeist [Tue, 13 Nov 2007 00:30:17 +0000 (00:30 +0000)] 
Rather embarrasing arithmetic fuckup

18 years agomissing include
erdgeist [Tue, 13 Nov 2007 00:01:24 +0000 (00:01 +0000)] 
missing include

18 years agoFix typos in documenation
erdgeist [Mon, 12 Nov 2007 17:26:01 +0000 (17:26 +0000)] 
Fix typos in documenation

18 years agoSome in code documentation to make Denis happy :)
erdgeist [Mon, 12 Nov 2007 16:54:21 +0000 (16:54 +0000)] 
Some in code documentation to make Denis happy :)

18 years agoMoving accesslist stuff to its own object
erdgeist [Mon, 12 Nov 2007 04:39:53 +0000 (04:39 +0000)] 
Moving accesslist stuff to its own object

18 years agoReturn at end of line missing
erdgeist [Mon, 12 Nov 2007 01:45:33 +0000 (01:45 +0000)] 
Return at end of line missing

18 years agoMoving full scrapes to iovec-creating thread safe function
erdgeist [Mon, 12 Nov 2007 01:41:57 +0000 (01:41 +0000)] 
Moving full scrapes to iovec-creating thread safe function

18 years agoDokumentation
erdgeist [Mon, 12 Nov 2007 01:40:00 +0000 (01:40 +0000)] 
Dokumentation

18 years agoReflect changes in ot_iovec and ot_fullscrape in Makefile
erdgeist [Mon, 12 Nov 2007 01:39:18 +0000 (01:39 +0000)] 
Reflect changes in ot_iovec and ot_fullscrape in Makefile

18 years agoFull scrape moves to its own object
erdgeist [Mon, 12 Nov 2007 01:38:54 +0000 (01:38 +0000)] 
Full scrape moves to its own object

18 years agoFullscrape is thread safe now.
erdgeist [Mon, 12 Nov 2007 01:38:08 +0000 (01:38 +0000)] 
Fullscrape is thread safe now.

18 years agoNew large chunk allocation code
erdgeist [Mon, 12 Nov 2007 01:37:47 +0000 (01:37 +0000)] 
New large chunk allocation code

18 years agoMUST NOT enable features in CVSpico Makefile bad coder
erdgeist [Tue, 6 Nov 2007 18:02:29 +0000 (18:02 +0000)] 
MUST NOT enable features in CVSpico Makefile  bad coder

18 years agoThe expensive DMEM stats is gone. No need for it, too much potential to DOS.
erdgeist [Tue, 6 Nov 2007 18:02:03 +0000 (18:02 +0000)] 
The expensive DMEM stats is gone. No need for it, too much potential to DOS.

18 years agoMissing newline warning, missing include fixed
erdgeist [Tue, 6 Nov 2007 17:53:45 +0000 (17:53 +0000)] 
Missing newline warning, missing include fixed

18 years agoHave an own file handle udp requests.
erdgeist [Tue, 6 Nov 2007 17:51:48 +0000 (17:51 +0000)] 
Have an own file handle udp requests.

18 years agoMove stats out of opentracker.c, also have an own file handle udp requests.
erdgeist [Tue, 6 Nov 2007 17:50:41 +0000 (17:50 +0000)] 
Move stats out of opentracker.c, also have an own file handle udp requests.

18 years agoThank you, GNU for fucking up pmake :)
erdgeist [Tue, 6 Nov 2007 15:18:18 +0000 (15:18 +0000)] 
Thank you, GNU for fucking up pmake :)

18 years agoMakefile now builds each object on its own. Thus it can be build with -j2 and higher
erdgeist [Tue, 6 Nov 2007 12:44:53 +0000 (12:44 +0000)] 
Makefile now builds each object on its own. Thus it can be build with -j2 and higher

18 years agoFixed a forgotten unlock and a messed up string pointer
erdgeist [Tue, 6 Nov 2007 12:20:32 +0000 (12:20 +0000)] 
Fixed a forgotten unlock and a messed up string pointer

18 years agoFixed ntohl include
erdgeist [Tue, 6 Nov 2007 12:04:05 +0000 (12:04 +0000)] 
Fixed ntohl include

18 years agoFixed warnings about newlines at end of file
erdgeist [Tue, 6 Nov 2007 12:03:11 +0000 (12:03 +0000)] 
Fixed warnings about newlines at end of file

18 years agoNo one can get access to buckets now without locking them. Also split up the trackerl...
erdgeist [Tue, 6 Nov 2007 11:58:32 +0000 (11:58 +0000)] 
No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested and not considered stable.

18 years agoRename source files in an ot_ fashion
erdgeist [Tue, 6 Nov 2007 10:41:14 +0000 (10:41 +0000)] 
Rename source files in an ot_ fashion

18 years agoMake to_hex thread safe. Get rid off old /24 counting code. Protect more bucket acces...
erdgeist [Tue, 6 Nov 2007 03:21:03 +0000 (03:21 +0000)] 
Make to_hex thread safe. Get rid off old /24 counting code. Protect more bucket accesses by locks.

18 years agoWe do now use the tools for locking buckets in order to prepare MT code
erdgeist [Tue, 6 Nov 2007 01:29:57 +0000 (01:29 +0000)] 
We do now use the tools for locking buckets in order to prepare MT code

18 years agoCleaned up stats return format. Also reflect APPI changes due to MT code in trackerlo...
erdgeist [Tue, 6 Nov 2007 01:28:40 +0000 (01:28 +0000)] 
Cleaned up stats return format. Also reflect APPI changes due to MT code in trackerlogic.{c,h}

18 years agoLocks tested. Got the test routine wrong -> Fixed.
erdgeist [Tue, 6 Nov 2007 01:25:36 +0000 (01:25 +0000)] 
Locks tested. Got the test routine wrong -> Fixed.

18 years agoIntroducing first tools to make opentracker multithreaded.
erdgeist [Sat, 3 Nov 2007 13:43:05 +0000 (13:43 +0000)] 
Introducing first tools to make opentracker multithreaded.

18 years agoIntroduce configuration dependent number of parameters in a nicer way
erdgeist [Fri, 2 Nov 2007 13:13:03 +0000 (13:13 +0000)] 
Introduce configuration dependent number of parameters in a nicer way

18 years agoThe last experiment failed. No more accept deferral
erdgeist [Fri, 2 Nov 2007 04:18:52 +0000 (04:18 +0000)] 
The last experiment failed. No more accept deferral

18 years agoTrying to accept connections only when data has come in. This is an experiment.
erdgeist [Fri, 2 Nov 2007 03:21:56 +0000 (03:21 +0000)] 
Trying to accept connections only when data has come in. This is an experiment.

18 years agoAllow for more than one admin ip address
erdgeist [Thu, 1 Nov 2007 20:13:03 +0000 (20:13 +0000)] 
Allow for more than one admin ip address

18 years agoAdd more full scrape stats
erdgeist [Wed, 31 Oct 2007 15:39:41 +0000 (15:39 +0000)] 
Add more full scrape stats

18 years agoReenabled syncing
erdgeist [Mon, 29 Oct 2007 17:22:05 +0000 (17:22 +0000)] 
Reenabled syncing

18 years agoNumber of buckets is 1024 now
erdgeist [Sat, 27 Oct 2007 14:06:07 +0000 (14:06 +0000)] 
Number of buckets is 1024 now
Clean all torrents now only cleans one bucket at a time
All torrents that are being worked upon in an announce are being cleaned on demoand
torrent's peer lists now keep extra counts for seeds and peers to speed up scrape and announce
Sync has gone for now. I will think up a new way to implement. The old one was way to slow.

18 years agoI accidently put space on the list of non-terminating characters...
erdgeist [Tue, 23 Oct 2007 00:44:22 +0000 (00:44 +0000)] 
I accidently put space on the list of non-terminating characters...

18 years agosome clients chose to accidently send negative numwants
erdgeist [Tue, 23 Oct 2007 00:39:21 +0000 (00:39 +0000)] 
some clients chose to accidently send negative numwants

18 years agoAccept clients that forget to spell announce at all...
erdgeist [Tue, 23 Oct 2007 00:30:46 +0000 (00:30 +0000)] 
Accept clients that forget to spell announce at all...

18 years agoBe really relaxed now about what to accept in values...
erdgeist [Tue, 23 Oct 2007 00:27:00 +0000 (00:27 +0000)] 
Be really relaxed now about what to accept in values...

18 years agoAllow @ in values. This seems to fix some clients
erdgeist [Tue, 23 Oct 2007 00:22:50 +0000 (00:22 +0000)] 
Allow @ in values. This seems to fix some clients

18 years agoAllow = in values. This seems to fix some clients
erdgeist [Tue, 23 Oct 2007 00:20:05 +0000 (00:20 +0000)] 
Allow = in values. This seems to fix some clients

18 years agoThis uTorrent/1600 client requires some... measures :/ I dont like the workaround.
erdgeist [Tue, 23 Oct 2007 00:01:10 +0000 (00:01 +0000)] 
This uTorrent/1600 client requires some... measures :/ I dont like the workaround.

18 years agoNow measure the time a clean_all_torrents takes
erdgeist [Mon, 22 Oct 2007 00:57:57 +0000 (00:57 +0000)] 
Now measure the time a clean_all_torrents takes

18 years agoNow measure the time a clean_all_torrents takes
erdgeist [Mon, 22 Oct 2007 00:44:11 +0000 (00:44 +0000)] 
Now measure the time a clean_all_torrents takes

18 years agoassume anything looking like GET /a to be an announce...
erdgeist [Sun, 21 Oct 2007 05:36:10 +0000 (05:36 +0000)] 
assume anything looking like GET /a to be an announce...

18 years agoLast fix was not enough to get rid off those 1600er buggers.
erdgeist [Sun, 21 Oct 2007 05:26:55 +0000 (05:26 +0000)] 
Last fix was not enough to get rid off those 1600er buggers.

18 years agoWork around the stupid utorrent 1600 bug. That'll be removed after a while.
erdgeist [Sun, 21 Oct 2007 05:15:35 +0000 (05:15 +0000)] 
Work around the stupid utorrent 1600 bug. That'll be removed after a while.

18 years agoNow the Holzhammer: GET /an is announce, GET /sc is scrape. Period.
erdgeist [Sun, 21 Oct 2007 04:55:19 +0000 (04:55 +0000)] 
Now the Holzhammer: GET /an is announce, GET /sc is scrape. Period.

18 years agonow accept more classes of announce fuckups
erdgeist [Sun, 21 Oct 2007 04:37:37 +0000 (04:37 +0000)] 
now accept more classes of announce fuckups