Jump to content

Ban peers who continuously send bad data !


knotty

Recommended Posts

I'm downloading a 1.6GB torrent. It's 80% complete with over 160MB of wasted data and 80 hashfails. I'm currently connected to 9 peers with 5 hasherrors each.

I'd really appreciate a ban system. For example autoban for one hour after two hashfails. And maybe a manual ban option too.

Link to comment
Share on other sites

It already seems to ban after 5 or 6 hashfails from a given user. I think banning is not the answer, however. What should happen is that the block that fails should not be requested again after 2 fails (for a certain length of time, at least). That way, you would not ban anyone from your uploads and you could continue downloading good blocks from them.

Are they all failing on one block? You might be having the same problem as me, where DMZ settings on a router is causing the router to corrupt the data. If you have DMZ on, turn it off and enable port forwarding.

Link to comment
Share on other sites

The torrent has finished and the total was 221MB wasted with 103 hashfails. I have max connections per torrent set to 22 and half of them were peers with 3-5 hashfails!

It's not a problem with my system because most torrents never get hashfails. I just noticed that the torrent has dozens of ghost leechers so I think it might be the cause for the fails.

Thanks for the quick response guys. :)

Link to comment
Share on other sites

The lack of system problems until now does not indicate necessarily that it is not a problem with the system, just so you know. It just makes it less likely. For example, routers with game mode do not screw up every torrent, just torrents with data that look like what the router needs to change for game mode.

Glad to hear it finished though. :)

Link to comment
Share on other sites

Hashfails is all nice and such, but what about wasted data without hashfails ?

I've got a torrent here that's currently averaging 50/50 between usefull and wasted data which I find totally unacceptable, but there's nothing I can do about it. There's no column in the Peers-tab that shows which peers are sending me stuff I don't need/other general crap, there doesn't appear to be a way to actually stop such peers from sending me more crap and it's annoying me. This is extra annoying for people in my situation: limited bandwidth and even more limited volume (4GB/month at my dorm for example), and those wasting-peers are 'stealing' both.

Link to comment
Share on other sites

I've got a torrent here that's currently averaging 50/50 between usefull and wasted data which I find totally unacceptable, but there's nothing I can do about it. There's no column in the Peers-tab that shows which peers are sending me stuff I don't need/other general crap, there doesn't appear to be a way to actually stop such peers from sending me more crap and it's annoying me.

Chances are, it's BitComet (or BitLord/BitSpirit which is based on BitComet) clients sending you duplicate data.

Look for peers/seeds uploading to you at <1 KB/sec.

...notice that the VAST majority of them doing that are...suprise BitComet clients!

Then once you find them you can ban by their ip if there's plenty other peers/seeds to download from.

Disabling DHT and disconnecting from the torrent and reconnecting will prevent many BitComet clients from connecting to you in the first place.

Link to comment
Share on other sites

  • 1 month later...

Hi!

For some reason uTorrent's autoban is not working well. After the 6th hashfail (overall) starts banning every ip which sends you bad data or some other problem causes hashfail (in my case fucking ISP), even if it was the FIRST hashfail from that IP!

It should be 1ip/5hashfails. Right?

It could be that others already reported this bug, but i couldn't found it, so i thought it is easier just to report it.

I hope it was helpful a littlebit.

THX.

Link to comment
Share on other sites

  • 4 weeks later...

What would be nice with the hashfails would be another counter of hash good.

With that you could work out if it is a peer just sending bad data to corrupt the torrent or just the occasional coruption along the line.

I would prefer to ban peers that have contributed to 5 pieces and had 5 hashfails rather that a peer that has had 10 hashfails but has contributed to 2000 pieces.

A combination of 5 hashfails and > some percentage of failed / good pieces coul be used to ban the peer.

Link to comment
Share on other sites

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...