1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-11 15:30:07 +00:00
Commit Graph

346 Commits

Author SHA1 Message Date
erdgeist
d9ed6c22bd Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting. 2007-12-17 18:55:38 +00:00
erdgeist
0cfd1e575d Add documentation to our uri scanner 2007-12-17 13:23:27 +00:00
erdgeist
ac078bccf2 too many wrong udp requests scroll too much :) disable logging for now 2007-12-15 17:39:38 +00:00
erdgeist
2f4246396e more udp debugging 2007-12-15 17:35:27 +00:00
erdgeist
cc47504af2 Do not lock out well behaving clients 2007-12-15 17:32:44 +00:00
erdgeist
cac5a31d93 more udp debugging 2007-12-15 17:21:22 +00:00
erdgeist
8d00b1e039 Prepare udp connection id generation and checking 2007-12-15 17:11:43 +00:00
denis
65c3b24045 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:14 +00:00
erdgeist
c2cbe1dc27 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
19cc9ba882 add mrtgstyle stats for number of torrents 2007-12-08 18:47:16 +00:00
erdgeist
bee364a6f3 / can now be redirected to any URL 2007-12-05 01:40:24 +00:00
erdgeist
31d876d53d Count invalid requests 2007-12-04 23:57:29 +00:00
erdgeist
a146a32885 Be a little more verbose about why increases fail 2007-12-04 23:11:05 +00:00
erdgeist
0bfab763d8 print ip addresses from unsigned chars 2007-12-04 23:04:24 +00:00
denis
362a0e052a [19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel! 2007-12-04 18:29:34 +00:00
erdgeist
828831bbb6 Dont need arpa/inet 2007-12-03 01:21:34 +00:00
erdgeist
f6d1a67966 Avoid warnings about unused variables without certain defines 2007-12-03 01:21:12 +00:00
erdgeist
bb9ffc7e61 Fix a broken merge result 2007-12-03 01:20:44 +00:00
erdgeist
d3b8375080 Fix include for iovecs 2007-12-03 01:20:27 +00:00
erdgeist
dafe5c9f6c add newline to end of file 2007-12-03 01:12:25 +00:00
erdgeist
0fe76f811b Reflect changes for ot_http.* in project file 2007-12-03 01:09:25 +00:00
erdgeist
848a06a706 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 2007-12-03 01:07:41 +00:00
erdgeist
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 2007-12-03 01:05:32 +00:00
erdgeist
598b68561b Introduce new ot_http.c and ot_http.h 2007-12-03 01:01:37 +00:00
erdgeist
ec5421cec1 Simplify includes, add new STATS code for scrapes 2007-12-03 01:00:58 +00:00
erdgeist
fd41161407 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
erdgeist
b0e4ebbbf2 Simplify includes 2007-12-03 00:52:05 +00:00
erdgeist
89f291566b Drop ot_{byte,word,dword} and use uint{8,16,32}_t 2007-12-03 00:50:33 +00:00
erdgeist
5d18bf211c Move blessed IP handling code to accesslist objects 2007-12-03 00:48:48 +00:00
erdgeist
afea7d5ee2 Move http handling to its own sources 2007-12-03 00:47:09 +00:00
denis
0a1cc18358 add scrape stats and small correction to udp stats 2007-12-02 03:58:36 +00:00
erdgeist
ae1863f232 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
erdgeist
f697fa3dda Fixed a bug where we forgot to stamp torrents that are not new. 2007-11-28 22:52:35 +00:00
erdgeist
89056078cb XCode-Project. Note: This is PPC only, x86 must be enabled 2007-11-28 22:08:36 +00:00
erdgeist
9d86780a74 Fixed call to deflate() with wrong flag in endgame 2007-11-25 18:59:46 +00:00
erdgeist
09a662dfce Missed the second strnstr... fixed. 2007-11-24 20:34:41 +00:00
erdgeist
e3103d30f7 Debug settings for chunk size were _way_ to low for production 2007-11-24 11:09:18 +00:00
erdgeist
8f7ef4b2ea 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
erdgeist
54560fdcd3 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
erdgeist
afcef0537c Reflect changes in iovec code in sync code 2007-11-23 18:13:11 +00:00
erdgeist
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 2007-11-23 18:12:50 +00:00
erdgeist
b1c8723609 Introducing compression for fullscrapes and tpbs stats 2007-11-22 04:39:08 +00:00
erdgeist
4bf12406fb Introducing compression task flags 2007-11-22 04:38:25 +00:00
erdgeist
c09ad325cc Make allowing gzip a Makefile tunable 2007-11-22 04:37:41 +00:00
erdgeist
c5e5569770 Fixing mmap allocation went to ot_mutex.c. Clean all torrents moved to ot_clean.c. Also make static buffers static 2007-11-21 01:57:39 +00:00
erdgeist
acaf7ae2b3 Fixing mmap allocation went to ot_mutex.c. Also startup new sync thread. 2007-11-21 01:57:03 +00:00
erdgeist
b73b19f8f4 Formatting 2007-11-21 01:56:14 +00:00
erdgeist
8bee224dc0 static bufs are not shared anymore, even if that means more memory. 2007-11-21 01:55:59 +00:00
erdgeist
9e45802946 Reflect changes in multithreaded sync model in header file. 2007-11-21 01:55:42 +00:00
erdgeist
4072f162b4 Make sync generation multithreaded. 2007-11-21 01:55:15 +00:00