c6947b160fHandle program end more politely
erdgeist
2008-12-07 03:50:51 +0000
ad8c9ee1efAvoid cast warning on 64bit machines
erdgeist
2008-12-06 20:21:15 +0000
08c7162783Renamed 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
erdgeist
2008-12-06 18:46:00 +0000
a4ed31d517Format for full scrapes was not parsed correctly.
erdgeist
2008-12-06 16:57:10 +0000
256f2c6f98Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT
erdgeist
2008-12-06 00:41:12 +0000
258cae746fForgot one define READ32
erdgeist
2008-12-06 00:40:36 +0000
5fb58458f6Tidy up unnecessary includes
erdgeist
2008-12-05 21:28:40 +0000
08d9c342d4Add 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.
erdgeist
2008-12-05 20:36:00 +0000
23be5c4d55Let's give a damn about syntactical correctness of peer's http strings. It's too expensive on both sides to check and to reject.
erdgeist
2008-12-05 20:34:24 +0000
7120799379Now enforce that peers do not come back before our interval by giving out a 'min interval' in responses.
erdgeist
2008-12-03 23:25:45 +0000
405ef01dd3printf is buffered, write not. Use printf for all.
erdgeist
2008-12-03 20:49:52 +0000
76da780220fix size of 0 issue
erdgeist
2008-12-03 20:49:25 +0000
eda3ae7f91Add debug code to spot peers that come back too early
erdgeist
2008-12-03 20:40:50 +0000
2c7c10138bAdd debug code to store peer id
erdgeist
2008-12-03 20:40:25 +0000
e2199cc504New peer flag to see, whether peer came from announce or sync
erdgeist
2008-12-03 20:39:23 +0000
0523b429aeAid spotting bad clients...
erdgeist
2008-12-03 20:38:25 +0000
566e8267e1Live Sync for peers that do not come back too early.
erdgeist
2008-12-01 17:56:53 +0000
334c6e4bbbThe BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
erdgeist
2008-11-28 22:21:10 +0000
35dbfb637bThis commit was manufactured by cvs2svn to create tag 'OPENTRACKER_WITH_BATCHSYNC'.
OPENTRACKER_WITH_BATCHSYNC
cvs2git
2008-11-03 10:34:55 +0000
ff6c0339c1Bugfix: Number of Pools << Number of Buckets
erdgeist
2008-11-03 10:34:54 +0000
272abf8430Try to use much less memory and hope for speedups
erdgeist
2008-11-03 01:52:51 +0000
18b6e9b212Spread the amount of time spent in cleanup about 2 minutes
erdgeist
2008-11-03 01:52:23 +0000
9c0b23e28dAdd stats about when peers renew their announces.
erdgeist
2008-11-03 01:52:02 +0000
3f5468672bNever let vectors shrink below their minimal capacity
erdgeist
2008-11-03 01:28:10 +0000
39ed6a058bFix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute.
erdgeist
2008-10-28 00:24:14 +0000
511a92e321First vector has size 1, not 0 in debug vector
erdgeist
2008-10-28 00:23:32 +0000
529919ac83Fix: blacklist and whitelist config option parsing code was the wrong way
erdgeist
2008-10-26 12:01:58 +0000
c7bc370b27Document WANT_RESTRICT_STATS in sample config file
erdgeist
2008-10-24 00:06:35 +0000
41a1d2d025fixed the length
denis
2008-10-22 21:28:00 +0000
4b31dce3b3release pools only after all other services have been stopped.
erdgeist
2008-10-17 15:21:47 +0000
f4283be677Fix debug output for addresses >127
erdgeist
2008-10-17 15:21:11 +0000
0deb06d544Reverting last commit. Debug effect not seen.
erdgeist
2008-10-07 23:53:29 +0000
0f271421c3Add config option for naming threads
erdgeist
2008-10-07 23:45:26 +0000
ec0affa97dallow threads to be named. not posix compliant.
erdgeist
2008-10-07 23:44:59 +0000
1c3c5d57daonly sync when the peer is actually added to the first pool. this saves ca. 40% syncdata
denis
2008-10-07 02:09:38 +0000
719858548dBugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP
erdgeist
2008-10-06 20:18:42 +0000
0dafc2ab26Bugfix: overwrote bencoded data with udp reply data when sending an event=stopped
erdgeist
2008-10-06 19:43:52 +0000
fae73214afA 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.
erdgeist
2008-10-06 11:42:03 +0000
07dbc87986Futher clean up config file documentation
erdgeist
2008-10-06 03:59:25 +0000
b12077ad3aAdd some explanations about the implicite :6969 and the ancient tracker sync format
erdgeist
2008-10-06 03:46:42 +0000
bca01f4cdedocument the new config file feature.
erdgeist
2008-10-06 03:42:51 +0000
206c74ee2fMake ot_try_bind local again.
erdgeist
2008-10-06 02:06:23 +0000
465cc2ecdfLive sync is now handled in its own thread. Therefore it now creates and handles its own sockets.
erdgeist
2008-10-06 02:05:53 +0000
17724dde29Make ot_try_bind local again. Also dont handle multi cast udp packets in opentracker.c, ot_livesync.c does it by itself.
erdgeist
2008-10-06 02:03:08 +0000
a5917ab6e0Add _DEBUG flag for debug builds. This flag enables some diagnostic messages.
erdgeist
2008-10-05 12:31:14 +0000
68b1b8409bMake scan_ip4_port API more sane, add debug output, be less tolerant when syntax checking command line options
erdgeist
2008-10-05 12:30:06 +0000
eac898afd8white space in comment
erdgeist
2008-10-05 12:28:12 +0000
e534db03c6added 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
erdgeist
2008-10-04 05:40:51 +0000
8cbfc8602cCleaning up Build time options. Also add ot_livesync.[ch]
erdgeist
2008-10-03 21:35:03 +0000
00c8a89efeLive syncing between multiple tracker instances via udp multicast.
erdgeist
2008-10-03 21:33:53 +0000
a146a32885Be a little more verbose about why increases fail
erdgeist
2007-12-04 23:11:05 +0000
0bfab763d8print ip addresses from unsigned chars
erdgeist
2007-12-04 23:04:24 +0000
362a0e052a[19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel!
denis
2007-12-04 18:29:34 +0000
828831bbb6Dont need arpa/inet
erdgeist
2007-12-03 01:21:34 +0000
f6d1a67966Avoid warnings about unused variables without certain defines
erdgeist
2007-12-03 01:21:12 +0000
bb9ffc7e61Fix a broken merge result
erdgeist
2007-12-03 01:20:44 +0000
d3b8375080Fix include for iovecs
erdgeist
2007-12-03 01:20:27 +0000
dafe5c9f6cadd newline to end of file
erdgeist
2007-12-03 01:12:25 +0000
0fe76f811bReflect changes for ot_http.* in project file
erdgeist
2007-12-03 01:09:25 +0000
848a06a706Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes
erdgeist
2007-12-03 01:07:41 +0000
9bc0d99c62Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also move run time keeping and FULLSCRAPE stderr output to ot_stats
erdgeist
2007-12-03 01:05:32 +0000