aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: "Killing" users on our upload transfer.  (Read 3816 times)

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
"Killing" users on our upload transfer.
« on: October 04, 2011, 09:22:53 PM »

Hello aMule guys!  :)

I think I have discovered a little bug in order to manual "ban" people
that are connected to us that have the view of shared files list open.

If you find a guy that had the files view open and you are sending him/her
some files, add it for a friend, and after that try to view him/her list
repeatedly. That person stop asking you files and after a few minutes
disappeared from your uploading queue.

That's is because you can send a lot of requesting messages at he same time
without waiting for the answer (I think), so him/her consider you a dangerous
guy, and leave.  ::)

I think it can be fixed waiting for a answer from the peer, or waiting a prudential time,
that will close the option to make a "manual ban".

aMule SVN compiled with wxGTK2 v2.8.12 (Debugging) (Snapshot: rev. 10620)
Linux maria2 2.6.38-11-server #50-Ubuntu SMP Mon Sep 12 21:34:27 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: "Killing" users on our upload transfer.
« Reply #1 on: October 04, 2011, 10:10:34 PM »

He's banning you, you're not banning him - which is slightly different to a manual ban.

It's true that there should probably be a request limit for shared file requests, and while I believe in the Darwinian approach, maybe someone thinks differently in the Team.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: "Killing" users on our upload transfer.
« Reply #2 on: October 04, 2011, 10:26:05 PM »

That's is because you can send a lot of requesting messages at he same time
without waiting for the answer (I think), so him/her consider you a dangerous
guy, and leave.  ::)
No. You can't send a file list request before the last request is fulfilled.

I've been digging a bit through the "share shared files" code and noticed that the protocol is (for modern clients like this:
A: request dir list
B: send dir list
A: foreach(dir) request files of dir
B: send files-of-dir lists one after another

I think there is some counter banning clients who send too many requests.
It may very well be that for large dir lists the algorithm triggers the banning code. Or, if not, asking repeatedly might.
How many dirs does that client share? You can see them in the log even before the file lists are requested.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

x_x_kamikaze_x_x

  • Jr. Member
  • **
  • Karma: 18
  • Offline Offline
  • Posts: 83
Re: "Killing" users on our upload transfer.
« Reply #3 on: October 05, 2011, 08:24:07 PM »

That's is because you can send a lot of requesting messages at he same time
without waiting for the answer (I think), so him/her consider you a dangerous
guy, and leave.  ::)
No. You can't send a file list request before the last request is fulfilled.

I've been digging a bit through the "share shared files" code and noticed that the protocol is (for modern clients like this:
A: request dir list
B: send dir list
A: foreach(dir) request files of dir
B: send files-of-dir lists one after another

I think there is some counter banning clients who send too many requests.
It may very well be that for large dir lists the algorithm triggers the banning code. Or, if not, asking repeatedly might.
How many dirs does that client share? You can see them in the log even before the file lists are requested.

Not too many, just 4 directories and him didn't have a lot of shared files, around 200.
And please, include the directory column when you ask for a file list request!  ;D
Logged