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
Dirk Engling
31c2a9fe03
Make allowing gzip a Makefile tunable
2007-11-22 04:37:41 +00:00
Dirk Engling
7e570f0f60
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
Dirk Engling
98491c70b6
Fixing mmap allocation went to ot_mutex.c. Also startup new sync thread.
2007-11-21 01:57:03 +00:00
Dirk Engling
cbe8f5f382
Reflect changes in multithreaded sync model in header file.
2007-11-21 01:55:42 +00:00
Dirk Engling
0508d5fa1f
Make sync generation multithreaded.
2007-11-21 01:55:15 +00:00
Dirk Engling
bc22920516
Split sync in and sync out into different tasks
2007-11-21 01:54:52 +00:00
Dirk Engling
a8821b42a4
Documentation fix
2007-11-21 01:54:31 +00:00
Dirk Engling
8bf09ff6cb
Formatting
2007-11-21 01:54:14 +00:00
Dirk Engling
9df7d28415
static bufs are not shared anymore, even if that means more memory.
2007-11-21 01:54:00 +00:00
Dirk Engling
469e15de22
Last user of sendmmapdata is gone. Purge it.
2007-11-21 01:53:17 +00:00