d5876ebb6bPrevent url-decoding for debug by using a temp buffer
erdgeist
2007-10-19 21:00:57 +0000
271ff156ecThose stupid "announce ?info_hash" torrents get really annoying. Fix it in announce and scrape.
erdgeist
2007-10-19 20:02:41 +0000
1b0859411ebe more verbose about what full scrape consumers deliver in their http requests
erdgeist
2007-10-19 15:37:00 +0000
daf79f694dAfter studying opentracker live data, I decided to radically reduce default allocation for vectors and making it grow faster instead: Most pools only had one or two peers, wasting 8*15 or 8*14 bytes.
erdgeist
2007-10-19 14:41:30 +0000
870c995fbbRemove an unused variable
erdgeist
2007-10-19 05:23:04 +0000
cab763d4eeRelease exactly all unused bytes in mmap allocation.
erdgeist
2007-10-19 05:21:01 +0000
714ea1b88egive opentracker the missing header file
erdgeist
2007-10-19 03:41:23 +0000
f56e40c24eMust not dealloc mmaped buffers with free()
erdgeist
2007-10-19 03:39:04 +0000
d25cf9307eFix misunderstandig of what libowfat thinks are seconds and what I did...
erdgeist
2007-10-19 02:00:53 +0000
b8b1493127Increase check interval for timeouted sockets to 10 seconds. That may prevent some disrupted scrapes.
erdgeist
2007-10-19 01:27:23 +0000
e1f122f7d1Since array and io_batch are in a union, and we also have time-outing writable sockets, we need to mark, which of the union is used. Also remove the blessed flag from struct http, since its rarely used and can be done in a seperate memcmp.
erdgeist
2007-10-19 01:26:33 +0000
6eb441d8a0Cannot access members after they are freed :/
erdgeist
2007-10-19 00:34:56 +0000
b86e6382a1Save a lot of work when skipping through uninteresting http request parameters
erdgeist
2007-10-18 23:33:07 +0000
dba3bb3ae7Make fromhex() even faster
erdgeist
2007-10-18 11:50:54 +0000
243d5961d0fixed one performance bug, where "skipping values from a ¶m=values pair" was requested, the requestor ended up with "values" to be parsed again. improved performance of fromhex improved performance of is_unreserved() by moving it all into a simple byte array improved performance of %41 => 'A' conversion by reordering variables
erdgeist
2007-10-18 00:21:22 +0000
be117f96a2Increase send timeout. Also use an own variable for that.
erdgeist
2007-10-17 23:41:37 +0000
32f17413faIncrease send timeout. Also use an own variable for that.
erdgeist
2007-10-17 22:50:48 +0000
28de135098io_timeout is absolute, not relative :/
erdgeist
2007-10-17 21:13:13 +0000
d1c57d90ddFree iobatches on timeout
erdgeist
2007-10-17 20:25:18 +0000
8e78ac7012HEADS UP: you need to check out the latest libowfat! Huge allocations are now taken from mmap()ed regions, not from heap anymore
erdgeist
2007-10-17 14:43:14 +0000
1e6b48cbc0Sockets we write to now do also timeout
erdgeist
2007-10-16 18:23:36 +0000
c730a24d0aFixed 24h clean bug. Allocate less memory for full scrape. Free torrents without any downloaders immediately.
erdgeist
2007-10-16 00:33:31 +0000
28d88e3380Exclude empty torrents from full scrape, also try to shrink full scrape buffer after it is full
erdgeist
2007-10-16 00:23:14 +0000
3dc470d672fixed line breaks in log
erdgeist
2007-10-15 18:03:13 +0000
65cc45f129Log all expansive operations to stderr
erdgeist
2007-10-15 18:01:38 +0000
ffffd80719Most open trackers do not have the problem of not being called often enough.. so do not introduce an extra timeout when waiting for activity. That also removes one of the last extraneous gettimeofday calls
erdgeist
2007-10-13 17:58:20 +0000
6c1adb8fc8since gettimeofday is rather expansive, we do only fetch time once in a 5 second period, when we are delivered a SIGALRM.
erdgeist
2007-10-13 17:40:37 +0000
afe966b644some subnet stats... still ugly and untested.
erdgeist
2007-07-22 16:17:26 +0000
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
erdgeist
2007-07-22 00:40:10 +0000
3f0a18ba08Clean up pw-structs
erdgeist
2007-07-20 10:20:02 +0000
c212b48becadd comment for udp spec location
denis
2007-06-24 01:53:30 +0000
78b7c73eabcheck for mafic udp id
denis
2007-06-06 16:45:48 +0000
f3d83559e6need more space for data because we reach this limit easily now
denis
2007-05-20 14:35:22 +0000
8f0aaed6b2fixed an overflow in ot_overall_* variables
denis
2007-05-04 23:08:38 +0000
0f5a092f75fix a warning
denis
2007-04-10 04:00:49 +0000
77e5241cf8Clean up help and usage
erdgeist
2007-04-07 00:24:17 +0000
5c18293c9cNew Makefile, incorporated some patches sent to me by Robin H. Johnson
erdgeist
2007-04-03 11:08:17 +0000
bd4617a911Try to figure out nobodys uid und gid using getpwnam
erdgeist
2007-04-02 17:26:40 +0000
59ddb82838Sync-daemon written in perl to sync torrents and peers between more than one tracker entity.
cryx
2007-04-02 12:34:48 +0000
4e9523c489Fix endianess issue with blessed ips. Document -A feature.
erdgeist
2007-03-29 15:04:06 +0000
32ba028814added the -A feature that blesses a certain IP address for administrative use (like sync)
erdgeist
2007-03-28 23:24:30 +0000
33774078abAdded 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-27 16:09:03 +0000
b38104b986Added 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 torrents once every OT_POOL_TIMEOUT units.
erdgeist
2007-03-27 12:07:29 +0000
1d2d3c9d95Moved to tests/
erdgeist
2007-03-25 16:47:25 +0000
c00c64f9dasome 64bit and endianess issues with udp...
erdgeist
2007-03-13 22:19:03 +0000
e75c3e25cdmake full scrapes a bit faster, increase checkback time for udp
erdgeist
2007-03-10 15:39:19 +0000
5b55394cdcPort is a short, not a long
erdgeist
2007-03-08 01:24:47 +0000
4c3eb0216eMissing include
erdgeist
2007-03-07 23:15:11 +0000
5d1f07d353Sanify handling of server sockets
erdgeist
2007-03-07 22:19:00 +0000
0a90216686udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes.
erdgeist
2007-03-06 19:43:47 +0000
175c37c3e8Can 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 doesnt
erdgeist
2007-03-05 21:14:50 +0000
f1359eb652Some clients even send plain : in their requests
erdgeist
2007-03-03 02:10:52 +0000
a73186988fstupid mistake in remove torrent call
erdgeist
2007-03-02 02:23:03 +0000
2313de59e5Count completed messages only once per peer
erdgeist
2007-02-16 21:13:44 +0000
70a65f2842Add a lot of documentation for static functions in trackerlogic.c. Make vector_remove_peer use hysteresis only, if pool is expected to grow again. Remove too old torrents.
erdgeist
2007-02-04 03:29:29 +0000
11a1c070aeshortened the dmem debug output
denis
2007-02-04 00:37:45 +0000
0d6f508882zero 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 work on any buffer
erdgeist
2007-02-03 16:19:59 +0000
d451d32b41made the output of the memdebug smaller
denis
2007-02-02 23:39:36 +0000
153b5de835increased the interval random variation
denis
2007-02-02 23:37:28 +0000
222519fdfffixed the last commit. now it really counts the scrapes and fullscrapes
denis
2007-02-02 21:15:46 +0000
929d375b97make the interval with random an average value around the real value and not additional
denis
2007-02-01 22:34:23 +0000
7ab634b6f6Make timeouts more human readable
erdgeist
2007-02-01 22:27:44 +0000