Commit Graph

514 Commits (e6754bb7f65529487c8d33248605cc41b5754c09)

Author SHA1 Message Date
Dirk Engling e6754bb7f6 #define closed too early 2009-09-02 16:01:44 +00:00
Dirk Engling 8a870f3d0a Add spotting woodpeckers, thanks to Vasya P. again 2009-09-02 02:18:33 +00:00
Dirk Engling 1fbf2f4706 Going to the forest, spotting woodpeckers 2009-09-02 01:47:44 +00:00
Dirk Engling 81f2a1c0a9 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
Dirk Engling e87008f160 add option to log the numwants over time 2009-08-30 18:04:44 +00:00
Dirk Engling 6e6aa95d4a 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
Dirk Engling ff4e4d848c Limit shifting in s24s cleanup code to a non-overflowing size 2009-08-30 12:54:52 +00:00
Dirk Engling 72ea78a6aa Put the WANT_MODEST_FULLSCRAPES option into Makefile 2009-08-29 13:56:54 +00:00
Dirk Engling f22a20de6a Enable limiting fullscrapes to only every 5 minutes per IP 2009-08-29 13:55:57 +00:00
Dirk Engling 2ab7c05823 Enable Networks debugging in Makefile 2009-08-26 21:24:49 +00:00
Dirk Engling 834c600c8d Nicer formatting for value-- 2009-08-26 21:23:53 +00:00
Dirk Engling cf3ce3525e Add some subnet debugging features 2009-08-26 21:23:26 +00:00
Dirk Engling bd6aaee3ef Introducing the concept of vectors of nets into opentracker 2009-08-26 21:22:24 +00:00
Dirk Engling 2be302c225 binary search speedup was buggy. 2009-08-26 21:12:32 +00:00
Dirk Engling 842a3db5d9 Optimize binary_search function 2009-08-26 17:44:03 +00:00
Dirk Engling 6062c3afd2 Introduce the concept of an ot_net into opentracker. 2009-08-26 17:37:24 +00:00
Dirk Engling 1f5ca5c83d Omit a warning where signed chars can't hold 0xff. Initialisen them with -1 2009-08-26 17:35:52 +00:00
Dirk Engling 276d902d61 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
Dirk Engling 409ef7dc83 Debug information only in debug mode. 2009-07-17 15:53:35 +00:00
Dirk Engling e5f3f71d9a Make opentracker HUGE-accesslist-ready. Parse, then sort. 2009-07-17 15:52:39 +00:00
Dirk Engling 544ff039e0 Double definition of all_torrents 2009-07-16 01:39:18 +00:00
Dirk Engling 5f2910c0b4 Add a new proxy daemon to opentracker 2009-07-16 01:36:50 +00:00
Dirk Engling 6f31485efe Make opentracker return tracker id in stats=everything request 2009-07-15 16:14:38 +00:00
Dirk Engling 7fbeb6b010 Missed the last info_hash 2009-07-15 00:37:23 +00:00
Dirk Engling 936d0ed2f1 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
Dirk Engling bb1e76c1a4 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
Dirk Engling f7cb2cf545 Be more verbose if the accesslist can not be found 2009-07-14 13:14:45 +00:00
Dirk Engling 73f781c0a3 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
Dirk Engling f6025394bd Only get old accesslist value shortly before freeing it 2009-07-14 13:03:01 +00:00
Dirk Engling eda672e253 Reloading accesslists left a wide window for race conditions. 2009-07-14 12:32:41 +00:00
Dirk Engling 2aca3aafcf Make attempts to access to unauthorized torrents more verbose. 2009-07-04 20:14:03 +00:00
Dirk Engling baa8b31981 Make accesslist function check for the correct signal 2009-07-01 02:48:56 +00:00
Dirk Engling 0c0a4533b7 Fixed an incorrect peer count in udp responses. Credits to Theron Lewis. 2009-06-28 23:11:13 +00:00
Dirk Engling ad7dbf0c7c Remove unnecessary =NULL initialization of static pointers. 2009-06-17 15:07:38 +00:00
Dirk Engling b6fdc5433a Allow /stats to be located anywhere in your trackers path 2009-06-17 15:06:31 +00:00
Dirk Engling 6abed54fd7 Fix statedump 2009-06-17 13:37:11 +00:00
Dirk Engling 43e07caf4e Display v4 addresses in v4 mode nicer 2009-06-16 12:17:53 +00:00
Dirk Engling bc521d9911 Major rewrite of live bad network logging. You can now limit logging to any netmask. HTTP interface for that coming soon. 2009-06-15 14:41:47 +00:00
Dirk Engling 1e8b74da9a Log networks in its old form has been disabled. Live logging may come back soon. 2009-06-15 14:40:36 +00:00
Dirk Engling 506c7883f7 Dont log connection id missmatches anymore 2009-06-15 14:40:06 +00:00
Dirk Engling b994a7befa Make our stats xml validate again 2009-03-25 12:43:12 +00:00
Dirk Engling 87b156262d include overall completed count in stats 2009-03-24 16:55:28 +00:00
Dirk Engling 60bc1c7424 There seems to be more broken v6 APIs than just the OpenBSD one. Linux smells as well. 2009-03-18 14:53:35 +00:00
Dirk Engling dc7f849827 If we don't want v6, tell libowfat not to worry about it. 2009-03-18 14:49:13 +00:00
Dirk Engling c8f053f955 Fix XML syntax 2009-03-18 02:33:47 +00:00
Dirk Engling a4af3583f2 Fix white spaces
Introduce loading tracker states with -l
Alter tracker state to a human readable form
2009-03-17 23:57:19 +00:00
Dirk Engling 695c079a25 Found some minor issues in busy network detection code. 2009-03-12 22:53:30 +00:00
Dirk Engling aa6467cc21 Re-implement logging busy networks to handle v6 API.
Implement a state dump for later reparsing.
2009-03-12 18:47:02 +00:00
Dirk Engling 50301645a4 Add a everything stats page. So you won't have to remember what all those switches were.
Remove the prepared Add/Remove-Torrent count until we implement it.
Remove the start/stop count until we implement it.
2009-03-04 15:33:44 +00:00
Dirk Engling abe840d529 Add a stat option the count bucket stalls
Add an iterator for all torrents. It's slower but for stats it's okay.
Move some stats collection stuff to the new iterator. More to come.
Start a "report all stats" page.
Start fixing the code to identify "busy" networks.
Add the concept of hosts allowed to proxy.
Add a parser for the X-Forwarded-For: HTTP header.
Clean up HTTP Header handling code. (Remove some left overs of now vanished sync code).
2009-03-04 14:35:21 +00:00