View Single Post
  #1  
Old 6th June 2020, 03:17
Tedmorris Tedmorris is offline
Senior Member
 
Join Date: Sep 2017
Posts: 62
Default Ratiomaster stop uploading to zero leechers
PHP Code:
// if user is a seeder, then only supply leechers.
$wantseeds '';
if (
$seeder == 'yes'$wantseeds 'AND seeder = "no"';
    
$res mysql_query("SELECT $fields FROM peers WHERE torrent = $torrentid $wantseeds $limit") or err'peers query failure' );
unset(
$wantseeds); 
So this code stops a seeder supplying to himself but how could this code be tweaked to stop a leecher spoofing fake upload amounts IF they are the only leech?

So we have lets say 20 seeds and one leecher using ratiomaster how could the leecher be stopped or detected uploading spoofed data when that user is the only leecher?
Reply With Quote