Commit Graph

494 Commits (8d25bf2d31189275e0a542a1c3c9b804bd50cc2b)
 

Author SHA1 Message Date
erdgeist 39ed6a058b Fix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute.
erdgeist 511a92e321 First vector has size 1, not 0 in debug vector
erdgeist 529919ac83 Fix: blacklist and whitelist config option parsing code was the wrong way
erdgeist c7bc370b27 Document WANT_RESTRICT_STATS in sample config file
erdgeist 06b503a11f Enable stats restricting config file option
erdgeist 80fd4dc738 Tidy up stats task.
erdgeist e89a8aaf58 Move more complicated stats code to its own thread
erdgeist 97980de3d9 Introduce vector debuggin code and stats restriction options
erdgeist cbd39af72d Add code to debug vector code performance.
denis 41a1d2d025 fixed the length
erdgeist 4b31dce3b3 release pools only after all other services have been stopped.
erdgeist f4283be677 Fix debug output for addresses >127
erdgeist 0deb06d544 Reverting last commit. Debug effect not seen.
erdgeist 0f271421c3 Add config option for naming threads
erdgeist ec0affa97d allow threads to be named. not posix compliant.
denis 1c3c5d57da only sync when the peer is actually added to the first pool. this saves ca. 40% syncdata
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
erdgeist 0dafc2ab26 Bugfix: overwrote bencoded data with udp reply data when sending an event=stopped
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.
erdgeist 07dbc87986 Futher clean up config file documentation
erdgeist b12077ad3a Add some explanations about the implicite :6969 and the ancient tracker sync format
erdgeist bca01f4cde document the new config file feature.
erdgeist 206c74ee2f Make ot_try_bind local again.
erdgeist 465cc2ecdf Live sync is now handled in its own thread. Therefore it now creates and handles its own sockets.
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.
erdgeist 01ea1648d8 Cosmetics
erdgeist a5917ab6e0 Add _DEBUG flag for debug builds. This flag enables some diagnostic messages.
erdgeist 68b1b8409b Make scan_ip4_port API more sane, add debug output, be less tolerant when syntax checking command line options
erdgeist 01c9c3695c Enabled debug output, fixed blessed ip permissions
erdgeist eac898afd8 white space in comment
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,
erdgeist 8cbfc8602c Cleaning up Build time options. Also add ot_livesync.[ch]
erdgeist 00c8a89efe Live syncing between multiple tracker instances via udp multicast.
erdgeist cee13cbebb Refine config syntax. Testing code...
erdgeist fb50f0fade Add a config file framework to opentracker
denis b637fdcdf3 add missing include on linux
denis a16b067e60 now checking for the correct connection-id we gave out
denis 3655976223 use a more reasonable compression level
denis c71505fd9a send out the total downloaders for a announce response
erdgeist 96243526c4 Typo in Makefile, thanks to Steffen.
erdgeist cadf1803e1 Fix endianess issues, also obey number of peers requested in udp announces
erdgeist 90184649d0 Embarrasing counter direction bug :)
erdgeist 572df73443 Forgot to #ifdef some code only interesting when doing live network logging.
erdgeist 408c5f98ed Introducing live busy network detection.
erdgeist 7050e027d3 sys/param.h needed under openbsd
erdgeist 57387588ed Enable revision watching from the internet
erdgeist eadb0b8436 But keep Makefile in the libowfat is at ../libowfat state.
erdgeist c28cf398fd Introduce some kind of versioning
erdgeist d9ed6c22bd Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting.
erdgeist 0cfd1e575d Add documentation to our uri scanner