Age | Commit message (Collapse) | Author |
|
* 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
|
|
|
|
|
|
|
|
|
|
torrents once every OT_POOL_TIMEOUT units.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
too old torrents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
clean up.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extra bytes in header.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-> this may remove peer already and must be done anyway.
|