]>
git.ipfire.org Git - thirdparty/opentracker.git/log
erdgeist [Mon, 3 Dec 2007 01:09:25 +0000 (01:09 +0000)]
Reflect changes for ot_http.* in project file
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
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
erdgeist [Mon, 3 Dec 2007 01:01:37 +0000 (01:01 +0000)]
Introduce new ot_http.c and ot_http.h
erdgeist [Mon, 3 Dec 2007 01:00:58 +0000 (01:00 +0000)]
Simplify includes, add new STATS code for scrapes
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
erdgeist [Mon, 3 Dec 2007 00:52:05 +0000 (00:52 +0000)]
Simplify includes
erdgeist [Mon, 3 Dec 2007 00:50:33 +0000 (00:50 +0000)]
Drop ot_{byte,word,dword} and use uint{8,16,32}_t
erdgeist [Mon, 3 Dec 2007 00:48:48 +0000 (00:48 +0000)]
Move blessed IP handling code to accesslist objects
erdgeist [Mon, 3 Dec 2007 00:47:09 +0000 (00:47 +0000)]
Move http handling to its own sources
denis [Sun, 2 Dec 2007 03:58:36 +0000 (03:58 +0000)]
add scrape stats and small correction to udp stats
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.
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.
erdgeist [Wed, 28 Nov 2007 22:08:36 +0000 (22:08 +0000)]
XCode-Project. Note: This is PPC only, x86 must be enabled
erdgeist [Sun, 25 Nov 2007 18:59:46 +0000 (18:59 +0000)]
Fixed call to deflate() with wrong flag in endgame
erdgeist [Sat, 24 Nov 2007 20:34:41 +0000 (20:34 +0000)]
Missed the second strnstr... fixed.
erdgeist [Sat, 24 Nov 2007 11:09:18 +0000 (11:09 +0000)]
Debug settings for chunk size were _way_ to low for production
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.
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
erdgeist [Fri, 23 Nov 2007 18:13:11 +0000 (18:13 +0000)]
Reflect changes in iovec code in sync code
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
erdgeist [Thu, 22 Nov 2007 04:39:08 +0000 (04:39 +0000)]
Introducing compression for fullscrapes and tpbs stats
erdgeist [Thu, 22 Nov 2007 04:38:25 +0000 (04:38 +0000)]
Introducing compression task flags
erdgeist [Thu, 22 Nov 2007 04:37:41 +0000 (04:37 +0000)]
Make allowing gzip a Makefile tunable
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
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.
erdgeist [Wed, 21 Nov 2007 01:56:14 +0000 (01:56 +0000)]
Formatting
erdgeist [Wed, 21 Nov 2007 01:55:59 +0000 (01:55 +0000)]
static bufs are not shared anymore, even if that means more memory.
erdgeist [Wed, 21 Nov 2007 01:55:42 +0000 (01:55 +0000)]
Reflect changes in multithreaded sync model in header file.
erdgeist [Wed, 21 Nov 2007 01:55:15 +0000 (01:55 +0000)]
Make sync generation multithreaded.
erdgeist [Wed, 21 Nov 2007 01:54:52 +0000 (01:54 +0000)]
Split sync in and sync out into different tasks
erdgeist [Wed, 21 Nov 2007 01:54:31 +0000 (01:54 +0000)]
Documentation fix
erdgeist [Wed, 21 Nov 2007 01:53:17 +0000 (01:53 +0000)]
Last user of sendmmapdata is gone. Purge it.
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
erdgeist [Tue, 20 Nov 2007 02:22:21 +0000 (02:22 +0000)]
Make clean_single_torrent return much faster, if nothing is to do
erdgeist [Tue, 20 Nov 2007 02:21:53 +0000 (02:21 +0000)]
Sockets do not inherit non-blocking state in libowfat...
erdgeist [Mon, 19 Nov 2007 21:14:09 +0000 (21:14 +0000)]
Fullscrape now cleanly finalizes its thread
erdgeist [Mon, 19 Nov 2007 21:10:53 +0000 (21:10 +0000)]
Cleanup now moved to its own thread, too
erdgeist [Mon, 19 Nov 2007 01:02:10 +0000 (01:02 +0000)]
Missing include for htonl()
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
erdgeist [Sun, 18 Nov 2007 16:46:48 +0000 (16:46 +0000)]
Reflect new task-classes model in fullscrape worker
erdgeist [Sun, 18 Nov 2007 16:46:34 +0000 (16:46 +0000)]
Reflect new task-classes model in mutex queue
erdgeist [Sun, 18 Nov 2007 16:46:01 +0000 (16:46 +0000)]
Stats are tasks now, they also come in classes.
erdgeist [Sun, 18 Nov 2007 16:45:34 +0000 (16:45 +0000)]
Stats are tasks now.
erdgeist [Fri, 16 Nov 2007 20:19:15 +0000 (20:19 +0000)]
Forgot to specify -pthread when using threads
erdgeist [Fri, 16 Nov 2007 00:23:42 +0000 (00:23 +0000)]
introducing multithreaded full scrape creation.
erdgeist [Thu, 15 Nov 2007 03:35:03 +0000 (03:35 +0000)]
tasklist code now tested in a multi threaded environment.
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
erdgeist [Wed, 14 Nov 2007 12:59:58 +0000 (12:59 +0000)]
Introducing the workqueue
erdgeist [Tue, 13 Nov 2007 00:33:55 +0000 (00:33 +0000)]
Increase full scrape chunk size to 1/2meg
erdgeist [Tue, 13 Nov 2007 00:30:17 +0000 (00:30 +0000)]
Rather embarrasing arithmetic fuckup
erdgeist [Tue, 13 Nov 2007 00:01:24 +0000 (00:01 +0000)]
missing include
erdgeist [Mon, 12 Nov 2007 17:26:01 +0000 (17:26 +0000)]
Fix typos in documenation
erdgeist [Mon, 12 Nov 2007 16:54:21 +0000 (16:54 +0000)]
Some in code documentation to make Denis happy :)
erdgeist [Mon, 12 Nov 2007 04:39:53 +0000 (04:39 +0000)]
Moving accesslist stuff to its own object
erdgeist [Mon, 12 Nov 2007 01:45:33 +0000 (01:45 +0000)]
Return at end of line missing
erdgeist [Mon, 12 Nov 2007 01:41:57 +0000 (01:41 +0000)]
Moving full scrapes to iovec-creating thread safe function
erdgeist [Mon, 12 Nov 2007 01:40:00 +0000 (01:40 +0000)]
Dokumentation
erdgeist [Mon, 12 Nov 2007 01:39:18 +0000 (01:39 +0000)]
Reflect changes in ot_iovec and ot_fullscrape in Makefile
erdgeist [Mon, 12 Nov 2007 01:38:54 +0000 (01:38 +0000)]
Full scrape moves to its own object
erdgeist [Mon, 12 Nov 2007 01:38:08 +0000 (01:38 +0000)]
Fullscrape is thread safe now.
erdgeist [Mon, 12 Nov 2007 01:37:47 +0000 (01:37 +0000)]
New large chunk allocation code
erdgeist [Tue, 6 Nov 2007 18:02:29 +0000 (18:02 +0000)]
MUST NOT enable features in CVSpico Makefile bad coder
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.
erdgeist [Tue, 6 Nov 2007 17:53:45 +0000 (17:53 +0000)]
Missing newline warning, missing include fixed
erdgeist [Tue, 6 Nov 2007 17:51:48 +0000 (17:51 +0000)]
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.
erdgeist [Tue, 6 Nov 2007 15:18:18 +0000 (15:18 +0000)]
Thank you, GNU for fucking up pmake :)
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
erdgeist [Tue, 6 Nov 2007 12:20:32 +0000 (12:20 +0000)]
Fixed a forgotten unlock and a messed up string pointer
erdgeist [Tue, 6 Nov 2007 12:04:05 +0000 (12:04 +0000)]
Fixed ntohl include
erdgeist [Tue, 6 Nov 2007 12:03:11 +0000 (12:03 +0000)]
Fixed warnings about newlines at end of file
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.
erdgeist [Tue, 6 Nov 2007 10:41:14 +0000 (10:41 +0000)]
Rename source files in an ot_ fashion
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.
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
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}
erdgeist [Tue, 6 Nov 2007 01:25:36 +0000 (01:25 +0000)]
Locks tested. Got the test routine wrong -> Fixed.
erdgeist [Sat, 3 Nov 2007 13:43:05 +0000 (13:43 +0000)]
Introducing first tools to make opentracker multithreaded.
erdgeist [Fri, 2 Nov 2007 13:13:03 +0000 (13:13 +0000)]
Introduce configuration dependent number of parameters in a nicer way
erdgeist [Fri, 2 Nov 2007 04:18:52 +0000 (04:18 +0000)]
The last experiment failed. No more accept deferral
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.
erdgeist [Thu, 1 Nov 2007 20:13:03 +0000 (20:13 +0000)]
Allow for more than one admin ip address
erdgeist [Wed, 31 Oct 2007 15:39:41 +0000 (15:39 +0000)]
Add more full scrape stats
erdgeist [Mon, 29 Oct 2007 17:22:05 +0000 (17:22 +0000)]
Reenabled syncing
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.
erdgeist [Tue, 23 Oct 2007 00:44:22 +0000 (00:44 +0000)]
I accidently put space on the list of non-terminating characters...
erdgeist [Tue, 23 Oct 2007 00:39:21 +0000 (00:39 +0000)]
some clients chose to accidently send negative numwants
erdgeist [Tue, 23 Oct 2007 00:30:46 +0000 (00:30 +0000)]
Accept clients that forget to spell announce at all...
erdgeist [Tue, 23 Oct 2007 00:27:00 +0000 (00:27 +0000)]
Be really relaxed now about what to accept in values...
erdgeist [Tue, 23 Oct 2007 00:22:50 +0000 (00:22 +0000)]
Allow @ 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
erdgeist [Tue, 23 Oct 2007 00:01:10 +0000 (00:01 +0000)]
This uTorrent/1600 client requires some... measures :/ I dont like the workaround.
erdgeist [Mon, 22 Oct 2007 00:57:57 +0000 (00:57 +0000)]
Now 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
erdgeist [Sun, 21 Oct 2007 05:36:10 +0000 (05:36 +0000)]
assume anything looking like GET /a to be an announce...
erdgeist [Sun, 21 Oct 2007 05:26:55 +0000 (05:26 +0000)]
Last fix was not enough to get rid off those 1600er buggers.
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.
erdgeist [Sun, 21 Oct 2007 04:55:19 +0000 (04:55 +0000)]
Now the Holzhammer: GET /an is announce, GET /sc is scrape. Period.
erdgeist [Sun, 21 Oct 2007 04:37:37 +0000 (04:37 +0000)]
now accept more classes of announce fuckups