Commit Graph

23 Commits (bca8bee62334de23fdb28ae5a8fa76b5d72089cb)

Author SHA1 Message Date
erdgeist 08c7162783 Renamed 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
16 years ago
erdgeist a4ed31d517 Format for full scrapes was not parsed correctly. 16 years ago
erdgeist 23be5c4d55 Let's give a damn about syntactical correctness of peer's http strings. It's too expensive on both sides to check and to reject. 16 years ago
erdgeist 2c7c10138b Add debug code to store peer id 16 years ago
denis bfbb5ecb44 stats fuer sync 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 9c0b23e28d Add stats about when peers renew their announces. 16 years ago
erdgeist daaee855b2 Whitespace fixes 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 80fd4dc738 Tidy up stats task. 16 years ago
denis 41a1d2d025 fixed the length 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 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 408c5f98ed Introducing live busy network detection. 17 years ago
erdgeist 57387588ed Enable revision watching from the internet 17 years ago
erdgeist c28cf398fd Introduce some kind of versioning 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
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 f6d1a67966 Avoid warnings about unused variables without certain defines 17 years ago
erdgeist afea7d5ee2 Move http handling to its own sources 17 years ago