Commit Graph

660 Commits (db28465e0c8b30cb7d5e4e9636d4b7a10793656c)
 

Author SHA1 Message Date
erdgeist eda3ae7f91 Add debug code to spot peers that come back too early 16 years ago
erdgeist 2c7c10138b Add debug code to store peer id 16 years ago
erdgeist e2199cc504 New peer flag to see, whether peer came from announce or sync 16 years ago
erdgeist 0523b429ae Aid spotting bad clients... 16 years ago
denis bfbb5ecb44 stats fuer sync 16 years ago
erdgeist 566e8267e1 Live Sync for peers that do not come back too early. 16 years ago
erdgeist 334c6e4bbb The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
erdgeist ff6c0339c1 Bugfix: Number of Pools << Number of Buckets 16 years ago
erdgeist 272abf8430 Try to use much less memory and hope for speedups 16 years ago
erdgeist 18b6e9b212 Spread the amount of time spent in cleanup about 2 minutes 16 years ago
erdgeist 9c0b23e28d Add stats about when peers renew their announces. 16 years ago
erdgeist 3f5468672b Never let vectors shrink below their minimal capacity 16 years ago
erdgeist 933f8d9b52 Formatting 16 years ago
erdgeist bb1c5d2805 Add stats about when peers renew their announces. 16 years ago
erdgeist daaee855b2 Whitespace fixes 16 years ago
denis 55d03b9a1b fixed typo 16 years ago
erdgeist 39ed6a058b Fix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute. 16 years ago
erdgeist 511a92e321 First vector has size 1, not 0 in debug vector 16 years ago
erdgeist 529919ac83 Fix: blacklist and whitelist config option parsing code was the wrong way 16 years ago
erdgeist c7bc370b27 Document WANT_RESTRICT_STATS in sample config file 16 years ago
erdgeist 06b503a11f Enable stats restricting config file option 16 years ago
erdgeist 80fd4dc738 Tidy up stats task. 16 years ago
erdgeist e89a8aaf58 Move more complicated stats code to its own thread 16 years ago
erdgeist 97980de3d9 Introduce vector debuggin code and stats restriction options 16 years ago
erdgeist cbd39af72d Add code to debug vector code performance. 16 years ago
denis 41a1d2d025 fixed the length 16 years ago
erdgeist 4b31dce3b3 release pools only after all other services have been stopped. 16 years ago
erdgeist f4283be677 Fix debug output for addresses >127 16 years ago
erdgeist 0deb06d544 Reverting last commit. Debug effect not seen. 16 years ago
erdgeist 0f271421c3 Add config option for naming threads 16 years ago
erdgeist ec0affa97d allow threads to be named. not posix compliant. 16 years ago
denis 1c3c5d57da only sync when the peer is actually added to the first pool. this saves ca. 40% syncdata 16 years ago
erdgeist 719858548d Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP 16 years ago
erdgeist 0dafc2ab26 Bugfix: overwrote bencoded data with udp reply data when sending an event=stopped 16 years ago
erdgeist fae73214af 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. 16 years ago
erdgeist 07dbc87986 Futher clean up config file documentation 16 years ago
erdgeist b12077ad3a Add some explanations about the implicite :6969 and the ancient tracker sync format 16 years ago
erdgeist bca01f4cde document the new config file feature. 16 years ago
erdgeist 206c74ee2f Make ot_try_bind local again. 16 years ago
erdgeist 465cc2ecdf Live sync is now handled in its own thread. Therefore it now creates and handles its own sockets. 16 years ago
erdgeist 17724dde29 Make ot_try_bind local again. Also dont handle multi cast udp packets in opentracker.c, ot_livesync.c does it by itself. 16 years ago
erdgeist 01ea1648d8 Cosmetics 16 years ago
erdgeist a5917ab6e0 Add _DEBUG flag for debug builds. This flag enables some diagnostic messages. 16 years ago
erdgeist 68b1b8409b Make scan_ip4_port API more sane, add debug output, be less tolerant when syntax checking command line options 16 years ago
erdgeist 01c9c3695c Enabled debug output, fixed blessed ip permissions 16 years ago
erdgeist eac898afd8 white space in comment 16 years ago
erdgeist e534db03c6 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,
16 years ago
erdgeist 8cbfc8602c Cleaning up Build time options. Also add ot_livesync.[ch] 16 years ago
erdgeist 00c8a89efe Live syncing between multiple tracker instances via udp multicast. 16 years ago
erdgeist cee13cbebb Refine config syntax. Testing code... 16 years ago