Commit Graph

  • 7f3b66b9af Add source files to proxy project erdgeist 2009-10-15 18:17:03 +0000
  • 9be794395f v6 works since january erdgeist 2009-10-08 20:27:51 +0000
  • 9eb860f041 Log successful incoming connections erdgeist 2009-10-02 23:47:35 +0000
  • 9cced7eb88 Report connection duplication erdgeist 2009-10-02 23:43:34 +0000
  • ed1673eb10 Network connection code seems to be working now erdgeist 2009-10-02 23:34:42 +0000
  • cde8cf0559 Network handling code skeleton stands, is untested and no configure code there, yet. erdgeist 2009-10-01 17:16:15 +0000
  • 5168a3314c Reaching completion soon erdgeist 2009-09-29 06:03:39 +0000
  • 21b5baf0c1 Update 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
  • 0bf88427c6 Add spotting woodpeckers, thanks to Vasya P. again erdgeist 2009-09-02 02:18:36 +0000
  • c76814cfec Going to the forest, spotting woodpeckers erdgeist 2009-09-02 01:47:44 +0000
  • 6eeb16123c Cleanup 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
  • d9287403a8 add option to log the numwants over time erdgeist 2009-08-30 18:04:44 +0000
  • 4c4303a156 Temporary 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
  • 517adde681 Limit shifting in s24s cleanup code to a non-overflowing size erdgeist 2009-08-30 12:54:52 +0000
  • 342182a496 Put the WANT_MODEST_FULLSCRAPES option into Makefile erdgeist 2009-08-29 13:56:54 +0000
  • 478884660f Enable limiting fullscrapes to only every 5 minutes per IP erdgeist 2009-08-29 13:55:59 +0000
  • 682bd069d2 Enable Networks debugging in Makefile erdgeist 2009-08-26 21:24:49 +0000
  • 56c1cf1b5d Nicer formatting for value-- erdgeist 2009-08-26 21:23:53 +0000
  • 6073127ad0 Add some subnet debugging features erdgeist 2009-08-26 21:23:26 +0000
  • 20955311d1 Introducing the concept of vectors of nets into opentracker erdgeist 2009-08-26 21:22:24 +0000
  • c3a58d248b binary search speedup was buggy. erdgeist 2009-08-26 21:12:32 +0000
  • 0c8a17cbef Optimize binary_search function erdgeist 2009-08-26 17:44:03 +0000
  • 6c51fca9a1 Introduce the concept of an ot_net into opentracker. erdgeist 2009-08-26 17:37:24 +0000
  • 5364ea31ca Omit a warning where signed chars can't hold 0xff. Initialisen them with -1 erdgeist 2009-08-26 17:35:52 +0000
  • bb770a45a6 Make 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
  • 57f85fc7cc Debug information only in debug mode. erdgeist 2009-07-17 15:53:35 +0000
  • 06e89257a1 Make opentracker HUGE-accesslist-ready. Parse, then sort. erdgeist 2009-07-17 15:52:39 +0000
  • 8d25bf2d31 Double definition of all_torrents erdgeist 2009-07-16 01:39:18 +0000
  • dad215a6e1 Add a new proxy daemon to opentracker erdgeist 2009-07-16 01:36:50 +0000
  • 531ebd4949 Make opentracker return tracker id in stats=everything request erdgeist 2009-07-15 16:14:38 +0000
  • 6819db7e98 Missed the last info_hash erdgeist 2009-07-15 00:37:23 +0000
  • 553f62329a Parse 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
  • bb9650f55e Order 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
  • d729c88d88 Be more verbose if the accesslist can not be found erdgeist 2009-07-14 13:14:45 +0000
  • 3afbbc37d0 Don'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
  • 274a03f3d7 Only get old accesslist value shortly before freeing it erdgeist 2009-07-14 13:03:01 +0000
  • a9c25b9fed Reloading accesslists left a wide window for race conditions. erdgeist 2009-07-14 12:32:41 +0000
  • fa10063d15 Make attempts to access to unauthorized torrents more verbose. erdgeist 2009-07-04 20:14:03 +0000
  • dfa173b071 Make accesslist function check for the correct signal erdgeist 2009-07-01 02:48:56 +0000
  • 7d67d38e27 Fixed an incorrect peer count in udp responses. Credits to Theron Lewis. erdgeist 2009-06-28 23:11:13 +0000
  • 877e3cfbb0 Remove unnecessary =NULL initialization of static pointers. erdgeist 2009-06-17 15:07:38 +0000
  • 65d7d9b89c Allow /stats to be located anywhere in your trackers path erdgeist 2009-06-17 15:06:31 +0000
  • 2a17f847ae Fix statedump erdgeist 2009-06-17 13:37:11 +0000
  • 2a94892890 Display v4 addresses in v4 mode nicer erdgeist 2009-06-16 12:17:53 +0000
  • 6c19143bc1 Major 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
  • d113912101 Log networks in its old form has been disabled. Live logging may come back soon. erdgeist 2009-06-15 14:40:36 +0000
  • f0b37172bf Dont log connection id missmatches anymore erdgeist 2009-06-15 14:40:06 +0000
  • a713514a78 Make our stats xml validate again erdgeist 2009-03-25 12:43:12 +0000
  • 91f5fa20a7 include overall completed count in stats erdgeist 2009-03-24 16:55:28 +0000
  • a7cb039b67 There seems to be more broken v6 APIs than just the OpenBSD one. Linux smells as well. erdgeist 2009-03-18 14:53:35 +0000
  • 5174c61a23 If we don't want v6, tell libowfat not to worry about it. erdgeist 2009-03-18 14:49:13 +0000
  • bd6695bded Fix XML syntax erdgeist 2009-03-18 02:33:47 +0000
  • c7ed890222 Fix white spaces Introduce loading tracker states with -l Alter tracker state to a human readable form erdgeist 2009-03-17 23:57:20 +0000
  • a58bce83ad Found some minor issues in busy network detection code. erdgeist 2009-03-12 22:53:30 +0000
  • eec51a872c Re-implement logging busy networks to handle v6 API. Implement a state dump for later reparsing. erdgeist 2009-03-12 18:47:02 +0000
  • 255ac58971 Add 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
  • 9297967f85 Add 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
  • 72a1564ca1 Value of off is not used, so don't calculate it erdgeist 2009-03-03 01:24:02 +0000
  • a6fe338040 Remove superfluous test for == NULL, when variable has been used, anyway erdgeist 2009-03-03 01:22:50 +0000
  • 02078aba27 Reset delta_torrentcount to zero on each pass erdgeist 2009-02-20 12:31:55 +0000
  • b2bd9f7d91 Formatting erdgeist 2009-02-20 12:31:17 +0000
  • 928dc36f74 Formatting erdgeist 2009-02-20 12:23:59 +0000
  • f8af5c4b09 Forgot to notify central counter about torrent removal erdgeist 2009-02-20 11:07:30 +0000
  • ff3c0feab5 Add workaround to openbsd's broken v6 API erdgeist 2009-02-10 14:49:38 +0000
  • f1ce4ea499 unify lock and unlock code style erdgeist 2009-02-10 14:49:11 +0000
  • 957981ac73 make live sync aware of v6 mapped v4 addresses erdgeist 2009-02-03 17:10:16 +0000
  • 1a40cebcbd Read action codes from correct location and tell ot_stats the correct number of incoming peers. erdgeist 2009-02-03 17:00:51 +0000
  • 4c0d5c1c08 Formatting erdgeist 2009-02-03 16:46:31 +0000
  • 9c25f99b3d Reverse logic... do only fail if scan_ip6 cant parse erdgeist 2009-02-03 16:46:16 +0000
  • 01408992b7 Reverse logic... do only sync those NOT coming from multi cast erdgeist 2009-02-03 16:45:44 +0000
  • c3003dfd6f decrease the udp multicast packetsize so it fits into one ether frame denis 2009-02-03 14:41:17 +0000
  • 6e3ef99daf Forgot to copy the stats?mode=tcp4 parameter erdgeist 2009-02-03 12:21:36 +0000
  • f8185878fb Make snprintf write to the correct location erdgeist 2009-01-26 11:30:10 +0000
  • 1d821b95cb Lot 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
  • de5dbad258 This memmove was for real... erdgeist 2009-01-21 00:11:57 +0000
  • b019607ba5 Limit comparison of strings to the length of the shorter string erdgeist 2009-01-19 18:22:25 +0000
  • 2d3718151d Fix 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
  • 0b875273d4 Remove debug message erdgeist 2009-01-16 02:28:54 +0000
  • f12fa4c362 Use a self pipe to wake from io_wait when a thread finished his work. erdgeist 2009-01-16 02:26:50 +0000
  • 66c906d5d3 Add 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
  • 4ced0484ab Some premature optimization lead to always only 8bytes of ot_peers being copied erdgeist 2009-01-15 22:10:54 +0000
  • 02b3abbab6 Make v4 and v6 modes v4/v6-ONLY erdgeist 2009-01-15 16:20:47 +0000
  • 930495a0db We sent an incorrect reply dictionary vor v6 announces erdgeist 2009-01-15 16:20:18 +0000
  • d1a452e98a fix parser erdgeist 2009-01-14 00:05:06 +0000
  • 131211b4da V6 erdgeist 2009-01-13 22:41:17 +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
  • 8bdc0d73f6 Make 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
  • 548e2b8338 Introduce new flag WANT_SYNC_SCRAPE erdgeist 2009-01-02 07:55:11 +0000
  • 20257202af Fix incorrect prototype for accesslist_deinit erdgeist 2009-01-02 07:52:17 +0000
  • 38c073e6dd minor white space erdgeist 2009-01-01 17:49:50 +0000
  • 5c99e50e25 minoe white space erdgeist 2009-01-01 17:44:04 +0000
  • 3ee8991200 Fix badly formed bencoded answer to stopped events erdgeist 2008-12-30 18:40:09 +0000
  • 3df5e476d0 Fix: Did not time stamp a torrent correctly, that once timed out and came back to life erdgeist 2008-12-11 11:48:34 +0000
  • 6d4845149c Propose a scrape sync protocol. erdgeist 2008-12-10 14:19:37 +0000
  • a9ab9b0c0d Make all torrents in their buckets sorted again. erdgeist 2008-12-08 02:23:21 +0000
  • bca8bee623 Fix: auto increment in += is not a post increment... erdgeist 2008-12-07 13:14:24 +0000
  • 5f5007883e Fix post increase on wrong pointer type. erdgeist 2008-12-07 12:04:43 +0000
  • 5a0146f810 Used wrong variable as offset into hash to copy erdgeist 2008-12-07 12:04:03 +0000