21b5baf0c1Update project to use 10.6 CLang by default.
erdgeist
2009-09-02 16:30:39 +0000
26bf39da89#define closed too early
erdgeist
2009-09-02 16:01:44 +0000
0bf88427c6Add spotting woodpeckers, thanks to Vasya P. again
erdgeist
2009-09-02 02:18:36 +0000
c76814cfecGoing to the forest, spotting woodpeckers
erdgeist
2009-09-02 01:47:44 +0000
6eeb16123cCleanup s24s code, remove an ugly mem leak, thanks to Vasya P. for pointing at the bug and suggesting a fix
erdgeist
2009-09-01 23:45:37 +0000
d9287403a8add option to log the numwants over time
erdgeist
2009-08-30 18:04:44 +0000
4c4303a156Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200
erdgeist
2009-08-30 17:57:54 +0000
517adde681Limit shifting in s24s cleanup code to a non-overflowing size
erdgeist
2009-08-30 12:54:52 +0000
342182a496Put the WANT_MODEST_FULLSCRAPES option into Makefile
erdgeist
2009-08-29 13:56:54 +0000
478884660fEnable limiting fullscrapes to only every 5 minutes per IP
erdgeist
2009-08-29 13:55:59 +0000
682bd069d2Enable Networks debugging in Makefile
erdgeist
2009-08-26 21:24:49 +0000
56c1cf1b5dNicer formatting for value--
erdgeist
2009-08-26 21:23:53 +0000
6073127ad0Add some subnet debugging features
erdgeist
2009-08-26 21:23:26 +0000
20955311d1Introducing the concept of vectors of nets into opentracker
erdgeist
2009-08-26 21:22:24 +0000
c3a58d248bbinary search speedup was buggy.
erdgeist
2009-08-26 21:12:32 +0000
0c8a17cbefOptimize binary_search function
erdgeist
2009-08-26 17:44:03 +0000
6c51fca9a1Introduce the concept of an ot_net into opentracker.
erdgeist
2009-08-26 17:37:24 +0000
5364ea31caOmit a warning where signed chars can't hold 0xff. Initialisen them with -1
erdgeist
2009-08-26 17:35:52 +0000
bb770a45a6Make accesslists thread safe. Signal handler is working in its own thread now, waiting for a signal. All other threads ignore signals.
erdgeist
2009-07-17 18:00:26 +0000
57f85fc7ccDebug information only in debug mode.
erdgeist
2009-07-17 15:53:35 +0000
06e89257a1Make opentracker HUGE-accesslist-ready. Parse, then sort.
erdgeist
2009-07-17 15:52:39 +0000
8d25bf2d31Double definition of all_torrents
erdgeist
2009-07-16 01:39:18 +0000
dad215a6e1Add a new proxy daemon to opentracker
erdgeist
2009-07-16 01:36:50 +0000
531ebd4949Make opentracker return tracker id in stats=everything request
erdgeist
2009-07-15 16:14:38 +0000
6819db7e98Missed the last info_hash
erdgeist
2009-07-15 00:37:23 +0000
553f62329aParse accesslist file by mmaping the whole thing and searching for lines by ourself. fgets is slooooooow on linux.
erdgeist
2009-07-14 21:22:02 +0000
bb9650f55eOrder peers by whether they seed. This way clients can chose if they prefer leechers (at the beginning) or leechers (at the end of the list).
erdgeist
2009-07-14 20:51:14 +0000
d729c88d88Be more verbose if the accesslist can not be found
erdgeist
2009-07-14 13:14:45 +0000
3afbbc37d0Don't default the incoming port to 6881 but rather use 0 to indicate a less than valid announce
erdgeist
2009-07-14 13:05:03 +0000
274a03f3d7Only get old accesslist value shortly before freeing it
erdgeist
2009-07-14 13:03:01 +0000
a9c25b9fedReloading accesslists left a wide window for race conditions.
erdgeist
2009-07-14 12:32:41 +0000
fa10063d15Make attempts to access to unauthorized torrents more verbose.
erdgeist
2009-07-04 20:14:03 +0000
dfa173b071Make accesslist function check for the correct signal
erdgeist
2009-07-01 02:48:56 +0000
7d67d38e27Fixed an incorrect peer count in udp responses. Credits to Theron Lewis.
erdgeist
2009-06-28 23:11:13 +0000
6c19143bc1Major rewrite of live bad network logging. You can now limit logging to any netmask. HTTP interface for that coming soon.
erdgeist
2009-06-15 14:41:47 +0000
d113912101Log networks in its old form has been disabled. Live logging may come back soon.
erdgeist
2009-06-15 14:40:36 +0000
f0b37172bfDont log connection id missmatches anymore
erdgeist
2009-06-15 14:40:06 +0000
a713514a78Make our stats xml validate again
erdgeist
2009-03-25 12:43:12 +0000
91f5fa20a7include overall completed count in stats
erdgeist
2009-03-24 16:55:28 +0000
a7cb039b67There seems to be more broken v6 APIs than just the OpenBSD one. Linux smells as well.
erdgeist
2009-03-18 14:53:35 +0000
5174c61a23If we don't want v6, tell libowfat not to worry about it.
erdgeist
2009-03-18 14:49:13 +0000
bd6695bdedFix XML syntax
erdgeist
2009-03-18 02:33:47 +0000
c7ed890222Fix white spaces Introduce loading tracker states with -l Alter tracker state to a human readable form
erdgeist
2009-03-17 23:57:20 +0000
a58bce83adFound some minor issues in busy network detection code.
erdgeist
2009-03-12 22:53:30 +0000
eec51a872cRe-implement logging busy networks to handle v6 API. Implement a state dump for later reparsing.
erdgeist
2009-03-12 18:47:02 +0000
255ac58971Add a everything stats page. So you won't have to remember what all those switches were. Remove the prepared Add/Remove-Torrent count until we implement it. Remove the start/stop count until we implement it.
erdgeist
2009-03-04 15:33:44 +0000
9297967f85Add a stat option the count bucket stalls Add an iterator for all torrents. It's slower but for stats it's okay. Move some stats collection stuff to the new iterator. More to come. Start a "report all stats" page. Start fixing the code to identify "busy" networks. Add the concept of hosts allowed to proxy. Add a parser for the X-Forwarded-For: HTTP header. Clean up HTTP Header handling code. (Remove some left overs of now vanished sync code).
erdgeist
2009-03-04 14:35:21 +0000
72a1564ca1Value of off is not used, so don't calculate it
erdgeist
2009-03-03 01:24:02 +0000
a6fe338040Remove superfluous test for == NULL, when variable has been used, anyway
erdgeist
2009-03-03 01:22:50 +0000
02078aba27Reset delta_torrentcount to zero on each pass
erdgeist
2009-02-20 12:31:55 +0000
9c25f99b3dReverse logic... do only fail if scan_ip6 cant parse
erdgeist
2009-02-03 16:46:16 +0000
01408992b7Reverse logic... do only sync those NOT coming from multi cast
erdgeist
2009-02-03 16:45:44 +0000
c3003dfd6fdecrease the udp multicast packetsize so it fits into one ether frame
denis
2009-02-03 14:41:17 +0000
6e3ef99dafForgot to copy the stats?mode=tcp4 parameter
erdgeist
2009-02-03 12:21:36 +0000
f8185878fbMake snprintf write to the correct location
erdgeist
2009-01-26 11:30:10 +0000
1d821b95cbLot of Gehacktes around this keyword scanner. Don't return a match if string to compare is shorter than key from table.
erdgeist
2009-01-26 10:33:46 +0000
de5dbad258This memmove was for real...
erdgeist
2009-01-21 00:11:57 +0000
b019607ba5Limit comparison of strings to the length of the shorter string
erdgeist
2009-01-19 18:22:25 +0000
2d3718151dFix a pointer arithmetic issue leading to incorrect peer data being copied. Allocate correct size for debugbuffer. Expect exact values on find keywords, not only prefix match.
erdgeist
2009-01-16 04:17:22 +0000
f12fa4c362Use a self pipe to wake from io_wait when a thread finished his work.
erdgeist
2009-01-16 02:26:50 +0000
66c906d5d3Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT
erdgeist
2009-01-15 23:01:36 +0000
4ced0484abSome premature optimization lead to always only 8bytes of ot_peers being copied
erdgeist
2009-01-15 22:10:54 +0000
02b3abbab6Make v4 and v6 modes v4/v6-ONLY
erdgeist
2009-01-15 16:20:47 +0000
930495a0dbWe sent an incorrect reply dictionary vor v6 announces
erdgeist
2009-01-15 16:20:18 +0000
779d6c235f* http and udp routines now use thread local buffers passed in workstruct containers. In other words they do not use static_buffer anymore and are considered to be thread safe. * the new workstruct also introduces a well defined buffer and result passing path * a new function scan_find_keywords is a wrapper around scan_urlencoded_query that maps keys in url to values passed in an array of ot_keywords structs * this new function cleans up much of url parameter parsing work, where read_ptr and write_ptr have been introduced rather than the confusing char *c, *data variables * I now use memcmp instead of byte_diff to allow compiler to optimize constant size string compares * got rid of UTORRENT_1600_WORKAROUND * livesync_ticker is now only called from one (currently main) thread to avoid race conditions
erdgeist
2009-01-05 18:05:39 +0000
8bdc0d73f6Make opentracker ANSI C again.
erdgeist
2009-01-03 03:25:37 +0000
2df09905f5* opentracker now drops permissions in correct order and really chroots() if ran as root * lock passing between add_peer_to_torrent and return_peers_for_torrent is now avoided by providing a more general add_peer_to_torrent_and_return_peers function that can be used with NULL parameters to not return any peers (in sync case) * in order to keep a fast overview how many torrents opentracker maintains, every mutex_bucket_unlock operation expects an additional integer parameter that tells ot_mutex.c how many torrents have been added or removed. A function mutex_get_torrent_count has been introduced.
erdgeist
2009-01-02 08:57:53 +0000
548e2b8338Introduce new flag WANT_SYNC_SCRAPE
erdgeist
2009-01-02 07:55:11 +0000
20257202afFix incorrect prototype for accesslist_deinit
erdgeist
2009-01-02 07:52:17 +0000
38c073e6ddminor white space
erdgeist
2009-01-01 17:49:50 +0000
5c99e50e25minoe white space
erdgeist
2009-01-01 17:44:04 +0000
3ee8991200Fix badly formed bencoded answer to stopped events
erdgeist
2008-12-30 18:40:09 +0000
3df5e476d0Fix: Did not time stamp a torrent correctly, that once timed out and came back to life
erdgeist
2008-12-11 11:48:34 +0000
6d4845149cPropose a scrape sync protocol.
erdgeist
2008-12-10 14:19:37 +0000
a9ab9b0c0dMake all torrents in their buckets sorted again.
erdgeist
2008-12-08 02:23:21 +0000
bca8bee623Fix: auto increment in += is not a post increment...
erdgeist
2008-12-07 13:14:24 +0000
5f5007883eFix post increase on wrong pointer type.
erdgeist
2008-12-07 12:04:43 +0000
5a0146f810Used wrong variable as offset into hash to copy
erdgeist
2008-12-07 12:04:03 +0000