Commit Graph

353 Commits

Author SHA1 Message Date
Dirk Engling 432cf92e7c Embarrasing counter direction bug :) 2008-01-25 17:22:55 +00:00
Dirk Engling 6b2cb4396a Forgot to #ifdef some code only interesting when doing live network logging. 2008-01-17 15:34:50 +00:00
Dirk Engling a7c47dce53 Introducing live busy network detection. 2008-01-17 10:46:25 +00:00
Dirk Engling 1b6a33a0f8 sys/param.h needed under openbsd 2008-01-17 07:52:17 +00:00
Dirk Engling f57eb9661c Enable revision watching from the internet 2007-12-20 06:04:15 +00:00
Dirk Engling a7cfb64181 But keep Makefile in the libowfat is at ../libowfat state. 2007-12-20 06:01:16 +00:00
Dirk Engling e767fae72a Introduce some kind of versioning 2007-12-20 05:59:34 +00:00
Dirk Engling 4a9cc17e2f Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting. 2007-12-17 18:55:38 +00:00
Dirk Engling 5be5e46f2a Add documentation to our uri scanner 2007-12-17 13:23:26 +00:00
Dirk Engling da6e48b384 too many wrong udp requests scroll too much :) disable logging for now 2007-12-15 17:39:38 +00:00
Dirk Engling 1438e2a93a more udp debugging 2007-12-15 17:35:27 +00:00
Dirk Engling a4e1b7f442 Do not lock out well behaving clients 2007-12-15 17:32:44 +00:00
Dirk Engling ba0c7d24c1 more udp debugging 2007-12-15 17:21:22 +00:00
Dirk Engling a8fd467ef1 Prepare udp connection id generation and checking 2007-12-15 17:11:43 +00:00
Denis Ahrens bc104ff4d5 add support for more stats:
1. stats for added and removed torrents
2. stats for start and stopped events from peers

this should help to detect DoS attacks and is useful for
profiling
2007-12-14 22:01:13 +00:00
Dirk Engling 8a259ea806 A simple script that fills up opentracker with some peers, if -DWANT_IP_FROM_QUERY_STRING is specifierd 2007-12-11 23:34:36 +00:00
Denis Ahrens c05e406d9a add mrtgstyle stats for number of torrents 2007-12-08 18:47:16 +00:00
Dirk Engling 5c1c1c94d8 / can now be redirected to any URL 2007-12-05 01:40:24 +00:00
Dirk Engling 168f9f504c Count invalid requests 2007-12-04 23:57:29 +00:00
Dirk Engling 50275a9462 Be a little more verbose about why increases fail 2007-12-04 23:11:05 +00:00
Dirk Engling 52a607c055 print ip addresses from unsigned chars 2007-12-04 23:04:24 +00:00
Denis Ahrens 6e6504dfcf [19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel! 2007-12-04 18:29:34 +00:00
Dirk Engling 72175c3205 Dont need arpa/inet 2007-12-03 01:21:34 +00:00
Dirk Engling 4b474b7009 Avoid warnings about unused variables without certain defines 2007-12-03 01:21:12 +00:00
Dirk Engling ae823c17db Fix a broken merge result 2007-12-03 01:20:44 +00:00
Dirk Engling 0dfe70e375 Fix include for iovecs 2007-12-03 01:20:27 +00:00
Dirk Engling 42de540e26 add newline to end of file 2007-12-03 01:12:25 +00:00
Dirk Engling 903fcd4627 Reflect changes for ot_http.* in project file 2007-12-03 01:09:25 +00:00
Dirk Engling 5b3eb23f5f Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 2007-12-03 01:06:33 +00:00
Dirk Engling c3ef0c6e97 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also move run time keeping and FULLSCRAPE stderr output to ot_stats 2007-12-03 01:05:32 +00:00
Dirk Engling 65bf76b204 Introduce new ot_http.c and ot_http.h 2007-12-03 01:01:37 +00:00
Dirk Engling 8482c40226 Simplify includes, add new STATS code for scrapes 2007-12-03 01:00:58 +00:00
Dirk Engling a76deb3982 Finally split up the opentracker.c cruft into ot_http.c, ot_accesslist.c and just leave in socket handling and parameter parsing 2007-12-03 00:58:18 +00:00
Dirk Engling 3d3378e6a6 Drop ot_{byte,word,dword} and use uint{8,16,32}_t 2007-12-03 00:50:33 +00:00
Dirk Engling 7df4ce8fc7 Simplify includes 2007-12-03 00:49:24 +00:00
Dirk Engling d577adc79b Move blessed IP handling code to accesslist objects 2007-12-03 00:48:48 +00:00
Dirk Engling 72671f86b8 Move http handling to its own sources 2007-12-03 00:47:09 +00:00
Denis Ahrens bfe37ff99b add scrape stats and small correction to udp stats 2007-12-02 03:58:36 +00:00
Dirk Engling 4e00938ee2 Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore. 2007-11-29 15:43:30 +00:00
Dirk Engling b26f91152d Fixed a bug where we forgot to stamp torrents that are not new. 2007-11-28 22:52:35 +00:00
Dirk Engling 82d123a99f XCode-Project. Note: This is PPC only, x86 must be enabled 2007-11-28 22:08:36 +00:00
Dirk Engling 0832973340 Fixed call to deflate() with wrong flag in endgame 2007-11-25 18:59:46 +00:00
Dirk Engling 10ca610952 Missed the second strnstr... fixed. 2007-11-24 20:34:41 +00:00
Dirk Engling b697b68eac Debug settings for chunk size were _way_ to low for production 2007-11-24 11:09:18 +00:00
Dirk Engling 1bbcf71b56 Completely rewritten fullscrape code. All assumptions on how deflate() works were a little naive. Needs more error checking and testing. 2007-11-23 18:15:38 +00:00
Dirk Engling f2bae3a5a2 strnstr is not part of what posix conform libc has to offer... replace it by strstr after cutting off the last byte 2007-11-23 18:14:22 +00:00
Dirk Engling 2624d425da Reflect changes in iovec code in sync code 2007-11-23 18:13:11 +00:00
Dirk Engling 56815b3672 make ot_iovecs fix last interface more sane, also add a convenience function that handles the task of fixing, allocating and - if necessary - freeing 2007-11-23 18:12:49 +00:00
Dirk Engling d44c5bd162 Introducing compression for fullscrapes and tpbs stats 2007-11-22 04:39:08 +00:00
Dirk Engling 00809d596f Introducing compression task flags 2007-11-22 04:38:25 +00:00