Commit Graph

  • c6947b160f Handle program end more politely erdgeist 2008-12-07 03:50:51 +0000
  • ad8c9ee1ef Avoid cast warning on 64bit machines erdgeist 2008-12-06 20:21:15 +0000
  • 08c7162783 Renamed OT_FLAG to OT_PEERFLAG to make code easier to read Introduced READ16/32 and WRITE16/32 makros to abstract loading/storing from unaligned addresses away on cpu's that can actually load/store everywhere Removed all unnecessary memmoves, especially where it only moved 6 bytes in inner loop. I replaced them with WRITE16/32(READ16/32()) makros erdgeist 2008-12-06 18:46:00 +0000
  • a4ed31d517 Format for full scrapes was not parsed correctly. erdgeist 2008-12-06 16:57:10 +0000
  • 256f2c6f98 Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT erdgeist 2008-12-06 00:41:12 +0000
  • 258cae746f Forgot one define READ32 erdgeist 2008-12-06 00:40:36 +0000
  • 5fb58458f6 Tidy up unnecessary includes erdgeist 2008-12-05 21:28:40 +0000
  • 08d9c342d4 Add specialized vector functions to handle peers in sorted lists Assume that compare_size is a mulptiple of 4 in all non-specialized cases and load int32_t to compare. erdgeist 2008-12-05 20:36:00 +0000
  • 23be5c4d55 Let's give a damn about syntactical correctness of peer's http strings. It's too expensive on both sides to check and to reject. erdgeist 2008-12-05 20:34:24 +0000
  • 7120799379 Now enforce that peers do not come back before our interval by giving out a 'min interval' in responses. erdgeist 2008-12-03 23:25:45 +0000
  • 405ef01dd3 printf is buffered, write not. Use printf for all. erdgeist 2008-12-03 20:49:52 +0000
  • 76da780220 fix size of 0 issue erdgeist 2008-12-03 20:49:25 +0000
  • eda3ae7f91 Add debug code to spot peers that come back too early erdgeist 2008-12-03 20:40:50 +0000
  • 2c7c10138b Add debug code to store peer id erdgeist 2008-12-03 20:40:25 +0000
  • e2199cc504 New peer flag to see, whether peer came from announce or sync erdgeist 2008-12-03 20:39:23 +0000
  • 0523b429ae Aid spotting bad clients... erdgeist 2008-12-03 20:38:25 +0000
  • bfbb5ecb44 stats fuer sync denis 2008-12-03 20:36:16 +0000
  • 566e8267e1 Live Sync for peers that do not come back too early. erdgeist 2008-12-01 17:56:53 +0000
  • 334c6e4bbb The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. erdgeist 2008-11-28 22:21:10 +0000
  • 35dbfb637b This commit was manufactured by cvs2svn to create tag 'OPENTRACKER_WITH_BATCHSYNC'. OPENTRACKER_WITH_BATCHSYNC cvs2git 2008-11-03 10:34:55 +0000
  • ff6c0339c1 Bugfix: Number of Pools << Number of Buckets erdgeist 2008-11-03 10:34:54 +0000
  • 272abf8430 Try to use much less memory and hope for speedups erdgeist 2008-11-03 01:52:51 +0000
  • 18b6e9b212 Spread the amount of time spent in cleanup about 2 minutes erdgeist 2008-11-03 01:52:23 +0000
  • 9c0b23e28d Add stats about when peers renew their announces. erdgeist 2008-11-03 01:52:02 +0000
  • 3f5468672b Never let vectors shrink below their minimal capacity erdgeist 2008-11-03 01:28:10 +0000
  • 933f8d9b52 Formatting erdgeist 2008-11-03 01:27:03 +0000
  • bb1c5d2805 Add stats about when peers renew their announces. erdgeist 2008-11-03 01:26:38 +0000
  • daaee855b2 Whitespace fixes erdgeist 2008-10-28 01:27:22 +0000
  • 55d03b9a1b fixed typo denis 2008-10-28 00:30:08 +0000
  • 39ed6a058b Fix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute. erdgeist 2008-10-28 00:24:14 +0000
  • 511a92e321 First vector has size 1, not 0 in debug vector erdgeist 2008-10-28 00:23:32 +0000
  • 529919ac83 Fix: blacklist and whitelist config option parsing code was the wrong way erdgeist 2008-10-26 12:01:58 +0000
  • c7bc370b27 Document WANT_RESTRICT_STATS in sample config file erdgeist 2008-10-24 00:06:35 +0000
  • 06b503a11f Enable stats restricting config file option erdgeist 2008-10-24 00:04:02 +0000
  • 80fd4dc738 Tidy up stats task. erdgeist 2008-10-24 00:03:18 +0000
  • e89a8aaf58 Move more complicated stats code to its own thread erdgeist 2008-10-24 00:01:42 +0000
  • 97980de3d9 Introduce vector debuggin code and stats restriction options erdgeist 2008-10-24 00:00:55 +0000
  • cbd39af72d Add code to debug vector code performance. erdgeist 2008-10-23 23:58:18 +0000
  • 41a1d2d025 fixed the length denis 2008-10-22 21:28:00 +0000
  • 4b31dce3b3 release pools only after all other services have been stopped. erdgeist 2008-10-17 15:21:47 +0000
  • f4283be677 Fix debug output for addresses >127 erdgeist 2008-10-17 15:21:11 +0000
  • 0deb06d544 Reverting last commit. Debug effect not seen. erdgeist 2008-10-07 23:53:29 +0000
  • 0f271421c3 Add config option for naming threads erdgeist 2008-10-07 23:45:26 +0000
  • ec0affa97d allow threads to be named. not posix compliant. erdgeist 2008-10-07 23:44:59 +0000
  • 1c3c5d57da only sync when the peer is actually added to the first pool. this saves ca. 40% syncdata denis 2008-10-07 02:09:38 +0000
  • 719858548d Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP erdgeist 2008-10-06 20:18:42 +0000
  • 0dafc2ab26 Bugfix: overwrote bencoded data with udp reply data when sending an event=stopped erdgeist 2008-10-06 19:43:52 +0000
  • fae73214af A new config file option to connect to tcp and udp at once has been added. Also some clarifications have been put into the sample config file. erdgeist 2008-10-06 11:42:03 +0000
  • 07dbc87986 Futher clean up config file documentation erdgeist 2008-10-06 03:59:25 +0000
  • b12077ad3a Add some explanations about the implicite :6969 and the ancient tracker sync format erdgeist 2008-10-06 03:46:42 +0000
  • bca01f4cde document the new config file feature. erdgeist 2008-10-06 03:42:51 +0000
  • 206c74ee2f Make ot_try_bind local again. erdgeist 2008-10-06 02:06:23 +0000
  • 465cc2ecdf Live sync is now handled in its own thread. Therefore it now creates and handles its own sockets. erdgeist 2008-10-06 02:05:53 +0000
  • 17724dde29 Make ot_try_bind local again. Also dont handle multi cast udp packets in opentracker.c, ot_livesync.c does it by itself. erdgeist 2008-10-06 02:03:08 +0000
  • 01ea1648d8 Cosmetics erdgeist 2008-10-06 02:02:12 +0000
  • a5917ab6e0 Add _DEBUG flag for debug builds. This flag enables some diagnostic messages. erdgeist 2008-10-05 12:31:14 +0000
  • 68b1b8409b Make scan_ip4_port API more sane, add debug output, be less tolerant when syntax checking command line options erdgeist 2008-10-05 12:30:06 +0000
  • 01c9c3695c Enabled debug output, fixed blessed ip permissions erdgeist 2008-10-05 12:28:57 +0000
  • eac898afd8 white space in comment erdgeist 2008-10-05 12:28:12 +0000
  • e534db03c6 added live sync code added a config file parser added tracker id changed WANT_CLOSED_TRACKER and WANT_BLACKLIST into WANT_ACCESS_WHITE and WANT_ACCESS_BLACK changed WANT_TRACKER_SYNC to WANT_SYNC_BATCH and added WANT_SYNC_LIVE added an option to switch off fullscrapes erdgeist 2008-10-04 05:40:51 +0000
  • 8cbfc8602c Cleaning up Build time options. Also add ot_livesync.[ch] erdgeist 2008-10-03 21:35:03 +0000
  • 00c8a89efe Live syncing between multiple tracker instances via udp multicast. erdgeist 2008-10-03 21:33:53 +0000
  • cee13cbebb Refine config syntax. Testing code... erdgeist 2008-10-03 18:30:28 +0000
  • fb50f0fade Add a config file framework to opentracker erdgeist 2008-09-23 22:59:54 +0000
  • b637fdcdf3 add missing include on linux denis 2008-09-17 02:49:23 +0000
  • a16b067e60 now checking for the correct connection-id we gave out denis 2008-09-15 00:55:17 +0000
  • 3655976223 use a more reasonable compression level denis 2008-09-14 17:11:19 +0000
  • c71505fd9a send out the total downloaders for a announce response denis 2008-08-30 00:05:44 +0000
  • 96243526c4 Typo in Makefile, thanks to Steffen. erdgeist 2008-05-07 07:44:15 +0000
  • cadf1803e1 Fix endianess issues, also obey number of peers requested in udp announces erdgeist 2008-02-05 01:55:06 +0000
  • 90184649d0 Embarrasing counter direction bug :) erdgeist 2008-01-25 17:22:55 +0000
  • 572df73443 Forgot to #ifdef some code only interesting when doing live network logging. erdgeist 2008-01-17 15:34:50 +0000
  • 408c5f98ed Introducing live busy network detection. erdgeist 2008-01-17 10:46:25 +0000
  • 7050e027d3 sys/param.h needed under openbsd erdgeist 2008-01-17 07:52:17 +0000
  • 57387588ed Enable revision watching from the internet erdgeist 2007-12-20 06:04:15 +0000
  • eadb0b8436 But keep Makefile in the libowfat is at ../libowfat state. erdgeist 2007-12-20 06:01:16 +0000
  • c28cf398fd Introduce some kind of versioning erdgeist 2007-12-20 05:59:34 +0000
  • d9ed6c22bd Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting. erdgeist 2007-12-17 18:55:38 +0000
  • 0cfd1e575d Add documentation to our uri scanner erdgeist 2007-12-17 13:23:27 +0000
  • ac078bccf2 too many wrong udp requests scroll too much :) disable logging for now erdgeist 2007-12-15 17:39:38 +0000
  • 2f4246396e more udp debugging erdgeist 2007-12-15 17:35:27 +0000
  • cc47504af2 Do not lock out well behaving clients erdgeist 2007-12-15 17:32:44 +0000
  • cac5a31d93 more udp debugging erdgeist 2007-12-15 17:21:22 +0000
  • 8d00b1e039 Prepare udp connection id generation and checking erdgeist 2007-12-15 17:11:43 +0000
  • 65c3b24045 add support for more stats: denis 2007-12-14 22:01:14 +0000
  • c2cbe1dc27 A simple script that fills up opentracker with some peers, if -DWANT_IP_FROM_QUERY_STRING is specifierd erdgeist 2007-12-11 23:34:36 +0000
  • 19cc9ba882 add mrtgstyle stats for number of torrents denis 2007-12-08 18:47:16 +0000
  • bee364a6f3 / can now be redirected to any URL erdgeist 2007-12-05 01:40:24 +0000
  • 31d876d53d Count invalid requests erdgeist 2007-12-04 23:57:29 +0000
  • a146a32885 Be a little more verbose about why increases fail erdgeist 2007-12-04 23:11:05 +0000
  • 0bfab763d8 print ip addresses from unsigned chars erdgeist 2007-12-04 23:04:24 +0000
  • 362a0e052a [19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel! denis 2007-12-04 18:29:34 +0000
  • 828831bbb6 Dont need arpa/inet erdgeist 2007-12-03 01:21:34 +0000
  • f6d1a67966 Avoid warnings about unused variables without certain defines erdgeist 2007-12-03 01:21:12 +0000
  • bb9ffc7e61 Fix a broken merge result erdgeist 2007-12-03 01:20:44 +0000
  • d3b8375080 Fix include for iovecs erdgeist 2007-12-03 01:20:27 +0000
  • dafe5c9f6c add newline to end of file erdgeist 2007-12-03 01:12:25 +0000
  • 0fe76f811b Reflect changes for ot_http.* in project file erdgeist 2007-12-03 01:09:25 +0000
  • 848a06a706 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes erdgeist 2007-12-03 01:07:41 +0000
  • 9bc0d99c62 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 2007-12-03 01:05:32 +0000