Commit Graph

592 Commits

Author SHA1 Message Date
Dirk Engling e52170435f sync with git 2018-01-29 17:43:33 +00:00
git f3471b7667 Forgot to include one error code. Thanks to Lars Seipel 2015-12-11 16:57:37 +00:00
git 5948ee5986 dont count scrapes as full scrapes, fall through fail 2015-11-26 19:30:16 +00:00
git c12b0059b7 Accept was counted twice 2015-11-25 01:11:42 +00:00
git 77a4921b25 Add missing enum value. Thanks to zhangdongmao 2015-08-30 21:57:04 +00:00
git 9b3eef571a Increase number of locks to accomodate for more cores on contemporary CPUs 2015-06-07 23:46:16 +00:00
git 7392077f69 Avoid reacting to our own error packets, should the happen to end up on our interface with a spoofed source IP. Thanks to zorun. 2015-06-05 11:36:00 +00:00
git e276eb1aea Fix typo in stat reporting, use udp and not tcp counter. Thanks to zebulon 2015-04-27 20:06:17 +00:00
git e462e3dfa2 Protect static data by mutex 2014-10-06 23:34:23 +00:00
git 9e0443a3a6 Only kick off udp handlers, when everything is initialised 2014-10-06 22:32:28 +00:00
git 5018d4e478 Initialise all values of aes key 2014-10-06 22:01:54 +00:00
Dirk Engling 1ffaa98783 Fix immediate overwrite in the X-forwarded-for passing case. Thanks to Alexander Luetjen. 2013-08-04 10:05:35 +00:00
Dirk Engling 6490d4bc5c Fix spelling error ;) 2013-06-07 14:03:37 +00:00
Dirk Engling 4d9fd27746 Dont make srandomdev the default, it exists only in BSDs 2012-06-08 19:21:46 +00:00
Dirk Engling f8ebe3e7c8 Make woodpecker spotting more usable by adjusting count every 2 minutes 2012-06-03 04:06:32 +00:00
Dirk Engling d010868308 Calculate the old hash for the ip address only, when the current one mismatches 2012-06-03 00:17:07 +00:00
Dirk Engling 7429d85457 Dont ruin the srandomdev initialisation in trackerlogic's init 2012-06-03 00:15:59 +00:00
Dirk Engling f520745f4d Forgot variable declaration 2012-05-31 22:58:36 +00:00
Dirk Engling 8fdb3dcaee reduce zlib warnings to when there really is something failing 2012-05-29 22:10:14 +00:00
Denis Ahrens 4eec224a39 new flag to enforce gzip even if client did not request it 2012-05-29 20:42:00 +00:00
Dirk Engling ed90dee313 Add rijndael to version report 2012-05-29 03:41:49 +00:00
Dirk Engling 2d1c653f20 Remove debug info 2012-05-28 19:08:01 +00:00
Dirk Engling 9bf6cdb058 Report connection id missmatch count 2012-05-28 19:05:02 +00:00
Dirk Engling c1414b707f udp now generates a cryptographically secure token for connecting clients. This is later verified. 2012-05-28 15:26:13 +00:00
Dirk Engling 1bbbeb8db3 Init prng before udp code needs it. 2012-05-28 15:24:33 +00:00
Dirk Engling 833620b834 Add connection id missmatch code 2012-05-28 15:15:32 +00:00
Dirk Engling 2391244772 Adding rijndael code for udp connection id calculation 2012-05-28 14:47:57 +00:00
Dirk Engling a83149f5ca Do not always grow the vector, shrink the first iovec to 0 before filling the second one 2012-05-18 08:45:32 +00:00
Dirk Engling eec07fba97 Need more space for top100 2012-05-18 08:34:35 +00:00
Dirk Engling 2a92a70321 Add a top100 for most popular torrents 2012-05-18 05:16:56 +00:00
Dirk Engling 0a45984246 Add functionality to distribute udp to several workers 2012-04-25 05:48:16 +00:00
Dirk Engling 34b53c9282 undo last change, it did not work well 2012-04-01 04:11:27 +00:00
Dirk Engling b252679b25 fix tiny issue 2012-04-01 03:23:50 +00:00
Dirk Engling 648222e478 fix prototype 2012-04-01 03:22:15 +00:00
Dirk Engling a3de74bdd4 Try to act upon all udp packets at once 2012-03-31 20:01:05 +00:00
Denis Ahrens 93ce452158 silenced some clang warnings 2011-11-16 00:41:16 +00:00
Dirk Engling 731ff55b65 Open syslog connection before dropping privileges 2010-12-11 15:50:56 +00:00
Dirk Engling 0c4eb869da Prevent infinite loop if whitelist ends in several returns 2010-08-26 01:36:32 +00:00
Dirk Engling 8e6487797a Chomp all trailing space characters, including new lines, when parsing the config file 2010-08-18 00:43:12 +00:00
Dirk Engling a5606ae535 Load state only after initialising all structs. Thanks to Michael S. Combs for pointing out the buf 2010-08-17 01:06:22 +00:00
Dirk Engling 9082b56ee6 Stop sending tracker id with every packet 2010-08-15 16:38:43 +00:00
Dirk Engling f2c4ef24c3 Don't only walk through outgoing connections to search for connected peers 2010-08-15 14:54:40 +00:00
Dirk Engling 57bcf69217 Address reconnecting issues 2010-08-15 13:59:08 +00:00
Dirk Engling bb8439c69d Fixed sync loss bug 2010-08-15 01:59:09 +00:00
Dirk Engling 11841dc77e Looking into pointer arithmetics issue 2010-08-14 15:22:20 +00:00
Dirk Engling ee7dc229d0 tidy up peer count parser code 2010-08-14 11:30:54 +00:00
Dirk Engling 1f17fe9d3b Fix encoding of peer count in proxy sync packet 2010-08-14 10:56:14 +00:00
Dirk Engling dd56b16d0c enable proxy.debug target 2010-08-14 01:08:13 +00:00
Dirk Engling 63200596d2 Tidy up sync proxy code 2010-08-13 12:47:15 +00:00
Dirk Engling 2182587414 Reset http request input array on error case 2010-08-09 14:22:12 +00:00