1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-13 16:30:06 +00:00
Commit Graph

536 Commits

Author SHA1 Message Date
erdgeist
3baa1abc56 Fix white spaces 2010-04-21 14:43:36 +00:00
erdgeist
66cda4bc75 Add our own time stamps to the completed logs. 2010-04-21 13:23:40 +00:00
erdgeist
85e6880233 Make opentracker's user runtime configurable. Also add more debug output to aid finding problems. 2010-04-09 10:15:51 +00:00
erdgeist
fc48cbed01 Fix segfault in stats?mode=everything, an additional errorcode was not commited to ot_stats 2010-04-09 09:40:12 +00:00
erdgeist
a1eec929a1 Only chroot if -d option or tracker.rootdir are set 2010-04-09 09:33:39 +00:00
erdgeist
a7cd2084df Fixed including another error message 2009-12-01 02:56:33 +00:00
erdgeist
f3c0359876 Make header parsing more efficient, prepare multithreading and keep-alive. 2009-11-18 04:00:26 +00:00
erdgeist
90e7262d9d Preparing more efficient header parsing 2009-11-18 03:56:26 +00:00
erdgeist
1665c54179 prevent infinite loop when looking for X-Forwarded-For: Headers 2009-11-16 18:58:34 +00:00
erdgeist
f4409df68a Allow logging of completed events to syslog 2009-11-12 10:18:27 +00:00
erdgeist
b1bf030f92 Fixed parser error for v6 addresses 2009-11-05 20:20:48 +00:00
erdgeist
48f67314b6 Should not report sync scrape packets in stderr 2009-10-15 19:52:17 +00:00
erdgeist
c27631e516 Reenable statedump 2009-10-15 19:33:30 +00:00
erdgeist
9d4f0e66d0 Need to compile sources for proxy 2009-10-15 18:23:20 +00:00
erdgeist
7f3b66b9af Add source files to proxy project 2009-10-15 18:17:03 +00:00
erdgeist
9be794395f v6 works since january 2009-10-08 20:27:51 +00:00
erdgeist
9eb860f041 Log successful incoming connections 2009-10-02 23:47:35 +00:00
erdgeist
9cced7eb88 Report connection duplication 2009-10-02 23:43:34 +00:00
erdgeist
ed1673eb10 Network connection code seems to be working now 2009-10-02 23:34:42 +00:00
erdgeist
cde8cf0559 Network handling code skeleton stands, is untested and no configure code there, yet. 2009-10-01 17:16:15 +00:00
erdgeist
5168a3314c Reaching completion soon 2009-09-29 06:03:39 +00:00
erdgeist
21b5baf0c1 Update project to use 10.6 CLang by default. 2009-09-02 16:30:39 +00:00
erdgeist
26bf39da89 #define closed too early 2009-09-02 16:01:44 +00:00
erdgeist
0bf88427c6 Add spotting woodpeckers, thanks to Vasya P. again 2009-09-02 02:18:36 +00:00
erdgeist
c76814cfec Going to the forest, spotting woodpeckers 2009-09-02 01:47:44 +00:00
erdgeist
6eeb16123c Cleanup s24s code, remove an ugly mem leak, thanks to Vasya P. for pointing at the bug and suggesting a fix 2009-09-01 23:45:37 +00:00
erdgeist
d9287403a8 add option to log the numwants over time 2009-08-30 18:04:44 +00:00
erdgeist
4c4303a156 Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200 2009-08-30 17:57:54 +00:00
erdgeist
517adde681 Limit shifting in s24s cleanup code to a non-overflowing size 2009-08-30 12:54:52 +00:00
erdgeist
342182a496 Put the WANT_MODEST_FULLSCRAPES option into Makefile 2009-08-29 13:56:54 +00:00
erdgeist
478884660f Enable limiting fullscrapes to only every 5 minutes per IP 2009-08-29 13:55:59 +00:00
erdgeist
682bd069d2 Enable Networks debugging in Makefile 2009-08-26 21:24:49 +00:00
erdgeist
56c1cf1b5d Nicer formatting for value-- 2009-08-26 21:23:53 +00:00
erdgeist
6073127ad0 Add some subnet debugging features 2009-08-26 21:23:26 +00:00
erdgeist
20955311d1 Introducing the concept of vectors of nets into opentracker 2009-08-26 21:22:24 +00:00
erdgeist
c3a58d248b binary search speedup was buggy. 2009-08-26 21:12:32 +00:00
erdgeist
0c8a17cbef Optimize binary_search function 2009-08-26 17:44:03 +00:00
erdgeist
6c51fca9a1 Introduce the concept of an ot_net into opentracker. 2009-08-26 17:37:24 +00:00
erdgeist
5364ea31ca Omit a warning where signed chars can't hold 0xff. Initialisen them with -1 2009-08-26 17:35:52 +00:00
erdgeist
bb770a45a6 Make accesslists thread safe. Signal handler is working in its own thread now, waiting for a signal. All other threads ignore signals. 2009-07-17 18:00:26 +00:00
erdgeist
57f85fc7cc Debug information only in debug mode. 2009-07-17 15:53:35 +00:00
erdgeist
06e89257a1 Make opentracker HUGE-accesslist-ready. Parse, then sort. 2009-07-17 15:52:39 +00:00
erdgeist
8d25bf2d31 Double definition of all_torrents 2009-07-16 01:39:18 +00:00
erdgeist
dad215a6e1 Add a new proxy daemon to opentracker 2009-07-16 01:36:50 +00:00
erdgeist
531ebd4949 Make opentracker return tracker id in stats=everything request 2009-07-15 16:14:38 +00:00
erdgeist
6819db7e98 Missed the last info_hash 2009-07-15 00:37:23 +00:00
erdgeist
553f62329a Parse accesslist file by mmaping the whole thing and searching for lines by ourself. fgets is slooooooow on linux. 2009-07-14 21:22:02 +00:00
erdgeist
bb9650f55e Order peers by whether they seed. This way clients can chose if they prefer leechers (at the beginning) or leechers (at the end of the list). 2009-07-14 20:51:14 +00:00
erdgeist
d729c88d88 Be more verbose if the accesslist can not be found 2009-07-14 13:14:45 +00:00
erdgeist
3afbbc37d0 Don't default the incoming port to 6881 but rather use 0 to indicate a less than valid announce 2009-07-14 13:05:03 +00:00