"NeiPCs, post: 59983":@TorrentialStorm,
Thanks for great and clean code.
But it stop only in upload page and not in announce.php
Please tell me, how to prevent cheaters that use multiple trackers to increase ammount uploaded in every tracker listed in torrent previously uploaded with single tracker?
Scenario:
- config.php
-- $site_config['ALLOWEXTERNAL'] = false;
Issue:
- Users can add trackers url later, by editing torrent file without lost hash with [url="http://torrenteditor.com"]http://torrenteditor.com[/url] or something else.
- Every announce update will count total uploaded and downloaded ammount sent by client, and update it in every tracker listed on announce-list
- Possibility of exchange all peers from all trackers listed in announce-list, increasing total ammount of data to all peers in their trackers, and increasing more false uploaded ammount for every peer of every tracker listed.
- This is similar cheat of false announcements of ratiomaker, ratiomaster, or something like it.
So, my view point is correct or not?
If it's true, I have some suggestions to be included on torrents-upload.php, download.php and announce.php
Thanks in advance.
<a title=\"".$row["name"]."\" href=\"torrents-details.php?id=$id&hit=1\">$dispname</a><br>$$descrs
the extra $ is in this part $$descrs and also you may want to format the comment with the format_comment function so nobody can inject.
also this part
$smalldescr = $_POST["description"];
probably should be
$smalldescr = unesc($_POST["description"]); "Julia41, post: 56708":With this hack:[url="http://www.torrenttrader.org/index.php?showtopic=9873"]http://www.torrenttrader.org/index.php?showtopic=9873[/url]
And 7 dedicated servers for handle announce/scrape I have arround 450K peers each days:
My record : (with freeleech for a week)
On this month :
My MySQL server is a 2x Xeon with 8GB or RAM...
My 7 "dedicated php tracker servers" are on lighttpd....
I use a lot of memcache hack to reduce MySQL load... For example check passkey : passkey "never" change... You can check if it is valid only once a day...
"TorrentialStorm, post: 56496":because unesc() only does stripslashes. it doesn't remove HTML, that's what strip_tags() is for.
$avatar = $_POST["avatar"];
$title = $_POST["title"];
$signature = $_POST["signature"]; "world, post: 55980":how can we make it scroling??but not only 5 or 6 but all recomend we have!!
thnx!!!
LIMIT 6