Commit Graph

399 Commits (18d338ce40a1137b9b70a54fc8cd2b8fdc3d6cbf)
 

Author SHA1 Message Date
Dirk Engling 18d338ce40 Never let vectors shrink below their minimal capacity 15 years ago
Dirk Engling 49c5139acf Formatting 15 years ago
Dirk Engling c8daa7bf86 Add stats about when peers renew their announces. 15 years ago
Dirk Engling 7dcd727ce6 Whitespace fixes 15 years ago
Denis Ahrens 32477fb1ba fixed typo 15 years ago
Dirk Engling 71b2ffcaa6 Fix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute. 15 years ago
Dirk Engling 022f3e7455 First vector has size 1, not 0 in debug vector 15 years ago
Dirk Engling 02a10e8849 Fix: blacklist and whitelist config option parsing code was the wrong way 15 years ago
Dirk Engling b3d596c243 Document WANT_RESTRICT_STATS in sample config file 15 years ago
Dirk Engling 53ce461698 Enable stats restricting config file option 15 years ago
Dirk Engling 6e77c03281 Tidy up stats task. 15 years ago
Dirk Engling 55cc5df1b7 Move more complicated stats code to its own thread 15 years ago
Dirk Engling ee330be078 Introduce vector debuggin code and stats restriction options 15 years ago
Dirk Engling 55632a2dca Add code to debug vector code performance. 15 years ago
Denis Ahrens 71bffcabab fixed the length 15 years ago
Dirk Engling 7a180be215 release pools only after all other services have been stopped. 15 years ago
Dirk Engling 344067166c Fix debug output for addresses >127 15 years ago
Dirk Engling 14f0a3ceea Reverting last commit. Debug effect not seen. 15 years ago
Dirk Engling aa7f40b77c Add config option for naming threads 15 years ago
Dirk Engling ad7c574c0e allow threads to be named. not posix compliant. 15 years ago
Denis Ahrens 779df22409 only sync when the peer is actually added to the first pool. this saves ca. 40% syncdata 15 years ago
Dirk Engling e88a799172 Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP 15 years ago
Dirk Engling 3e0cec3269 Bugfix: overwrote bencoded data with udp reply data when sending an event=stopped 15 years ago
Dirk Engling a564fd4b0c 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. 15 years ago
Dirk Engling 2b6ce1a704 Futher clean up config file documentation 15 years ago
Dirk Engling 025536fa11 Add some explanations about the implicite :6969 and the ancient tracker sync format 15 years ago
Dirk Engling a5b6909757 document the new config file feature. 15 years ago
Dirk Engling 5f7e2dafaa Make ot_try_bind local again. 15 years ago
Dirk Engling 0ded14be37 Live sync is now handled in its own thread. Therefore it now creates and handles its own sockets. 15 years ago
Dirk Engling 0903ac4387 Make ot_try_bind local again. Also dont handle multi cast udp packets in opentracker.c, ot_livesync.c does it by itself. 15 years ago
Dirk Engling 303e08e7c1 Cosmetics 15 years ago
Dirk Engling 499f07b3f0 Add _DEBUG flag for debug builds. This flag enables some diagnostic messages. 15 years ago
Dirk Engling 54da7d4257 Make scan_ip4_port API more sane, add debug output, be less tolerant when syntax checking command line options 15 years ago
Dirk Engling 3abbbe9d78 Enabled debug output, fixed blessed ip permissions 15 years ago
Dirk Engling 847ce85ae6 white space in comment 15 years ago
Dirk Engling e076dab883 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,
15 years ago
Dirk Engling 76416b5c1c Cleaning up Build time options. Also add ot_livesync.[ch] 15 years ago
Dirk Engling de7ee67519 Live syncing between multiple tracker instances via udp multicast. 15 years ago
Dirk Engling aded7ebc09 Refine config syntax. Testing code... 15 years ago
Dirk Engling b93f563d1a Add a config file framework to opentracker 15 years ago
Denis Ahrens eb1e99961a add missing include on linux 15 years ago
Denis Ahrens b804dd7e6f now checking for the correct connection-id we gave out 15 years ago
Denis Ahrens be02614464 use a more reasonable compression level 15 years ago
Denis Ahrens 4cd9d33d7c send out the total downloaders for a announce response 15 years ago
Dirk Engling 3dda0c7c7b Typo in Makefile, thanks to Steffen. 15 years ago
Dirk Engling 4ee5fe81c7 Fix endianess issues, also obey number of peers requested in udp announces 16 years ago
Dirk Engling 432cf92e7c Embarrasing counter direction bug :) 16 years ago
Dirk Engling 6b2cb4396a Forgot to #ifdef some code only interesting when doing live network logging. 16 years ago
Dirk Engling a7c47dce53 Introducing live busy network detection. 16 years ago
Dirk Engling 1b6a33a0f8 sys/param.h needed under openbsd 16 years ago