]> git.ipfire.org Git - thirdparty/opentracker.git/log
thirdparty/opentracker.git
16 years agoFixed parser error for v6 addresses
erdgeist [Thu, 5 Nov 2009 20:20:48 +0000 (20:20 +0000)] 
Fixed parser error for v6 addresses

16 years agoShould not report sync scrape packets in stderr
erdgeist [Thu, 15 Oct 2009 19:52:17 +0000 (19:52 +0000)] 
Should not report sync scrape packets in stderr

16 years agoReenable statedump
erdgeist [Thu, 15 Oct 2009 19:33:30 +0000 (19:33 +0000)] 
Reenable statedump

16 years agoNeed to compile sources for proxy
erdgeist [Thu, 15 Oct 2009 18:23:20 +0000 (18:23 +0000)] 
Need to compile sources for proxy

16 years agoAdd source files to proxy project
erdgeist [Thu, 15 Oct 2009 18:17:03 +0000 (18:17 +0000)] 
Add source files to proxy project

16 years agov6 works since january
erdgeist [Thu, 8 Oct 2009 20:27:51 +0000 (20:27 +0000)] 
v6 works since january

16 years agoLog successful incoming connections
erdgeist [Fri, 2 Oct 2009 23:47:35 +0000 (23:47 +0000)] 
Log successful incoming connections

16 years agoReport connection duplication
erdgeist [Fri, 2 Oct 2009 23:43:34 +0000 (23:43 +0000)] 
Report connection duplication

16 years agoNetwork connection code seems to be working now
erdgeist [Fri, 2 Oct 2009 23:34:42 +0000 (23:34 +0000)] 
Network connection code seems to be working now

16 years agoNetwork handling code skeleton stands, is untested and no configure code there, yet.
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.

16 years agoReaching completion soon
erdgeist [Tue, 29 Sep 2009 06:03:39 +0000 (06:03 +0000)] 
Reaching completion soon

16 years agoUpdate project to use 10.6 CLang by default.
erdgeist [Wed, 2 Sep 2009 16:30:39 +0000 (16:30 +0000)] 
Update project to use 10.6 CLang by default.

16 years ago#define closed too early
erdgeist [Wed, 2 Sep 2009 16:01:44 +0000 (16:01 +0000)] 
#define closed too early

16 years agoAdd spotting woodpeckers, thanks to Vasya P. again
erdgeist [Wed, 2 Sep 2009 02:18:36 +0000 (02:18 +0000)] 
Add spotting woodpeckers, thanks to Vasya P. again

16 years agoGoing to the forest, spotting woodpeckers
erdgeist [Wed, 2 Sep 2009 01:47:44 +0000 (01:47 +0000)] 
Going to the forest, spotting woodpeckers

16 years agoCleanup s24s code, remove an ugly mem leak, thanks to Vasya P. for pointing at the...
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

16 years agoadd option to log the numwants over time
erdgeist [Sun, 30 Aug 2009 18:04:44 +0000 (18:04 +0000)] 
add option to log the numwants over time

16 years agoTemporary feature: log amount of numwants. See if we can save traffic if we reduce...
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

16 years agoLimit shifting in s24s cleanup code to a non-overflowing size
erdgeist [Sun, 30 Aug 2009 12:54:52 +0000 (12:54 +0000)] 
Limit shifting in s24s cleanup code to a non-overflowing size

16 years agoPut the WANT_MODEST_FULLSCRAPES option into Makefile
erdgeist [Sat, 29 Aug 2009 13:56:54 +0000 (13:56 +0000)] 
Put the WANT_MODEST_FULLSCRAPES option into Makefile

16 years agoEnable limiting fullscrapes to only every 5 minutes per IP
erdgeist [Sat, 29 Aug 2009 13:55:59 +0000 (13:55 +0000)] 
Enable limiting fullscrapes to only every 5 minutes per IP

16 years agoEnable Networks debugging in Makefile
erdgeist [Wed, 26 Aug 2009 21:24:49 +0000 (21:24 +0000)] 
Enable Networks debugging in Makefile

16 years agoNicer formatting for value--
erdgeist [Wed, 26 Aug 2009 21:23:53 +0000 (21:23 +0000)] 
Nicer formatting for value--

16 years agoAdd some subnet debugging features
erdgeist [Wed, 26 Aug 2009 21:23:26 +0000 (21:23 +0000)] 
Add some subnet debugging features

16 years agoIntroducing the concept of vectors of nets into opentracker
erdgeist [Wed, 26 Aug 2009 21:22:24 +0000 (21:22 +0000)] 
Introducing the concept of vectors of nets into opentracker

16 years agobinary search speedup was buggy.
erdgeist [Wed, 26 Aug 2009 21:12:32 +0000 (21:12 +0000)] 
binary search speedup was buggy.

16 years agoOptimize binary_search function
erdgeist [Wed, 26 Aug 2009 17:44:03 +0000 (17:44 +0000)] 
Optimize binary_search function

16 years agoIntroduce the concept of an ot_net into opentracker.
erdgeist [Wed, 26 Aug 2009 17:37:24 +0000 (17:37 +0000)] 
Introduce the concept of an ot_net into opentracker.

16 years agoOmit a warning where signed chars can't hold 0xff. Initialisen them with -1
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

16 years agoMake accesslists thread safe. Signal handler is working in its own thread now, waitin...
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.

16 years agoDebug information only in debug mode.
erdgeist [Fri, 17 Jul 2009 15:53:35 +0000 (15:53 +0000)] 
Debug information only in debug mode.

16 years agoMake opentracker HUGE-accesslist-ready. Parse, then sort.
erdgeist [Fri, 17 Jul 2009 15:52:39 +0000 (15:52 +0000)] 
Make opentracker HUGE-accesslist-ready. Parse, then sort.

16 years agoDouble definition of all_torrents
erdgeist [Thu, 16 Jul 2009 01:39:18 +0000 (01:39 +0000)] 
Double definition of all_torrents

16 years agoAdd a new proxy daemon to opentracker
erdgeist [Thu, 16 Jul 2009 01:36:50 +0000 (01:36 +0000)] 
Add a new proxy daemon to opentracker

16 years agoMake opentracker return tracker id in stats=everything request
erdgeist [Wed, 15 Jul 2009 16:14:38 +0000 (16:14 +0000)] 
Make opentracker return tracker id in stats=everything request

16 years agoMissed the last info_hash
erdgeist [Wed, 15 Jul 2009 00:37:23 +0000 (00:37 +0000)] 
Missed the last info_hash

16 years agoParse accesslist file by mmaping the whole thing and searching for lines by ourself...
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.

16 years agoOrder peers by whether they seed. This way clients can chose if they prefer leechers...
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).

16 years agoBe more verbose if the accesslist can not be found
erdgeist [Tue, 14 Jul 2009 13:14:45 +0000 (13:14 +0000)] 
Be more verbose if the accesslist can not be found

16 years agoDon't default the incoming port to 6881 but rather use 0 to indicate a less than...
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

16 years agoOnly get old accesslist value shortly before freeing it
erdgeist [Tue, 14 Jul 2009 13:03:01 +0000 (13:03 +0000)] 
Only get old accesslist value shortly before freeing it

16 years agoReloading accesslists left a wide window for race conditions.
erdgeist [Tue, 14 Jul 2009 12:32:41 +0000 (12:32 +0000)] 
Reloading accesslists left a wide window for race conditions.

16 years agoMake attempts to access to unauthorized torrents more verbose.
erdgeist [Sat, 4 Jul 2009 20:14:03 +0000 (20:14 +0000)] 
Make attempts to access to unauthorized torrents more verbose.

16 years agoMake accesslist function check for the correct signal
erdgeist [Wed, 1 Jul 2009 02:48:56 +0000 (02:48 +0000)] 
Make accesslist function check for the correct signal

16 years agoFixed an incorrect peer count in udp responses. Credits to Theron Lewis.
erdgeist [Sun, 28 Jun 2009 23:11:13 +0000 (23:11 +0000)] 
Fixed an incorrect peer count in udp responses. Credits to Theron Lewis.

16 years agoRemove unnecessary =NULL initialization of static pointers.
erdgeist [Wed, 17 Jun 2009 15:07:38 +0000 (15:07 +0000)] 
Remove unnecessary =NULL initialization of static pointers.

16 years agoAllow /stats to be located anywhere in your trackers path
erdgeist [Wed, 17 Jun 2009 15:06:31 +0000 (15:06 +0000)] 
Allow /stats to be located anywhere in your trackers path

16 years agoFix statedump
erdgeist [Wed, 17 Jun 2009 13:37:11 +0000 (13:37 +0000)] 
Fix statedump

16 years agoDisplay v4 addresses in v4 mode nicer
erdgeist [Tue, 16 Jun 2009 12:17:53 +0000 (12:17 +0000)] 
Display v4 addresses in v4 mode nicer

16 years agoMajor rewrite of live bad network logging. You can now limit logging to any netmask...
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.

16 years agoLog networks in its old form has been disabled. Live logging may come back 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.

16 years agoDont log connection id missmatches anymore
erdgeist [Mon, 15 Jun 2009 14:40:06 +0000 (14:40 +0000)] 
Dont log connection id missmatches anymore

17 years agoMake our stats xml validate again
erdgeist [Wed, 25 Mar 2009 12:43:12 +0000 (12:43 +0000)] 
Make our stats xml validate again

17 years agoinclude overall completed count in stats
erdgeist [Tue, 24 Mar 2009 16:55:28 +0000 (16:55 +0000)] 
include overall completed count in stats

17 years agoThere seems to be more broken v6 APIs than just the OpenBSD one. Linux smells as...
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.

17 years agoIf we don't want v6, tell libowfat not to worry about it.
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.

17 years agoFix XML syntax
erdgeist [Wed, 18 Mar 2009 02:33:47 +0000 (02:33 +0000)] 
Fix XML syntax

17 years agoFix white spaces
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

17 years agoFound some minor issues in busy network detection code.
erdgeist [Thu, 12 Mar 2009 22:53:30 +0000 (22:53 +0000)] 
Found some minor issues in busy network detection code.

17 years agoRe-implement logging busy networks to handle v6 API.
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.

17 years agoAdd a everything stats page. So you won't have to remember what all those switches...
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.

17 years agoAdd a stat option the count bucket stalls
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).

17 years agoValue of off is not used, so don't calculate it
erdgeist [Tue, 3 Mar 2009 01:24:02 +0000 (01:24 +0000)] 
Value of off is not used, so don't calculate it

17 years agoRemove superfluous test for == NULL, when variable has been used, anyway
erdgeist [Tue, 3 Mar 2009 01:22:50 +0000 (01:22 +0000)] 
Remove superfluous test for == NULL, when variable has been used, anyway

17 years agoReset delta_torrentcount to zero on each pass
erdgeist [Fri, 20 Feb 2009 12:31:55 +0000 (12:31 +0000)] 
Reset delta_torrentcount to zero on each pass

17 years agoFormatting
erdgeist [Fri, 20 Feb 2009 12:31:17 +0000 (12:31 +0000)] 
Formatting

17 years agoFormatting
erdgeist [Fri, 20 Feb 2009 12:23:59 +0000 (12:23 +0000)] 
Formatting

17 years agoForgot to notify central counter about torrent removal
erdgeist [Fri, 20 Feb 2009 11:07:30 +0000 (11:07 +0000)] 
Forgot to notify central counter about torrent removal

17 years agoAdd workaround to openbsd's broken v6 API
erdgeist [Tue, 10 Feb 2009 14:49:38 +0000 (14:49 +0000)] 
Add workaround to openbsd's broken v6 API

17 years agounify lock and unlock code style
erdgeist [Tue, 10 Feb 2009 14:49:11 +0000 (14:49 +0000)] 
unify lock and unlock code style

17 years agomake live sync aware of v6 mapped v4 addresses
erdgeist [Tue, 3 Feb 2009 17:10:16 +0000 (17:10 +0000)] 
make live sync aware of v6 mapped v4 addresses

17 years agoRead action codes from correct location and tell ot_stats the correct number of incom...
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.

17 years agoFormatting
erdgeist [Tue, 3 Feb 2009 16:46:31 +0000 (16:46 +0000)] 
Formatting

17 years agoReverse logic... do only fail if scan_ip6 cant parse
erdgeist [Tue, 3 Feb 2009 16:46:16 +0000 (16:46 +0000)] 
Reverse logic... do only fail if scan_ip6 cant parse

17 years agoReverse logic... do only sync those NOT coming from multi cast
erdgeist [Tue, 3 Feb 2009 16:45:44 +0000 (16:45 +0000)] 
Reverse logic... do only sync those NOT coming from multi cast

17 years agodecrease the udp multicast packetsize so it fits into one ether frame
denis [Tue, 3 Feb 2009 14:41:17 +0000 (14:41 +0000)] 
decrease the udp multicast packetsize so it fits into one ether frame

17 years agoForgot to copy the stats?mode=tcp4 parameter
erdgeist [Tue, 3 Feb 2009 12:21:36 +0000 (12:21 +0000)] 
Forgot to copy the stats?mode=tcp4 parameter

17 years agoMake snprintf write to the correct location
erdgeist [Mon, 26 Jan 2009 11:30:10 +0000 (11:30 +0000)] 
Make snprintf write to the correct location

17 years agoLot of Gehacktes around this keyword scanner. Don't return a match if string to compa...
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.

17 years agoThis memmove was for real...
erdgeist [Wed, 21 Jan 2009 00:11:57 +0000 (00:11 +0000)] 
This memmove was for real...

17 years agoLimit comparison of strings to the length of the shorter string
erdgeist [Mon, 19 Jan 2009 18:22:25 +0000 (18:22 +0000)] 
Limit comparison of strings to the length of the shorter string

17 years agoFix a pointer arithmetic issue leading to incorrect peer data being copied. Allocate...
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.

17 years agoRemove debug message
erdgeist [Fri, 16 Jan 2009 02:28:54 +0000 (02:28 +0000)] 
Remove debug message

17 years agoUse a self pipe to wake from io_wait when a thread finished his work.
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.

17 years agoAdd comments, rename our struct http_data h to cookie, all clientsockets to sock...
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

17 years agoSome premature optimization lead to always only 8bytes of ot_peers being copied
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

17 years agoMake v4 and v6 modes v4/v6-ONLY
erdgeist [Thu, 15 Jan 2009 16:20:47 +0000 (16:20 +0000)] 
Make v4 and v6 modes v4/v6-ONLY

17 years agoWe sent an incorrect reply dictionary vor v6 announces
erdgeist [Thu, 15 Jan 2009 16:20:18 +0000 (16:20 +0000)] 
We sent an incorrect reply dictionary vor v6 announces

17 years agofix parser
erdgeist [Wed, 14 Jan 2009 00:05:06 +0000 (00:05 +0000)] 
fix parser

17 years agoV6
erdgeist [Tue, 13 Jan 2009 22:41:17 +0000 (22:41 +0000)] 
V6

17 years ago* http and udp routines now use thread local buffers passed in workstruct containers...
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

17 years agoMake opentracker ANSI C again.
erdgeist [Sat, 3 Jan 2009 03:25:37 +0000 (03:25 +0000)] 
Make opentracker ANSI C again.

17 years ago* opentracker now drops permissions in correct order and really chroots() if ran...
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.

17 years agoIntroduce new flag WANT_SYNC_SCRAPE
erdgeist [Fri, 2 Jan 2009 07:55:11 +0000 (07:55 +0000)] 
Introduce new flag WANT_SYNC_SCRAPE

17 years agoFix incorrect prototype for accesslist_deinit
erdgeist [Fri, 2 Jan 2009 07:52:17 +0000 (07:52 +0000)] 
Fix incorrect prototype for accesslist_deinit

17 years agominor white space
erdgeist [Thu, 1 Jan 2009 17:49:50 +0000 (17:49 +0000)] 
minor white space

17 years agominoe white space
erdgeist [Thu, 1 Jan 2009 17:44:04 +0000 (17:44 +0000)] 
minoe white space

17 years agoFix badly formed bencoded answer to stopped events
erdgeist [Tue, 30 Dec 2008 18:40:09 +0000 (18:40 +0000)] 
Fix badly formed bencoded answer to stopped events

17 years agoFix: Did not time stamp a torrent correctly, that once timed out and came back to...
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

17 years agoPropose a scrape sync protocol.
erdgeist [Wed, 10 Dec 2008 14:19:37 +0000 (14:19 +0000)] 
Propose a scrape sync protocol.