Commit Graph

364 Commits (e534db03c6877f8ac0559f63840e9a00e9bd43bf)
 

Author SHA1 Message Date
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
erdgeist fb50f0fade Add a config file framework to opentracker 16 years ago
denis b637fdcdf3 add missing include on linux 17 years ago
denis a16b067e60 now checking for the correct connection-id we gave out 17 years ago
denis 3655976223 use a more reasonable compression level 17 years ago
denis c71505fd9a send out the total downloaders for a announce response 17 years ago
erdgeist 96243526c4 Typo in Makefile, thanks to Steffen. 17 years ago
erdgeist cadf1803e1 Fix endianess issues, also obey number of peers requested in udp announces 17 years ago
erdgeist 90184649d0 Embarrasing counter direction bug :) 17 years ago
erdgeist 572df73443 Forgot to #ifdef some code only interesting when doing live network logging. 17 years ago
erdgeist 408c5f98ed Introducing live busy network detection. 17 years ago
erdgeist 7050e027d3 sys/param.h needed under openbsd 17 years ago
erdgeist 57387588ed Enable revision watching from the internet 17 years ago
erdgeist eadb0b8436 But keep Makefile in the libowfat is at ../libowfat state. 17 years ago
erdgeist c28cf398fd Introduce some kind of versioning 17 years ago
erdgeist d9ed6c22bd Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting. 17 years ago
erdgeist 0cfd1e575d Add documentation to our uri scanner 17 years ago
erdgeist ac078bccf2 too many wrong udp requests scroll too much :) disable logging for now 17 years ago
erdgeist 2f4246396e more udp debugging 17 years ago
erdgeist cc47504af2 Do not lock out well behaving clients 17 years ago
erdgeist cac5a31d93 more udp debugging 17 years ago
erdgeist 8d00b1e039 Prepare udp connection id generation and checking 17 years ago
denis 65c3b24045 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
17 years ago
erdgeist c2cbe1dc27 A simple script that fills up opentracker with some peers, if -DWANT_IP_FROM_QUERY_STRING is specifierd 17 years ago
denis 19cc9ba882 add mrtgstyle stats for number of torrents 17 years ago
erdgeist bee364a6f3 / can now be redirected to any URL 17 years ago
erdgeist 31d876d53d Count invalid requests 17 years ago
erdgeist a146a32885 Be a little more verbose about why increases fail 17 years ago
erdgeist 0bfab763d8 print ip addresses from unsigned chars 17 years ago
denis 362a0e052a [19:19] <eRdgEiSt> Denis: erdgeist ist ein Volltrottel! 17 years ago
erdgeist 828831bbb6 Dont need arpa/inet 17 years ago
erdgeist f6d1a67966 Avoid warnings about unused variables without certain defines 17 years ago
erdgeist bb9ffc7e61 Fix a broken merge result 17 years ago
erdgeist d3b8375080 Fix include for iovecs 17 years ago
erdgeist dafe5c9f6c add newline to end of file 17 years ago
erdgeist 0fe76f811b Reflect changes for ot_http.* in project file 17 years ago
erdgeist 848a06a706 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 17 years ago
erdgeist 9bc0d99c62 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also move run time keeping and FULLSCRAPE stderr output to ot_stats 17 years ago
erdgeist 598b68561b Introduce new ot_http.c and ot_http.h 17 years ago
erdgeist ec5421cec1 Simplify includes, add new STATS code for scrapes 17 years ago
erdgeist fd41161407 Finally split up the opentracker.c cruft into ot_http.c, ot_accesslist.c and just leave in socket handling and parameter parsing 17 years ago
erdgeist b0e4ebbbf2 Simplify includes 17 years ago
erdgeist 89f291566b Drop ot_{byte,word,dword} and use uint{8,16,32}_t 17 years ago
erdgeist 5d18bf211c Move blessed IP handling code to accesslist objects 17 years ago
erdgeist afea7d5ee2 Move http handling to its own sources 17 years ago
denis 0a1cc18358 add scrape stats and small correction to udp stats 17 years ago
erdgeist ae1863f232 Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore. 17 years ago