Commit Graph

26 Commits (c350fa0b3c323979f73d079d389219e7f98edc1b)

Author SHA1 Message Date
erdgeist 6ad00cadc5 Makefile defaults to an _open_ tracker again. 17 years ago
erdgeist c0b00c0bf5 * fixed "nobody " -> "nobody" fuckup when getpwnam-ing
* implemented basic blacklisting:
** the file specified with -b <BLACKLIST> is read and added to a blacklist vector
** if an announce hits a torrent in that blacklist vector, add_peer_to_torrent fails
** sending a SIGHUP to the program forces it to reread the blacklists
** the server returns with a 500, which is not exactly nice but does the job for now
** an adaequat "failure reason:" should be delivered... TODO
18 years ago
erdgeist 5c18293c9c New Makefile, incorporated some patches sent to me by Robin H. Johnson 18 years ago
denis 3e610c5f60 revert previous commit 18 years ago
denis bab7c0bbb1 code cleanup and more specific comments. tracker starts now also with udp port 6969 as default 18 years ago
erdgeist 5a3d6b4029 We now answer as soon as the first \n is seen
We do not copy input buffer to socket's input array anymore, if we find \n in first buffer
We simplified parsing of input string
We removed asserts that were needed to debug negative seeder counts
We split static input and output buffers for obvious reasons
We enlarged static output buffer to prepare multi scrape functionality
We removed -lm from Makefile, this lib was only needed, when our random algorithm worked on floats
We close fds now that come with an empty iocookie into write loop, those don't make sense
We documented query string parser in opentracker.c a lot better to help auditing
18 years ago
erdgeist 2d0215d793 Debugging for failed requests. 18 years ago
erdgeist 3d796d93f0 -m64 is not usually a correct compile option 18 years ago
erdgeist 07a604e3d6 Debug file descriptors 18 years ago
denis 98ed6231e1 set the interval to 1800 for announce (last change was only for scrape) 18 years ago
erdgeist 25781604c2 Dont want ips from query string by default 18 years ago
erdgeist 805e46450c Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed 18 years ago
erdgeist 6b329a6959 tidy up options 18 years ago
erdgeist e7532408b6 black listing was the wrong way around 18 years ago
erdgeist 2aa03492a5 added closed tracker and blacklist code 18 years ago
erdgeist e0a9c2a4aa Added option to get ip from query string + parser, fixed two bugs concerning grow/shrink of vectors. Now cleans up a torrent BEFORE trying to remove a peer -> this may remove peer already and must be done anyway. 18 years ago
denis 15d9d55c34 freebsd support 18 years ago
erdgeist b7526f25e8 Fixed two mem leaks from httpd :/ 18 years ago
erdgeist ed0edcaae8 Fix port again ;) Include headers in Makefile dependencies 18 years ago
denis 4c8d8daf06 fix for freebsd 18 years ago
erdgeist 688a4edd9e Now actually seems to work for the most parts
Added scraping
Added graceful disconnect
18 years ago
erdgeist c0f667defe Reacts more appropriate, however EXC_BAD_ACCESS triggered 18 years ago
erdgeist d7c26dc71b Trackerlogic done... not tested yet 18 years ago
denis dc025776dd Begun printf debugging 18 years ago
erdgeist 898206ac7a Some syntax errors removed 18 years ago
erdgeist ad472597c5 Kickoff 18 years ago