Commit Graph

  • 598b68561b Introduce new ot_http.c and ot_http.h erdgeist 2007-12-03 01:01:37 +0000
  • ec5421cec1 Simplify includes, add new STATS code for scrapes erdgeist 2007-12-03 01:00:58 +0000
  • fd41161407 Finally split up the opentracker.c cruft into ot_http.c, ot_accesslist.c and just leave in socket handling and parameter parsing erdgeist 2007-12-03 00:58:18 +0000
  • b0e4ebbbf2 Simplify includes erdgeist 2007-12-03 00:52:05 +0000
  • 89f291566b Drop ot_{byte,word,dword} and use uint{8,16,32}_t erdgeist 2007-12-03 00:50:33 +0000
  • 5d18bf211c Move blessed IP handling code to accesslist objects erdgeist 2007-12-03 00:48:48 +0000
  • afea7d5ee2 Move http handling to its own sources erdgeist 2007-12-03 00:47:09 +0000
  • 0a1cc18358 add scrape stats and small correction to udp stats denis 2007-12-02 03:58:36 +0000
  • ae1863f232 Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore. erdgeist 2007-11-29 15:43:30 +0000
  • f697fa3dda Fixed a bug where we forgot to stamp torrents that are not new. erdgeist 2007-11-28 22:52:35 +0000
  • 89056078cb XCode-Project. Note: This is PPC only, x86 must be enabled erdgeist 2007-11-28 22:08:36 +0000
  • 9d86780a74 Fixed call to deflate() with wrong flag in endgame erdgeist 2007-11-25 18:59:46 +0000
  • 09a662dfce Missed the second strnstr... fixed. erdgeist 2007-11-24 20:34:41 +0000
  • e3103d30f7 Debug settings for chunk size were _way_ to low for production erdgeist 2007-11-24 11:09:18 +0000
  • 8f7ef4b2ea Completely rewritten fullscrape code. All assumptions on how deflate() works were a little naive. Needs more error checking and testing. erdgeist 2007-11-23 18:15:38 +0000
  • 54560fdcd3 strnstr is not part of what posix conform libc has to offer... replace it by strstr after cutting off the last byte erdgeist 2007-11-23 18:14:22 +0000
  • afcef0537c Reflect changes in iovec code in sync code erdgeist 2007-11-23 18:13:11 +0000
  • 616302c139 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 2007-11-23 18:12:50 +0000
  • b1c8723609 Introducing compression for fullscrapes and tpbs stats erdgeist 2007-11-22 04:39:08 +0000
  • 4bf12406fb Introducing compression task flags erdgeist 2007-11-22 04:38:25 +0000
  • c09ad325cc Make allowing gzip a Makefile tunable erdgeist 2007-11-22 04:37:41 +0000
  • c5e5569770 Fixing mmap allocation went to ot_mutex.c. Clean all torrents moved to ot_clean.c. Also make static buffers static erdgeist 2007-11-21 01:57:39 +0000
  • acaf7ae2b3 Fixing mmap allocation went to ot_mutex.c. Also startup new sync thread. erdgeist 2007-11-21 01:57:03 +0000
  • b73b19f8f4 Formatting erdgeist 2007-11-21 01:56:14 +0000
  • 8bee224dc0 static bufs are not shared anymore, even if that means more memory. erdgeist 2007-11-21 01:55:59 +0000
  • 9e45802946 Reflect changes in multithreaded sync model in header file. erdgeist 2007-11-21 01:55:42 +0000
  • 4072f162b4 Make sync generation multithreaded. erdgeist 2007-11-21 01:55:15 +0000
  • e65a41d000 Split sync in and sync out into different tasks erdgeist 2007-11-21 01:54:52 +0000
  • a85798279b Documentation fix erdgeist 2007-11-21 01:54:31 +0000
  • e65ac51a28 Last user of sendmmapdata is gone. Purge it. erdgeist 2007-11-21 01:53:17 +0000
  • e9d49af9fa Tested for a too strict condition, we do need the correct tasktype AND an empty taskid, not the other way around erdgeist 2007-11-20 02:55:13 +0000
  • 74a5afbe82 Make clean_single_torrent return much faster, if nothing is to do erdgeist 2007-11-20 02:22:21 +0000
  • cf8d4fae1d Sockets do not inherit non-blocking state in libowfat... erdgeist 2007-11-20 02:21:53 +0000
  • 6d09527ed8 Fullscrape now cleanly finalizes its thread erdgeist 2007-11-19 21:14:09 +0000
  • 49ba269b9d Cleanup now moved to its own thread, too erdgeist 2007-11-19 21:10:53 +0000
  • 3528752c7b Missing include for htonl() erdgeist 2007-11-19 01:02:10 +0000
  • 8d5f221785 Full scrapes are now being delivered in different modes, as triggered by stats&mode=tpbs erdgeist 2007-11-18 16:47:37 +0000
  • dab9055590 Reflect new task-classes model in fullscrape worker erdgeist 2007-11-18 16:46:48 +0000
  • 9cd6e355be Reflect new task-classes model in mutex queue erdgeist 2007-11-18 16:46:34 +0000
  • 44a674c9df Stats are tasks now, they also come in classes. erdgeist 2007-11-18 16:46:01 +0000
  • edc73298f8 Stats are tasks now. erdgeist 2007-11-18 16:45:34 +0000
  • 4735b99db2 Forgot to specify -pthread when using threads erdgeist 2007-11-16 20:19:15 +0000
  • 6458a37d82 introducing multithreaded full scrape creation. erdgeist 2007-11-16 00:23:42 +0000
  • d3963803ca tasklist code now tested in a multi threaded environment. erdgeist 2007-11-15 03:35:03 +0000
  • e476006019 Move dead socket handling from handle_(read,write,timedout) into its own function handle_dead erdgeist 2007-11-14 13:06:34 +0000
  • cf26f2ab23 Introducing the workqueue erdgeist 2007-11-14 12:59:58 +0000
  • 91a3a3b342 Increase full scrape chunk size to 1/2meg erdgeist 2007-11-13 00:33:55 +0000
  • 17b2ce1082 Rather embarrasing arithmetic fuckup erdgeist 2007-11-13 00:30:17 +0000
  • 04214491ee missing include erdgeist 2007-11-13 00:01:24 +0000
  • 3eb88c5cc6 Fix typos in documenation erdgeist 2007-11-12 17:26:01 +0000
  • 71e9ec887c Some in code documentation to make Denis happy :) erdgeist 2007-11-12 16:54:21 +0000
  • 697e239027 Moving accesslist stuff to its own object erdgeist 2007-11-12 04:39:53 +0000
  • 0547e2ade2 Return at end of line missing erdgeist 2007-11-12 01:45:33 +0000
  • a8993b8eea Moving full scrapes to iovec-creating thread safe function erdgeist 2007-11-12 01:41:57 +0000
  • ed0b67020a Dokumentation erdgeist 2007-11-12 01:40:00 +0000
  • bb80834bf1 Reflect changes in ot_iovec and ot_fullscrape in Makefile erdgeist 2007-11-12 01:39:18 +0000
  • a0d12f9ab5 Full scrape moves to its own object erdgeist 2007-11-12 01:38:54 +0000
  • 31f5b923eb Fullscrape is thread safe now. erdgeist 2007-11-12 01:38:08 +0000
  • 54bdad552e New large chunk allocation code erdgeist 2007-11-12 01:37:47 +0000
  • 5da91fd8f2 MUST NOT enable features in CVSpico Makefile bad coder erdgeist 2007-11-06 18:02:29 +0000
  • 927ac023ce The expensive DMEM stats is gone. No need for it, too much potential to DOS. erdgeist 2007-11-06 18:02:03 +0000
  • ad5fa66737 Missing newline warning, missing include fixed erdgeist 2007-11-06 17:53:45 +0000
  • 49c4bbb47f Have an own file handle udp requests. erdgeist 2007-11-06 17:51:48 +0000
  • 41120f6a0d Move stats out of opentracker.c, also have an own file handle udp requests. erdgeist 2007-11-06 17:50:41 +0000
  • 7e8d7fb259 Thank you, GNU for fucking up pmake :) erdgeist 2007-11-06 15:18:18 +0000
  • 2e62624bc4 Makefile now builds each object on its own. Thus it can be build with -j2 and higher erdgeist 2007-11-06 12:44:53 +0000
  • 4ccbc9bd0e Fixed a forgotten unlock and a messed up string pointer erdgeist 2007-11-06 12:20:32 +0000
  • 5cca3fe20a Fixed ntohl include erdgeist 2007-11-06 12:04:05 +0000
  • bbbaa0e09d Fixed warnings about newlines at end of file erdgeist 2007-11-06 12:03:11 +0000
  • 8900cc0dd9 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 2007-11-06 11:58:32 +0000
  • 5749f1d8fe Rename source files in an ot_ fashion erdgeist 2007-11-06 10:41:14 +0000
  • 785a9f13bd Make to_hex thread safe. Get rid off old /24 counting code. Protect more bucket accesses by locks. erdgeist 2007-11-06 03:21:03 +0000
  • 4a68f8692b We do now use the tools for locking buckets in order to prepare MT code erdgeist 2007-11-06 01:29:57 +0000
  • a859ae78e5 Cleaned up stats return format. Also reflect APPI changes due to MT code in trackerlogic.{c,h} erdgeist 2007-11-06 01:28:40 +0000
  • 3bf7878833 Locks tested. Got the test routine wrong -> Fixed. erdgeist 2007-11-06 01:25:36 +0000
  • a6b8311812 Introducing first tools to make opentracker multithreaded. erdgeist 2007-11-03 13:43:05 +0000
  • 8acc0ff48f Introduce configuration dependent number of parameters in a nicer way erdgeist 2007-11-02 13:13:03 +0000
  • 5aa41e9d82 The last experiment failed. No more accept deferral erdgeist 2007-11-02 04:18:52 +0000
  • d276addb7a Trying to accept connections only when data has come in. This is an experiment. erdgeist 2007-11-02 03:21:56 +0000
  • 853dc33be2 Allow for more than one admin ip address erdgeist 2007-11-01 20:13:03 +0000
  • dc8e889797 Add more full scrape stats erdgeist 2007-10-31 15:39:41 +0000
  • 31eada6168 Reenabled syncing erdgeist 2007-10-29 17:22:05 +0000
  • b19bbd6a85 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 2007-10-27 14:06:07 +0000
  • 72c72bb3a1 I accidently put space on the list of non-terminating characters... erdgeist 2007-10-23 00:44:22 +0000
  • ab9246618b some clients chose to accidently send negative numwants erdgeist 2007-10-23 00:39:21 +0000
  • 1fce733ea0 Accept clients that forget to spell announce at all... erdgeist 2007-10-23 00:30:46 +0000
  • 3b042b838a Be really relaxed now about what to accept in values... erdgeist 2007-10-23 00:27:00 +0000
  • 286c17e7a9 Allow @ in values. This seems to fix some clients erdgeist 2007-10-23 00:22:50 +0000
  • 23e484e13a Allow = in values. This seems to fix some clients erdgeist 2007-10-23 00:20:05 +0000
  • 69c6e2bc99 This uTorrent/1600 client requires some... measures :/ I dont like the workaround. erdgeist 2007-10-23 00:01:10 +0000
  • 68a104ad2a Now measure the time a clean_all_torrents takes erdgeist 2007-10-22 00:57:57 +0000
  • ac57c3d5d6 Now measure the time a clean_all_torrents takes erdgeist 2007-10-22 00:44:11 +0000
  • 6876e16242 assume anything looking like GET /a to be an announce... erdgeist 2007-10-21 05:36:10 +0000
  • 3aa286d9b8 Last fix was not enough to get rid off those 1600er buggers. erdgeist 2007-10-21 05:26:55 +0000
  • 00972c6c68 Work around the stupid utorrent 1600 bug. That'll be removed after a while. erdgeist 2007-10-21 05:15:35 +0000
  • 0de8b53fdd Now the Holzhammer: GET /an is announce, GET /sc is scrape. Period. erdgeist 2007-10-21 04:55:19 +0000
  • 6b2307015f now accept more classes of announce fuckups erdgeist 2007-10-21 04:37:37 +0000
  • 42210450f3 Just one more typo erdgeist 2007-10-21 04:23:39 +0000
  • 2cbb480865 Just one more typo erdgeist 2007-10-21 04:20:42 +0000
  • 886421d2d5 Work around more typos that might end up in torrent files as announce urls erdgeist 2007-10-21 04:13:53 +0000