]> git.ipfire.org Git - thirdparty/opentracker.git/log
thirdparty/opentracker.git
17 years agoMake all torrents in their buckets sorted again.
erdgeist [Mon, 8 Dec 2008 02:23:21 +0000 (02:23 +0000)] 
Make all torrents in their buckets sorted again.

17 years agoFix: auto increment in += is not a post increment...
erdgeist [Sun, 7 Dec 2008 13:14:24 +0000 (13:14 +0000)] 
Fix: auto increment in += is not a post increment...

17 years agoFix post increase on wrong pointer type.
erdgeist [Sun, 7 Dec 2008 12:04:43 +0000 (12:04 +0000)] 
Fix post increase on wrong pointer type.

17 years agoUsed wrong variable as offset into hash to copy
erdgeist [Sun, 7 Dec 2008 12:04:03 +0000 (12:04 +0000)] 
Used wrong variable as offset into hash to copy

17 years agoHandle program end more politely
erdgeist [Sun, 7 Dec 2008 03:50:51 +0000 (03:50 +0000)] 
Handle program end more politely

17 years agoAvoid cast warning on 64bit machines
erdgeist [Sat, 6 Dec 2008 20:21:15 +0000 (20:21 +0000)] 
Avoid cast warning on 64bit machines

17 years agoRenamed OT_FLAG to OT_PEERFLAG to make code easier to read
erdgeist [Sat, 6 Dec 2008 18:46:00 +0000 (18:46 +0000)] 
Renamed OT_FLAG to OT_PEERFLAG to make code easier to read
Introduced READ16/32 and WRITE16/32 makros to abstract loading/storing from unaligned addresses away on cpu's that can actually load/store everywhere
Removed all unnecessary memmoves, especially where it only moved 6 bytes in inner loop. I replaced them with WRITE16/32(READ16/32()) makros

17 years agoFormat for full scrapes was not parsed correctly.
erdgeist [Sat, 6 Dec 2008 16:57:10 +0000 (16:57 +0000)] 
Format for full scrapes was not parsed correctly.

17 years agoMake mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT
erdgeist [Sat, 6 Dec 2008 00:41:12 +0000 (00:41 +0000)] 
Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT

17 years agoForgot one define READ32
erdgeist [Sat, 6 Dec 2008 00:40:36 +0000 (00:40 +0000)] 
Forgot one define READ32

17 years agoTidy up unnecessary includes
erdgeist [Fri, 5 Dec 2008 21:28:40 +0000 (21:28 +0000)] 
Tidy up unnecessary includes

17 years agoAdd specialized vector functions to handle peers in sorted lists
erdgeist [Fri, 5 Dec 2008 20:36:00 +0000 (20:36 +0000)] 
Add specialized vector functions to handle peers in sorted lists
Assume that compare_size is a mulptiple of 4 in all non-specialized cases and load int32_t to compare.

17 years agoLet's give a damn about syntactical correctness of peer's http strings. It's too...
erdgeist [Fri, 5 Dec 2008 20:34:24 +0000 (20:34 +0000)] 
Let's give a damn about syntactical correctness of peer's http strings. It's too expensive on both sides to check and to reject.

17 years agoNow enforce that peers do not come back before our interval by giving out a 'min...
erdgeist [Wed, 3 Dec 2008 23:25:45 +0000 (23:25 +0000)] 
Now enforce that peers do not come back before our interval by giving out a 'min interval' in responses.

17 years agoprintf is buffered, write not. Use printf for all.
erdgeist [Wed, 3 Dec 2008 20:49:52 +0000 (20:49 +0000)] 
printf is buffered, write not. Use printf for all.

17 years agofix size of 0 issue
erdgeist [Wed, 3 Dec 2008 20:49:25 +0000 (20:49 +0000)] 
fix size of 0 issue

17 years agoAdd debug code to spot peers that come back too early
erdgeist [Wed, 3 Dec 2008 20:40:50 +0000 (20:40 +0000)] 
Add debug code to spot peers that come back too early

17 years agoAdd debug code to store peer id
erdgeist [Wed, 3 Dec 2008 20:40:25 +0000 (20:40 +0000)] 
Add debug code to store peer id

17 years agoNew peer flag to see, whether peer came from announce or sync
erdgeist [Wed, 3 Dec 2008 20:39:23 +0000 (20:39 +0000)] 
New peer flag to see, whether peer came from announce or sync

17 years agoAid spotting bad clients...
erdgeist [Wed, 3 Dec 2008 20:38:25 +0000 (20:38 +0000)] 
Aid spotting bad clients...

17 years agostats fuer sync
denis [Wed, 3 Dec 2008 20:36:16 +0000 (20:36 +0000)] 
stats fuer sync

17 years agoLive Sync for peers that do not come back too early.
erdgeist [Mon, 1 Dec 2008 17:56:53 +0000 (17:56 +0000)] 
Live Sync for peers that do not come back too early.

17 years agoThe BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you...
erdgeist [Fri, 28 Nov 2008 22:21:10 +0000 (22:21 +0000)] 
The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.

17 years agoBugfix: Number of Pools << Number of Buckets
erdgeist [Mon, 3 Nov 2008 10:34:54 +0000 (10:34 +0000)] 
Bugfix: Number of Pools << Number of Buckets

17 years agoTry to use much less memory and hope for speedups
erdgeist [Mon, 3 Nov 2008 01:52:51 +0000 (01:52 +0000)] 
Try to use much less memory and hope for speedups

17 years agoSpread the amount of time spent in cleanup about 2 minutes
erdgeist [Mon, 3 Nov 2008 01:52:23 +0000 (01:52 +0000)] 
Spread the amount of time spent in cleanup about 2 minutes

17 years agoAdd stats about when peers renew their announces.
erdgeist [Mon, 3 Nov 2008 01:52:02 +0000 (01:52 +0000)] 
Add stats about when peers renew their announces.

17 years agoNever let vectors shrink below their minimal capacity
erdgeist [Mon, 3 Nov 2008 01:28:10 +0000 (01:28 +0000)] 
Never let vectors shrink below their minimal capacity

17 years agoFormatting
erdgeist [Mon, 3 Nov 2008 01:27:03 +0000 (01:27 +0000)] 
Formatting

17 years agoAdd stats about when peers renew their announces.
erdgeist [Mon, 3 Nov 2008 01:26:38 +0000 (01:26 +0000)] 
Add stats about when peers renew their announces.

17 years agoWhitespace fixes
erdgeist [Tue, 28 Oct 2008 01:27:22 +0000 (01:27 +0000)] 
Whitespace fixes

17 years agofixed typo
denis [Tue, 28 Oct 2008 00:30:08 +0000 (00:30 +0000)] 
fixed typo

17 years agoFix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsa...
erdgeist [Tue, 28 Oct 2008 00:24:14 +0000 (00:24 +0000)] 
Fix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute.

17 years agoFirst vector has size 1, not 0 in debug vector
erdgeist [Tue, 28 Oct 2008 00:23:32 +0000 (00:23 +0000)] 
First vector has size 1, not 0 in debug vector

17 years agoFix: blacklist and whitelist config option parsing code was the wrong way
erdgeist [Sun, 26 Oct 2008 12:01:58 +0000 (12:01 +0000)] 
Fix: blacklist and whitelist config option parsing code was the wrong way

17 years agoDocument WANT_RESTRICT_STATS in sample config file
erdgeist [Fri, 24 Oct 2008 00:06:35 +0000 (00:06 +0000)] 
Document WANT_RESTRICT_STATS in sample config file

17 years agoEnable stats restricting config file option
erdgeist [Fri, 24 Oct 2008 00:04:02 +0000 (00:04 +0000)] 
Enable stats restricting config file option

17 years agoTidy up stats task.
erdgeist [Fri, 24 Oct 2008 00:03:18 +0000 (00:03 +0000)] 
Tidy up stats task.

17 years agoMove more complicated stats code to its own thread
erdgeist [Fri, 24 Oct 2008 00:01:42 +0000 (00:01 +0000)] 
Move more complicated stats code to its own thread

17 years agoIntroduce vector debuggin code and stats restriction options
erdgeist [Fri, 24 Oct 2008 00:00:55 +0000 (00:00 +0000)] 
Introduce vector debuggin code and stats restriction options

17 years agoAdd code to debug vector code performance.
erdgeist [Thu, 23 Oct 2008 23:58:18 +0000 (23:58 +0000)] 
Add code to debug vector code performance.

17 years agofixed the length
denis [Wed, 22 Oct 2008 21:28:00 +0000 (21:28 +0000)] 
fixed the length

17 years agorelease pools only after all other services have been stopped.
erdgeist [Fri, 17 Oct 2008 15:21:47 +0000 (15:21 +0000)] 
release pools only after all other services have been stopped.

17 years agoFix debug output for addresses >127
erdgeist [Fri, 17 Oct 2008 15:21:11 +0000 (15:21 +0000)] 
Fix debug output for addresses >127

17 years agoReverting last commit. Debug effect not seen.
erdgeist [Tue, 7 Oct 2008 23:53:29 +0000 (23:53 +0000)] 
Reverting last commit. Debug effect not seen.

17 years agoAdd config option for naming threads
erdgeist [Tue, 7 Oct 2008 23:45:26 +0000 (23:45 +0000)] 
Add config option for naming threads

17 years agoallow threads to be named. not posix compliant.
erdgeist [Tue, 7 Oct 2008 23:44:59 +0000 (23:44 +0000)] 
allow threads to be named. not posix compliant.

17 years agoonly sync when the peer is actually added to the first pool. this saves ca. 40% syncdata
denis [Tue, 7 Oct 2008 02:09:38 +0000 (02:09 +0000)] 
only sync when the peer is actually added to the first pool. this saves ca. 40% syncdata

17 years agoBugfix: API change missed in two points, when calling return_peers_for_torrent. is_tc...
erdgeist [Mon, 6 Oct 2008 20:18:42 +0000 (20:18 +0000)] 
Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP

17 years agoBugfix: overwrote bencoded data with udp reply data when sending an event=stopped
erdgeist [Mon, 6 Oct 2008 19:43:52 +0000 (19:43 +0000)] 
Bugfix: overwrote bencoded data with udp reply data when sending an event=stopped

17 years agoA new config file option to connect to tcp and udp at once has been added. Also some...
erdgeist [Mon, 6 Oct 2008 11:42:03 +0000 (11:42 +0000)] 
A new config file option to connect to tcp and udp at once has been added. Also some clarifications have been put into the sample config file.

17 years agoFuther clean up config file documentation
erdgeist [Mon, 6 Oct 2008 03:59:25 +0000 (03:59 +0000)] 
Futher clean up config file documentation

17 years agoAdd some explanations about the implicite :6969 and the ancient tracker sync format
erdgeist [Mon, 6 Oct 2008 03:46:42 +0000 (03:46 +0000)] 
Add some explanations about the implicite :6969 and the ancient tracker sync format

17 years agodocument the new config file feature.
erdgeist [Mon, 6 Oct 2008 03:42:51 +0000 (03:42 +0000)] 
document the new config file feature.

17 years agoMake ot_try_bind local again.
erdgeist [Mon, 6 Oct 2008 02:06:23 +0000 (02:06 +0000)] 
Make ot_try_bind local again.

17 years agoLive sync is now handled in its own thread. Therefore it now creates and handles...
erdgeist [Mon, 6 Oct 2008 02:05:53 +0000 (02:05 +0000)] 
Live sync is now handled in its own thread. Therefore it now creates and handles its own sockets.

17 years agoMake ot_try_bind local again. Also dont handle multi cast udp packets in opentracker...
erdgeist [Mon, 6 Oct 2008 02:03:08 +0000 (02:03 +0000)] 
Make ot_try_bind local again. Also dont handle multi cast udp packets in opentracker.c, ot_livesync.c does it by itself.

17 years agoCosmetics
erdgeist [Mon, 6 Oct 2008 02:02:12 +0000 (02:02 +0000)] 
Cosmetics

17 years agoAdd _DEBUG flag for debug builds. This flag enables some diagnostic messages.
erdgeist [Sun, 5 Oct 2008 12:31:14 +0000 (12:31 +0000)] 
Add _DEBUG flag for debug builds. This flag enables some diagnostic messages.

17 years agoMake scan_ip4_port API more sane, add debug output, be less tolerant when syntax...
erdgeist [Sun, 5 Oct 2008 12:30:06 +0000 (12:30 +0000)] 
Make scan_ip4_port API more sane, add debug output, be less tolerant when syntax checking command line options

17 years agoEnabled debug output, fixed blessed ip permissions
erdgeist [Sun, 5 Oct 2008 12:28:57 +0000 (12:28 +0000)] 
Enabled debug output, fixed blessed ip permissions

17 years agowhite space in comment
erdgeist [Sun, 5 Oct 2008 12:28:12 +0000 (12:28 +0000)] 
white space in comment

17 years agoadded live sync code
erdgeist [Sat, 4 Oct 2008 05:40:51 +0000 (05:40 +0000)] 
added live sync code
added a config file parser
added tracker id
changed WANT_CLOSED_TRACKER and WANT_BLACKLIST into WANT_ACCESS_WHITE and WANT_ACCESS_BLACK
changed WANT_TRACKER_SYNC to WANT_SYNC_BATCH and added WANT_SYNC_LIVE
added an option to switch off fullscrapes

cleaned up many internal hardcoded values, like PROTO_FLAG,

17 years agoCleaning up Build time options. Also add ot_livesync.[ch]
erdgeist [Fri, 3 Oct 2008 21:35:03 +0000 (21:35 +0000)] 
Cleaning up Build time options. Also add ot_livesync.[ch]

17 years agoLive syncing between multiple tracker instances via udp multicast.
erdgeist [Fri, 3 Oct 2008 21:33:53 +0000 (21:33 +0000)] 
Live syncing between multiple tracker instances via udp multicast.

17 years agoRefine config syntax. Testing code...
erdgeist [Fri, 3 Oct 2008 18:30:28 +0000 (18:30 +0000)] 
Refine config syntax. Testing code...

17 years agoAdd a config file framework to opentracker
erdgeist [Tue, 23 Sep 2008 22:59:54 +0000 (22:59 +0000)] 
Add a config file framework to opentracker

17 years agoadd missing include on linux
denis [Wed, 17 Sep 2008 02:49:23 +0000 (02:49 +0000)] 
add missing include on linux

17 years agonow checking for the correct connection-id we gave out
denis [Mon, 15 Sep 2008 00:55:17 +0000 (00:55 +0000)] 
now checking for the correct connection-id we gave out

17 years agouse a more reasonable compression level
denis [Sun, 14 Sep 2008 17:11:19 +0000 (17:11 +0000)] 
use a more reasonable compression level

17 years agosend out the total downloaders for a announce response
denis [Sat, 30 Aug 2008 00:05:44 +0000 (00:05 +0000)] 
send out the total downloaders for a announce response

17 years agoTypo in Makefile, thanks to Steffen.
erdgeist [Wed, 7 May 2008 07:44:15 +0000 (07:44 +0000)] 
Typo in Makefile, thanks to Steffen.

18 years agoFix endianess issues, also obey number of peers requested in udp announces
erdgeist [Tue, 5 Feb 2008 01:55:06 +0000 (01:55 +0000)] 
Fix endianess issues, also obey number of peers requested in udp announces

18 years agoEmbarrasing counter direction bug :)
erdgeist [Fri, 25 Jan 2008 17:22:55 +0000 (17:22 +0000)] 
Embarrasing counter direction bug :)

18 years agoForgot to #ifdef some code only interesting when doing live network logging.
erdgeist [Thu, 17 Jan 2008 15:34:50 +0000 (15:34 +0000)] 
Forgot to #ifdef some code only interesting when doing live network logging.

18 years agoIntroducing live busy network detection.
erdgeist [Thu, 17 Jan 2008 10:46:25 +0000 (10:46 +0000)] 
Introducing live busy network detection.

18 years agosys/param.h needed under openbsd
erdgeist [Thu, 17 Jan 2008 07:52:17 +0000 (07:52 +0000)] 
sys/param.h needed under openbsd

18 years agoEnable revision watching from the internet
erdgeist [Thu, 20 Dec 2007 06:04:15 +0000 (06:04 +0000)] 
Enable revision watching from the internet

18 years agoBut keep Makefile in the libowfat is at ../libowfat state.
erdgeist [Thu, 20 Dec 2007 06:01:16 +0000 (06:01 +0000)] 
But keep Makefile in the libowfat is at ../libowfat state.

18 years agoIntroduce some kind of versioning
erdgeist [Thu, 20 Dec 2007 05:59:34 +0000 (05:59 +0000)] 
Introduce some kind of versioning

18 years agoForgot to unlock bucket in case of malloc error, thanks to Astro for reporting.
erdgeist [Mon, 17 Dec 2007 18:55:38 +0000 (18:55 +0000)] 
Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting.

18 years agoAdd documentation to our uri scanner
erdgeist [Mon, 17 Dec 2007 13:23:27 +0000 (13:23 +0000)] 
Add documentation to our uri scanner

18 years agotoo many wrong udp requests scroll too much :) disable logging for now
erdgeist [Sat, 15 Dec 2007 17:39:38 +0000 (17:39 +0000)] 
too many wrong udp requests scroll too much :) disable logging for now

18 years agomore udp debugging
erdgeist [Sat, 15 Dec 2007 17:35:27 +0000 (17:35 +0000)] 
more udp debugging

18 years agoDo not lock out well behaving clients
erdgeist [Sat, 15 Dec 2007 17:32:44 +0000 (17:32 +0000)] 
Do not lock out well behaving clients

18 years agomore udp debugging
erdgeist [Sat, 15 Dec 2007 17:21:22 +0000 (17:21 +0000)] 
more udp debugging

18 years agoPrepare udp connection id generation and checking
erdgeist [Sat, 15 Dec 2007 17:11:43 +0000 (17:11 +0000)] 
Prepare udp connection id generation and checking

18 years agoadd support for more stats:
denis [Fri, 14 Dec 2007 22:01:14 +0000 (22:01 +0000)] 
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

18 years agoA simple script that fills up opentracker with some peers, if -DWANT_IP_FROM_QUERY_ST...
erdgeist [Tue, 11 Dec 2007 23:34:36 +0000 (23:34 +0000)] 
A simple script that fills up opentracker with some peers, if -DWANT_IP_FROM_QUERY_STRING is specifierd

18 years agoadd mrtgstyle stats for number of torrents
denis [Sat, 8 Dec 2007 18:47:16 +0000 (18:47 +0000)] 
add mrtgstyle stats for number of torrents

18 years ago/ can now be redirected to any URL
erdgeist [Wed, 5 Dec 2007 01:40:24 +0000 (01:40 +0000)] 
/ can now be redirected to any URL

18 years agoCount invalid requests
erdgeist [Tue, 4 Dec 2007 23:57:29 +0000 (23:57 +0000)] 
Count invalid requests

18 years agoBe a little more verbose about why increases fail
erdgeist [Tue, 4 Dec 2007 23:11:05 +0000 (23:11 +0000)] 
Be a little more verbose about why increases fail

18 years agoprint ip addresses from unsigned chars
erdgeist [Tue, 4 Dec 2007 23:04:24 +0000 (23:04 +0000)] 
print ip addresses from unsigned chars

18 years ago[19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel!
denis [Tue, 4 Dec 2007 18:29:34 +0000 (18:29 +0000)] 
[19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel!

18 years agoDont need arpa/inet
erdgeist [Mon, 3 Dec 2007 01:21:34 +0000 (01:21 +0000)] 
Dont need arpa/inet

18 years ago Avoid warnings about unused variables without certain defines
erdgeist [Mon, 3 Dec 2007 01:21:12 +0000 (01:21 +0000)] 
 Avoid warnings about unused variables without certain defines

18 years agoFix a broken merge result
erdgeist [Mon, 3 Dec 2007 01:20:44 +0000 (01:20 +0000)] 
Fix a broken merge result

18 years agoFix include for iovecs
erdgeist [Mon, 3 Dec 2007 01:20:27 +0000 (01:20 +0000)] 
Fix include for iovecs

18 years agoadd newline to end of file
erdgeist [Mon, 3 Dec 2007 01:12:25 +0000 (01:12 +0000)] 
add newline to end of file