]>
git.ipfire.org Git - thirdparty/opentracker.git/log
erdgeist [Thu, 5 Nov 2009 20:20:48 +0000 (20:20 +0000)]
Fixed parser error for v6 addresses
erdgeist [Thu, 15 Oct 2009 19:52:17 +0000 (19:52 +0000)]
Should not report sync scrape packets in stderr
erdgeist [Thu, 15 Oct 2009 19:33:30 +0000 (19:33 +0000)]
Reenable statedump
erdgeist [Thu, 15 Oct 2009 18:23:20 +0000 (18:23 +0000)]
Need to compile sources for proxy
erdgeist [Thu, 15 Oct 2009 18:17:03 +0000 (18:17 +0000)]
Add source files to proxy project
erdgeist [Thu, 8 Oct 2009 20:27:51 +0000 (20:27 +0000)]
v6 works since january
erdgeist [Fri, 2 Oct 2009 23:47:35 +0000 (23:47 +0000)]
Log successful incoming connections
erdgeist [Fri, 2 Oct 2009 23:43:34 +0000 (23:43 +0000)]
Report connection duplication
erdgeist [Fri, 2 Oct 2009 23:34:42 +0000 (23:34 +0000)]
Network connection code seems to be working now
erdgeist [Thu, 1 Oct 2009 17:16:15 +0000 (17:16 +0000)]
Network handling code skeleton stands, is untested and no configure code there, yet.
erdgeist [Tue, 29 Sep 2009 06:03:39 +0000 (06:03 +0000)]
Reaching completion soon
erdgeist [Wed, 2 Sep 2009 16:30:39 +0000 (16:30 +0000)]
Update project to use 10.6 CLang by default.
erdgeist [Wed, 2 Sep 2009 16:01:44 +0000 (16:01 +0000)]
#define closed too early
erdgeist [Wed, 2 Sep 2009 02:18:36 +0000 (02:18 +0000)]
Add spotting woodpeckers, thanks to Vasya P. again
erdgeist [Wed, 2 Sep 2009 01:47:44 +0000 (01:47 +0000)]
Going to the forest, spotting woodpeckers
erdgeist [Tue, 1 Sep 2009 23:45:37 +0000 (23:45 +0000)]
Cleanup s24s code, remove an ugly mem leak, thanks to Vasya P. for pointing at the bug and suggesting a fix
erdgeist [Sun, 30 Aug 2009 18:04:44 +0000 (18:04 +0000)]
add option to log the numwants over time
erdgeist [Sun, 30 Aug 2009 17:57:54 +0000 (17:57 +0000)]
Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200
erdgeist [Sun, 30 Aug 2009 12:54:52 +0000 (12:54 +0000)]
Limit shifting in s24s cleanup code to a non-overflowing size
erdgeist [Sat, 29 Aug 2009 13:56:54 +0000 (13:56 +0000)]
Put the WANT_MODEST_FULLSCRAPES option into Makefile
erdgeist [Sat, 29 Aug 2009 13:55:59 +0000 (13:55 +0000)]
Enable limiting fullscrapes to only every 5 minutes per IP
erdgeist [Wed, 26 Aug 2009 21:24:49 +0000 (21:24 +0000)]
Enable Networks debugging in Makefile
erdgeist [Wed, 26 Aug 2009 21:23:53 +0000 (21:23 +0000)]
Nicer formatting for value--
erdgeist [Wed, 26 Aug 2009 21:23:26 +0000 (21:23 +0000)]
Add some subnet debugging features
erdgeist [Wed, 26 Aug 2009 21:22:24 +0000 (21:22 +0000)]
Introducing the concept of vectors of nets into opentracker
erdgeist [Wed, 26 Aug 2009 21:12:32 +0000 (21:12 +0000)]
binary search speedup was buggy.
erdgeist [Wed, 26 Aug 2009 17:44:03 +0000 (17:44 +0000)]
Optimize binary_search function
erdgeist [Wed, 26 Aug 2009 17:37:24 +0000 (17:37 +0000)]
Introduce the concept of an ot_net into opentracker.
erdgeist [Wed, 26 Aug 2009 17:35:52 +0000 (17:35 +0000)]
Omit a warning where signed chars can't hold 0xff. Initialisen them with -1
erdgeist [Fri, 17 Jul 2009 18:00:26 +0000 (18:00 +0000)]
Make accesslists thread safe. Signal handler is working in its own thread now, waiting for a signal. All other threads ignore signals.
erdgeist [Fri, 17 Jul 2009 15:53:35 +0000 (15:53 +0000)]
Debug information only in debug mode.
erdgeist [Fri, 17 Jul 2009 15:52:39 +0000 (15:52 +0000)]
Make opentracker HUGE-accesslist-ready. Parse, then sort.
erdgeist [Thu, 16 Jul 2009 01:39:18 +0000 (01:39 +0000)]
Double definition of all_torrents
erdgeist [Thu, 16 Jul 2009 01:36:50 +0000 (01:36 +0000)]
Add a new proxy daemon to opentracker
erdgeist [Wed, 15 Jul 2009 16:14:38 +0000 (16:14 +0000)]
Make opentracker return tracker id in stats=everything request
erdgeist [Wed, 15 Jul 2009 00:37:23 +0000 (00:37 +0000)]
Missed the last info_hash
erdgeist [Tue, 14 Jul 2009 21:22:02 +0000 (21:22 +0000)]
Parse accesslist file by mmaping the whole thing and searching for lines by ourself. fgets is slooooooow on linux.
erdgeist [Tue, 14 Jul 2009 20:51:14 +0000 (20:51 +0000)]
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).
erdgeist [Tue, 14 Jul 2009 13:14:45 +0000 (13:14 +0000)]
Be more verbose if the accesslist can not be found
erdgeist [Tue, 14 Jul 2009 13:05:03 +0000 (13:05 +0000)]
Don't default the incoming port to 6881 but rather use 0 to indicate a less than valid announce
erdgeist [Tue, 14 Jul 2009 13:03:01 +0000 (13:03 +0000)]
Only get old accesslist value shortly before freeing it
erdgeist [Tue, 14 Jul 2009 12:32:41 +0000 (12:32 +0000)]
Reloading accesslists left a wide window for race conditions.
erdgeist [Sat, 4 Jul 2009 20:14:03 +0000 (20:14 +0000)]
Make attempts to access to unauthorized torrents more verbose.
erdgeist [Wed, 1 Jul 2009 02:48:56 +0000 (02:48 +0000)]
Make accesslist function check for the correct signal
erdgeist [Sun, 28 Jun 2009 23:11:13 +0000 (23:11 +0000)]
Fixed an incorrect peer count in udp responses. Credits to Theron Lewis.
erdgeist [Wed, 17 Jun 2009 15:07:38 +0000 (15:07 +0000)]
Remove unnecessary =NULL initialization of static pointers.
erdgeist [Wed, 17 Jun 2009 15:06:31 +0000 (15:06 +0000)]
Allow /stats to be located anywhere in your trackers path
erdgeist [Wed, 17 Jun 2009 13:37:11 +0000 (13:37 +0000)]
Fix statedump
erdgeist [Tue, 16 Jun 2009 12:17:53 +0000 (12:17 +0000)]
Display v4 addresses in v4 mode nicer
erdgeist [Mon, 15 Jun 2009 14:41:47 +0000 (14:41 +0000)]
Major rewrite of live bad network logging. You can now limit logging to any netmask. HTTP interface for that coming soon.
erdgeist [Mon, 15 Jun 2009 14:40:36 +0000 (14:40 +0000)]
Log networks in its old form has been disabled. Live logging may come back soon.
erdgeist [Mon, 15 Jun 2009 14:40:06 +0000 (14:40 +0000)]
Dont log connection id missmatches anymore
erdgeist [Wed, 25 Mar 2009 12:43:12 +0000 (12:43 +0000)]
Make our stats xml validate again
erdgeist [Tue, 24 Mar 2009 16:55:28 +0000 (16:55 +0000)]
include overall completed count in stats
erdgeist [Wed, 18 Mar 2009 14:53:35 +0000 (14:53 +0000)]
There seems to be more broken v6 APIs than just the OpenBSD one. Linux smells as well.
erdgeist [Wed, 18 Mar 2009 14:49:13 +0000 (14:49 +0000)]
If we don't want v6, tell libowfat not to worry about it.
erdgeist [Wed, 18 Mar 2009 02:33:47 +0000 (02:33 +0000)]
Fix XML syntax
erdgeist [Tue, 17 Mar 2009 23:57:20 +0000 (23:57 +0000)]
Fix white spaces
Introduce loading tracker states with -l
Alter tracker state to a human readable form
erdgeist [Thu, 12 Mar 2009 22:53:30 +0000 (22:53 +0000)]
Found some minor issues in busy network detection code.
erdgeist [Thu, 12 Mar 2009 18:47:02 +0000 (18:47 +0000)]
Re-implement logging busy networks to handle v6 API.
Implement a state dump for later reparsing.
erdgeist [Wed, 4 Mar 2009 15:33:44 +0000 (15:33 +0000)]
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.
erdgeist [Wed, 4 Mar 2009 14:35:21 +0000 (14:35 +0000)]
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).
erdgeist [Tue, 3 Mar 2009 01:24:02 +0000 (01:24 +0000)]
Value of off is not used, so don't calculate it
erdgeist [Tue, 3 Mar 2009 01:22:50 +0000 (01:22 +0000)]
Remove superfluous test for == NULL, when variable has been used, anyway
erdgeist [Fri, 20 Feb 2009 12:31:55 +0000 (12:31 +0000)]
Reset delta_torrentcount to zero on each pass
erdgeist [Fri, 20 Feb 2009 12:31:17 +0000 (12:31 +0000)]
Formatting
erdgeist [Fri, 20 Feb 2009 12:23:59 +0000 (12:23 +0000)]
Formatting
erdgeist [Fri, 20 Feb 2009 11:07:30 +0000 (11:07 +0000)]
Forgot to notify central counter about torrent removal
erdgeist [Tue, 10 Feb 2009 14:49:38 +0000 (14:49 +0000)]
Add workaround to openbsd's broken v6 API
erdgeist [Tue, 10 Feb 2009 14:49:11 +0000 (14:49 +0000)]
unify lock and unlock code style
erdgeist [Tue, 3 Feb 2009 17:10:16 +0000 (17:10 +0000)]
make live sync aware of v6 mapped v4 addresses
erdgeist [Tue, 3 Feb 2009 17:00:51 +0000 (17:00 +0000)]
Read action codes from correct location and tell ot_stats the correct number of incoming peers.
erdgeist [Tue, 3 Feb 2009 16:46:31 +0000 (16:46 +0000)]
Formatting
erdgeist [Tue, 3 Feb 2009 16:46:16 +0000 (16:46 +0000)]
Reverse logic... do only fail if scan_ip6 cant parse
erdgeist [Tue, 3 Feb 2009 16:45:44 +0000 (16:45 +0000)]
Reverse logic... do only sync those NOT coming from multi cast
denis [Tue, 3 Feb 2009 14:41:17 +0000 (14:41 +0000)]
decrease the udp multicast packetsize so it fits into one ether frame
erdgeist [Tue, 3 Feb 2009 12:21:36 +0000 (12:21 +0000)]
Forgot to copy the stats?mode=tcp4 parameter
erdgeist [Mon, 26 Jan 2009 11:30:10 +0000 (11:30 +0000)]
Make snprintf write to the correct location
erdgeist [Mon, 26 Jan 2009 10:33:46 +0000 (10:33 +0000)]
Lot of Gehacktes around this keyword scanner. Don't return a match if string to compare is shorter than key from table.
erdgeist [Wed, 21 Jan 2009 00:11:57 +0000 (00:11 +0000)]
This memmove was for real...
erdgeist [Mon, 19 Jan 2009 18:22:25 +0000 (18:22 +0000)]
Limit comparison of strings to the length of the shorter string
erdgeist [Fri, 16 Jan 2009 04:17:22 +0000 (04:17 +0000)]
Fix a pointer arithmetic issue leading to incorrect peer data being copied. Allocate correct size for debugbuffer. Expect exact values on find keywords, not only prefix match.
erdgeist [Fri, 16 Jan 2009 02:28:54 +0000 (02:28 +0000)]
Remove debug message
erdgeist [Fri, 16 Jan 2009 02:26:50 +0000 (02:26 +0000)]
Use a self pipe to wake from io_wait when a thread finished his work.
erdgeist [Thu, 15 Jan 2009 23:01:36 +0000 (23:01 +0000)]
Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT
erdgeist [Thu, 15 Jan 2009 22:10:54 +0000 (22:10 +0000)]
Some premature optimization lead to always only 8bytes of ot_peers being copied
erdgeist [Thu, 15 Jan 2009 16:20:47 +0000 (16:20 +0000)]
Make v4 and v6 modes v4/v6-ONLY
erdgeist [Thu, 15 Jan 2009 16:20:18 +0000 (16:20 +0000)]
We sent an incorrect reply dictionary vor v6 announces
erdgeist [Wed, 14 Jan 2009 00:05:06 +0000 (00:05 +0000)]
fix parser
erdgeist [Tue, 13 Jan 2009 22:41:17 +0000 (22:41 +0000)]
V6
erdgeist [Mon, 5 Jan 2009 18:05:39 +0000 (18:05 +0000)]
* http and udp routines now use thread local buffers passed in workstruct containers. In other words they do not use static_buffer anymore and are considered to be thread safe.
* the new workstruct also introduces a well defined buffer and result passing path
* a new function scan_find_keywords is a wrapper around scan_urlencoded_query that maps keys in url to values passed in an array of ot_keywords structs
* this new function cleans up much of url parameter parsing work, where read_ptr and write_ptr have been introduced rather than the confusing char *c, *data variables
* I now use memcmp instead of byte_diff to allow compiler to optimize constant size string compares
* got rid of UTORRENT_1600_WORKAROUND
* livesync_ticker is now only called from one (currently main) thread to avoid race conditions
erdgeist [Sat, 3 Jan 2009 03:25:37 +0000 (03:25 +0000)]
Make opentracker ANSI C again.
erdgeist [Fri, 2 Jan 2009 08:57:53 +0000 (08:57 +0000)]
* opentracker now drops permissions in correct order and really chroots() if ran as root
* lock passing between add_peer_to_torrent and return_peers_for_torrent is now avoided by providing a more general add_peer_to_torrent_and_return_peers function that can be used with NULL parameters to not return any peers (in sync case)
* in order to keep a fast overview how many torrents opentracker maintains, every mutex_bucket_unlock operation expects an additional integer parameter that tells ot_mutex.c how many torrents have been added or removed. A function mutex_get_torrent_count has been introduced.
erdgeist [Fri, 2 Jan 2009 07:55:11 +0000 (07:55 +0000)]
Introduce new flag WANT_SYNC_SCRAPE
erdgeist [Fri, 2 Jan 2009 07:52:17 +0000 (07:52 +0000)]
Fix incorrect prototype for accesslist_deinit
erdgeist [Thu, 1 Jan 2009 17:49:50 +0000 (17:49 +0000)]
minor white space
erdgeist [Thu, 1 Jan 2009 17:44:04 +0000 (17:44 +0000)]
minoe white space
erdgeist [Tue, 30 Dec 2008 18:40:09 +0000 (18:40 +0000)]
Fix badly formed bencoded answer to stopped events
erdgeist [Thu, 11 Dec 2008 11:48:34 +0000 (11:48 +0000)]
Fix: Did not time stamp a torrent correctly, that once timed out and came back to life
erdgeist [Wed, 10 Dec 2008 14:19:37 +0000 (14:19 +0000)]
Propose a scrape sync protocol.