summaryrefslogtreecommitdiff
path: root/opentracker.c
AgeCommit message (Collapse)Author
2007-03-28added the -A feature that blesses a certain IP address for administrative use (like sync)erdgeist
2007-03-27Added inbound part of sync. This also meant to remove the black/whitelisting as we did by now. A more scalable way to blacklist will follow.erdgeist
2007-03-27Added outbound part of sync Proposed format: d4:syncd20:<info_hash>8*N:(xxxxyy)*Nee, therefore had to refactor torrent cleanup now that it will hit all ↵erdgeist
torrents once every OT_POOL_TIMEOUT units.
2007-03-16code cleanup and more specific comments. tracker starts now also with udp port 6969 as defaultdenis
2007-03-16some udp scrape style cleanupdenis
2007-03-16support for udp scrapedenis
2007-03-16fix the stats a little for not accepting udp scrapesdenis
2007-03-15udp first connect needs to be counted as a connection toodenis
2007-03-15added the udp stats to the main statsdenis
2007-03-15new modes for udp4 and tcp4 statsdenis
2007-03-15collecting stats for udp connections (2nd try)denis
2007-03-15collecting stats for udp connectionsdenis
2007-03-13fixed udp peerport endianess handlingdenis
2007-03-13fixed udp remoteport handlingdenis
2007-03-13some 64bit and endianess issues with udp...erdgeist
2007-03-10make full scrapes a bit faster, increase checkback time for udperdgeist
2007-03-08Port is a short, not a longerdgeist
2007-03-07Sanify handling of server socketserdgeist
2007-03-06udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes.erdgeist
2007-03-05Can now handle multiple ips/ports, can BIND to udp ports but not yet handle them, now checks if event=completed comes with left=0 and drops it, if it doesnterdgeist
2007-02-03zero copy sockets do only work on page aligned buffers for page sized blocks. So remove the code that tried to take advantage of false assuming, it would ↵erdgeist
work on any buffer
2007-02-02fixed the last commit. now it really counts the scrapes and fullscrapesdenis
2007-02-01add the scrapes to the valid requests (blue mrtg line)denis
2007-02-01el cheapo vector debuggingerdgeist
2007-02-01Use multiple output buffers to try to avoid copy on write when unnecessaryerdgeist
2007-01-31Try to shake off too stupid clients by sending an Bittorrent error rather than an HTTP 400erdgeist
2007-01-31Use signed size_t wherever appropriateerdgeist
2007-01-31size_t cant get < 0 and thus wont report errorserdgeist
2007-01-29provide mrtg with more sane stringserdgeist
2007-01-29We now answer as soon as the first \n is seenerdgeist
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
2007-01-27complete_D_ ... ECODERTOODUMBerdgeist
2007-01-27account downloaded before early returnserdgeist
2007-01-26announce.php and scrape.php are now being handlederdgeist
2007-01-26Introduce another unspec'd command: sync which syncs the most recent peer pool for a torrent out. Do some variable type clean up. Do some code structure ↵erdgeist
clean up.
2007-01-25return random check back intervals to our clientserdgeist
2007-01-24Code cleanup reindentingerdgeist
2007-01-24backout Revision 1.67denis
2007-01-24workaround for some weird requestsdenis
2007-01-24Denis wanted scrapes and erdgeist didnt give it :)denis
2007-01-24Copy request before expanding url-encoded bytesdenis
2007-01-24Debugging for failed requests.erdgeist
2007-01-23Count successful announces extraerdgeist
2007-01-20FD-debug also in new iob_send patherdgeist
2007-01-20Full scrape, kinda testederdgeist
2007-01-20increase the timeout to make the ride a little smoother for some clientsdenis
2007-01-20-m64 is not usually a correct compile optionerdgeist
2007-01-19Debug file descriptorserdgeist
2007-01-19*seuftz*denis
2007-01-19set the interval to 1800 for announce (last change was only for scrape)denis
2007-01-18From now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside this intervalerdgeist