Commit Graph

  • 9ffe557e6f fixed line breaks in log Dirk Engling 2007-10-15 18:03:13 +0000
  • 1815dd3e53 Log all expansive operations to stderr Dirk Engling 2007-10-15 18:01:38 +0000
  • 854c21cece Most open trackers do not have the problem of not being called often enough.. so do not introduce an extra timeout when waiting for activity. That also removes one of the last extraneous gettimeofday calls Dirk Engling 2007-10-13 17:58:20 +0000
  • 7a3ddcfbce since gettimeofday is rather expansive, we do only fetch time once in a 5 second period, when we are delivered a SIGALRM. Dirk Engling 2007-10-13 17:40:37 +0000
  • b3f834951c make 64bit safe Dirk Engling 2007-10-12 21:57:10 +0000
  • 332a481e47 There is a pool leak somewhere... try to find it Dirk Engling 2007-10-06 19:17:21 +0000
  • 943b296f46 fixed some stat output Denis Ahrens 2007-10-03 22:57:35 +0000
  • 68d87742fa Two more bugs in Makefile. Maybe I learn it one day Dirk Engling 2007-10-01 00:31:59 +0000
  • 3e71f32d26 Revert debug option in Makefile Dirk Engling 2007-10-01 00:29:46 +0000
  • c6d90b150d Makefile now runs under bsdmake and gnumake again Dirk Engling 2007-10-01 00:27:26 +0000
  • 4319defc9c New stats for s24s code, this is debug, do not use in real world Dirk Engling 2007-09-26 16:49:13 +0000
  • 976987d4a3 fixed a small bug with 0 torrents and a cosmetical one Denis Ahrens 2007-09-21 22:24:22 +0000
  • 6bad28c924 Makefile defaults to an _open_ tracker again. Dirk Engling 2007-09-10 02:43:30 +0000
  • c863c6e108 An announce with event=stopped now returns correct number of leechers and seeders. In TCP and UDP. Dirk Engling 2007-09-10 02:43:10 +0000
  • 1911aa7328 Fixed the inverse interpretation of black/white listing Dirk Engling 2007-08-18 12:51:13 +0000
  • d58db69d9a Added whitelisting to reimplement the WANT_CLOSED_TRACKER functionality Dirk Engling 2007-08-18 09:56:22 +0000
  • 42433aef94 Under Linux one gets SIG_ALRMs from time to time when using epoll. Ignore those. Dirk Engling 2007-08-18 09:29:39 +0000
  • 7043b69e49 Sort of addressed a concorrency issue when receiving mutliple SIG_HUPs Dirk Engling 2007-08-11 13:39:36 +0000
  • 7abbe1294b off by -1... or so, strange error class Dirk Engling 2007-07-22 18:23:00 +0000
  • 61ed0bd785 Fix endianess issue in /24 stats code Dirk Engling 2007-07-22 16:33:16 +0000
  • 6382386416 some subnet stats... still ugly and untested. Dirk Engling 2007-07-22 16:17:26 +0000
  • 8ef59b0351 * fixed "nobody " -> "nobody" fuckup when getpwnam-ing * implemented basic blacklisting: ** the file specified with -b <BLACKLIST> is read and added to a blacklist vector ** if an announce hits a torrent in that blacklist vector, add_peer_to_torrent fails ** sending a SIGHUP to the program forces it to reread the blacklists ** the server returns with a 500, which is not exactly nice but does the job for now ** an adaequat "failure reason:" should be delivered... TODO Dirk Engling 2007-07-22 00:40:10 +0000
  • bd1562f8bd Clean up pw-structs Dirk Engling 2007-07-20 10:20:02 +0000
  • f8c2f994ff add comment for udp spec location Denis Ahrens 2007-06-24 01:53:30 +0000
  • 4f173a3334 check for mafic udp id Denis Ahrens 2007-06-06 16:45:48 +0000
  • 7cebcfb54e need more space for data because we reach this limit easily now Denis Ahrens 2007-05-20 14:35:22 +0000
  • 03f92a0051 fixed an overflow in ot_overall_* variables Denis Ahrens 2007-05-04 23:08:38 +0000
  • aed3630af9 fix a warning Denis Ahrens 2007-04-10 04:00:49 +0000
  • 6d290ff767 Clean up help and usage Dirk Engling 2007-04-07 00:24:17 +0000
  • 20635e3544 New Makefile, incorporated some patches sent to me by Robin H. Johnson Dirk Engling 2007-04-03 11:08:17 +0000
  • 59cac9cb80 Try to figure out nobodys uid und gid using getpwnam Dirk Engling 2007-04-02 17:26:40 +0000
  • f7b912a014 Gimmi Beer! Philipp Wuensche 2007-04-02 17:05:06 +0000
  • 83ea281b67 Sync-daemon written in perl to sync torrents and peers between more than one tracker entity. Philipp Wuensche 2007-04-02 12:34:48 +0000
  • 691f58cf4a Fix endianess issue with blessed ips. Document -A feature. Dirk Engling 2007-03-29 15:04:06 +0000
  • ac0b38c401 added the -A feature that blesses a certain IP address for administrative use (like sync) Dirk Engling 2007-03-28 23:24:30 +0000
  • cb90c27b28 Added inbound part of sync. This also meant to remove the black/whitelisting as we did by now. A more scalable way to blacklist will follow. Dirk Engling 2007-03-27 16:09:03 +0000
  • 2a646cf4a0 Added outbound part of sync Proposed format: d4:syncd20:<info_hash>8*N:(xxxxyy)*Nee, therefore had to refactor torrent cleanup now that it will hit all torrents once every OT_POOL_TIMEOUT units. Dirk Engling 2007-03-27 12:07:29 +0000
  • e9a6cd42fc Moved to tests/ Dirk Engling 2007-03-25 16:47:25 +0000
  • 767460cea3 revert previous commit Denis Ahrens 2007-03-17 01:26:25 +0000
  • d75fb67a25 endianess fix for udp scrape Denis Ahrens 2007-03-17 01:24:56 +0000
  • 62a41a85c8 code cleanup and more specific comments. tracker starts now also with udp port 6969 as default Denis Ahrens 2007-03-16 23:37:04 +0000
  • 1fba7078d7 some udp scrape style cleanup Denis Ahrens 2007-03-16 23:04:24 +0000
  • b3f72c444b support for udp scrape Denis Ahrens 2007-03-16 22:46:41 +0000
  • f2313f3aff fix the stats a little for not accepting udp scrapes Denis Ahrens 2007-03-16 20:11:22 +0000
  • 272d7a6bdc udp first connect needs to be counted as a connection too Denis Ahrens 2007-03-15 23:33:09 +0000
  • 521cb31ad3 added the udp stats to the main stats Denis Ahrens 2007-03-15 23:22:26 +0000
  • a45648f301 new modes for udp4 and tcp4 stats Denis Ahrens 2007-03-15 23:14:14 +0000
  • 2291dfc00f collecting stats for udp connections (2nd try) Denis Ahrens 2007-03-15 21:34:02 +0000
  • a0a4ea3469 collecting stats for udp connections Denis Ahrens 2007-03-15 21:32:14 +0000
  • 7dcd592a17 fixed udp peerport endianess handling Denis Ahrens 2007-03-13 23:31:06 +0000
  • 634b9cc10e fixed udp remoteport handling Denis Ahrens 2007-03-13 23:24:53 +0000
  • df6b33f8d8 some 64bit and endianess issues with udp... Dirk Engling 2007-03-13 22:19:03 +0000
  • eea5c628de make full scrapes a bit faster, increase checkback time for udp Dirk Engling 2007-03-10 15:39:19 +0000
  • b82e06fc9b Port is a short, not a long Dirk Engling 2007-03-08 01:24:47 +0000
  • a5ea2b2793 Missing include Dirk Engling 2007-03-07 23:15:11 +0000
  • b506cb39a9 Sanify handling of server sockets Dirk Engling 2007-03-07 22:19:00 +0000
  • 622e34f2b0 udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes. Dirk Engling 2007-03-06 19:43:47 +0000
  • 123ca420a8 Can now handle multiple ips/ports, can BIND to udp ports but not yet handle them, now checks if event=completed comes with left=0 and drops it, if it doesnt Dirk Engling 2007-03-05 21:14:36 +0000
  • 0c15779d39 Some clients even send plain : in their requests Dirk Engling 2007-03-03 02:10:52 +0000
  • 7b97ef62e0 stupid mistake in remove torrent call Dirk Engling 2007-03-02 02:23:03 +0000
  • 43ee5b14a6 Count completed messages only once per peer Dirk Engling 2007-02-16 21:13:44 +0000
  • ccc6761c97 Add a lot of documentation for static functions in trackerlogic.c. Make vector_remove_peer use hysteresis only, if pool is expected to grow again. Remove too old torrents. Dirk Engling 2007-02-04 03:29:29 +0000
  • ef12e05d40 shortened the dmem debug output Denis Ahrens 2007-02-04 00:37:45 +0000
  • b283462534 zero copy sockets do only work on page aligned buffers for page sized blocks. So remove the code that tried to take advantage of false assuming, it would work on any buffer Dirk Engling 2007-02-03 16:19:59 +0000
  • 7540de785a made the output of the memdebug smaller Denis Ahrens 2007-02-02 23:39:36 +0000
  • 3409074dc0 increased the interval random variation Denis Ahrens 2007-02-02 23:37:28 +0000
  • 6117e68584 fixed the last commit. now it really counts the scrapes and fullscrapes Denis Ahrens 2007-02-02 21:15:46 +0000
  • 4cebf91d22 make the interval with random an average value around the real value and not additional Denis Ahrens 2007-02-01 22:34:23 +0000
  • 48d0196995 Make timeouts more human readable Dirk Engling 2007-02-01 22:27:44 +0000
  • 5ebd2371e5 clear the freed mempointer Denis Ahrens 2007-02-01 22:23:56 +0000
  • 196fdd5da2 release memory for empty peer pools Dirk Engling 2007-02-01 17:01:03 +0000
  • f545ad8774 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 Dirk Engling 2007-02-01 16:06:17 +0000
  • e12ac60dea Forgot to take into account, that there are OT_POOL_COUNT debuggable pools in one torrent. Fixed. Dirk Engling 2007-02-01 15:57:29 +0000
  • be59653be2 Reserved too few space to hold all data for a memdebug Dirk Engling 2007-02-01 15:45:24 +0000
  • fa7f089536 add the scrapes to the valid requests (blue mrtg line) Denis Ahrens 2007-02-01 15:35:01 +0000
  • b0eee67849 el cheapo vector debugging Dirk Engling 2007-02-01 13:51:39 +0000
  • b518c4809a Use multiple output buffers to try to avoid copy on write when unnecessary Dirk Engling 2007-02-01 13:30:58 +0000
  • bd5f75f1a6 Try to shake off too stupid clients by sending an Bittorrent error rather than an HTTP 400 Dirk Engling 2007-01-31 09:58:32 +0000
  • 158ce4d616 Use signed size_t wherever appropriate Dirk Engling 2007-01-31 09:50:46 +0000
  • e2d15c9c4b size_t cant get < 0 and thus wont report errors Dirk Engling 2007-01-31 02:19:17 +0000
  • 47eaad59df On linux time.h must be included to use time() Dirk Engling 2007-01-30 21:29:08 +0000
  • d299bd4937 provide mrtg with more sane strings Dirk Engling 2007-01-29 13:41:04 +0000
  • 8fc31f7e29 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 Dirk Engling 2007-01-29 02:02:03 +0000
  • 8f1d76e65e complete_D_ ... ECODERTOODUMB Dirk Engling 2007-01-27 17:13:53 +0000
  • b040154b22 really copy in new peer, even if it already existed, to remember its state Dirk Engling 2007-01-27 17:04:55 +0000
  • 16d52e8c16 Asserts were always false :/ Dirk Engling 2007-01-27 16:42:57 +0000
  • a8f875a157 Due to recent issues... assert() seed counts Dirk Engling 2007-01-27 16:35:56 +0000
  • 342e3a25c0 account downloaded before early returns Dirk Engling 2007-01-27 16:06:13 +0000
  • 35e60201ad fix for corrupt fullscrape. did never work until now Denis Ahrens 2007-01-27 08:57:11 +0000
  • cbd2a8f8f8 announce.php and scrape.php are now being handled Dirk Engling 2007-01-26 18:09:14 +0000
  • 96e5b5a076 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. Dirk Engling 2007-01-26 16:26:49 +0000
  • 0f85392889 return random check back intervals to our clients Dirk Engling 2007-01-25 14:16:26 +0000
  • 94b94106c3 Code cleanup reindenting Dirk Engling 2007-01-24 22:23:18 +0000
  • f06e1f0acb Allowing more relaxed parsing of queries Dirk Engling 2007-01-24 21:49:41 +0000
  • 5f75f9e90f Return empty dictionary for unknown scrapes Dirk Engling 2007-01-24 21:26:50 +0000
  • a24a9eb3ca Do not write, if no string is passed Dirk Engling 2007-01-24 21:18:42 +0000
  • ae6ef2bf12 support for questionmark in URL behind the initial one Denis Ahrens 2007-01-24 21:12:05 +0000
  • 1e471b0826 backout Revision 1.67 Denis Ahrens 2007-01-24 21:06:19 +0000
  • 4b1d9edf58 workaround for some weird requests Denis Ahrens 2007-01-24 20:48:25 +0000
  • b78c6a989a Denis wanted scrapes and erdgeist didnt give it :) Denis Ahrens 2007-01-24 20:20:07 +0000