aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Banned for using AppleJuice when I'm not  (Read 6168 times)

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Banned for using AppleJuice when I'm not
« on: August 21, 2009, 06:40:01 PM »

I've got a huge problem with aMule 2.2.4 under Ubuntu. In short, some people can't download from me, which is a big issue because I'm a releaser. I had no idea what's going on until today, when someone told me that his or her ScarAngel eMule mode (which uses Dynamic Leecher Protection) has banned me because I'm using AppleJuice, or were using AJ in the past. This is totally puzzling to me, because I've never used it. In fact, I've never used another ed2k client on my system besides aMule straight from Ubuntu repositories. To my best knowledge, I've also never used AJ on my current IP, so I can't possibly be blocked based on that.

Does anyone have any idea what's going on and how I can fix it? I haven't upgraded to the newest aMule version because I prefer to use the one in Ubuntu repositories, but I can do that if it might possibly help...
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Banned for using AppleJuice when I'm not
« Reply #1 on: August 21, 2009, 06:52:04 PM »

Yell at the programmers of the ScarAngel mod?
Logged

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: Banned for using AppleJuice when I'm not
« Reply #2 on: August 21, 2009, 07:10:50 PM »

Yell at the programmers of the ScarAngel mod?
I'd have to yell at the programmers of most mods, since most of them use DLP. Wouldn't it be wiser to yell at the programmers of aMule? ;)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Banned for using AppleJuice when I'm not
« Reply #3 on: August 21, 2009, 07:26:38 PM »

Why would DLP block a source ?!?
I think your theory is all wrong, and it's rather related to something else. Some providers block default port 4662. Are you using that one ? Do you (and they) have protocol obfuscation enabled? Do you have "accept only obfuscated connections" activated? And so on...
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

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: Banned for using AppleJuice when I'm not
« Reply #4 on: August 21, 2009, 07:39:04 PM »

I think your theory is all wrong, and it's rather related to something else.
It might be, but here's the exact message that the other user receives:
Quote
19/08/2009 20:25:31: [*AJ*](ban)- Client 195.206.112.113 'twoja mama [PL]' (aMule v2.2.4,Connecting/None/None)
("twoja mama [PL]" is my nick, of course).

As you can see, ScarAngel seems to ban me for using AJ. Now, I'm not saying that it simply bans aMule - if that was the case, far more users would've reported this problem (because many people have DLP turned on). I suspect that there's something in my config (I'm not using the default port by the way) that makes it look like I'm using AJ ???
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Banned for using AppleJuice when I'm not
« Reply #5 on: August 21, 2009, 07:56:04 PM »

Have a look at the dlp code and see what criteria there are to qualify as [*AJ*]. That's the easiest way to find out what might have happened.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Banned for using AppleJuice when I'm not
« Reply #6 on: August 21, 2009, 08:51:03 PM »

Yell at the programmers of the ScarAngel mod?
I'd have to yell at the programmers of most mods, since most of them use DLP. Wouldn't it be wiser to yell at the programmers of aMule? ;)

We're doing nothing wrong, so sincerely, no. This is like saying it's wise to yell at Honda because your government decided that your car is a bicycle and bicycles are not allowed on the road. False positives are an inherent quality of poorly coded systems like DLP.
Logged

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: Banned for using AppleJuice when I'm not
« Reply #7 on: August 21, 2009, 09:31:06 PM »

Yell at the programmers of the ScarAngel mod?
I'd have to yell at the programmers of most mods, since most of them use DLP. Wouldn't it be wiser to yell at the programmers of aMule? ;)

We're doing nothing wrong, so sincerely, no. This is like saying it's wise to yell at Honda because your government decided that your car is a bicycle and bicycles are not allowed on the road. False positives are an inherent quality of poorly coded systems like DLP.
But in your example, even if the government is at fault, Honda should still work very hard to get it to change its classification, because otherwise they're going to lose all their customers. I don't mean to sound arrogant, because I sympathize with you, but as a user, I'm not really interested in who's at fault here - it's a matter between the developers of aMule and the developers of DLP. The basic fact is that your product does not work the way I want it to work, and if I can't fix that easily, I'm going to look for a different product that does the job.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Banned for using AppleJuice when I'm not
« Reply #8 on: August 21, 2009, 09:53:59 PM »

Aren't you forgetting something in your comparison? Like that you haven't paid us a dime for our "product", huh?

But I agree with you that if our client is banned my some mods, this must be looked at and fixed. Unless that mod bans everybody, there must be something we do different from eMule. (Or maybe it bans every client starting with "a" because it thinks it's applejuice.)
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

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Banned for using AppleJuice when I'm not
« Reply #9 on: August 21, 2009, 10:20:54 PM »

The basic fact is that your product does not work the way I want it to work, and if I can't fix that easily, I'm going to look for a different product that does the job.

The product works perfectly fine for what you want to do. It's the OTHER product that doesn't work.

Stu is right in that we should find out what it IS that is the difference, but more out of curiosity than anything else.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Banned for using AppleJuice when I'm not
« Reply #10 on: August 21, 2009, 10:25:07 PM »

Haha, bIsApplejuice = (userhash[8] == AJByte);.
Looks like the AppleJuice detection code triggers on all other clients too with a probability of 1/256.  :P

Try changing your userhash. (You will lose your credits though.)

Maybe we should import that Appljuice-detection and generate only userhashes that don't trigger it? And warn users with existing hashes?

Code: [Select]
if(thePrefs.GeTAntiLeecheruserhash() && HasValidHash())
{
PBYTE uhash=(PBYTE)GetUserHash();
LPCTSTR reason=theApp.dlp->DLPCheckUserhash(uhash);
if(reason)
{
BanLeecher(_T("*AJ*"),18);
return;
}
}

LPCTSTR __declspec(dllexport) DLPCheckUserhash(const PBYTE userhash)
{
int buflen;
BOOL bIsApplejuice = FALSE;
BYTE AJByte;
BYTE md5_hashval[16];
BYTE buffer[AJ_MD5_BUFFER_SIZE + 2]; // Need 2 extra bytes because _tprintf()
_TCHAR FormatString[] = L"@ppl" // adds a terminating UNICODE NULL char
L"%.2X%.2X%.2X%.2X%.2X%.2X%.2X%.2X"
L" uf€ablE "
L"%.2X%.2X%.2X%.2X%.2X%.2X%.2X"
L" 89";


buflen = _stprintf( (TCHAR *) buffer,
FormatString,
userhash[0], userhash[1], userhash[2], userhash[3],
userhash[4], userhash[5], userhash[6], userhash[7],
userhash[9], userhash[10], userhash[11], userhash[12],
userhash[13], userhash[14], userhash[15]
);


// Hash the data in the buffer using the MD5 algorithm

if (MD5_FUNCTION(buffer, buflen * sizeof(TCHAR), md5_hashval)) {


AJByte = ((md5_hashval[4] & 0x0F) << 4) | (md5_hashval[12] & 0x0F);


bIsApplejuice = (userhash[8] == AJByte);
}

//return bIsApplejuice;
if(bIsApplejuice)
return _T("*AJ*");
else
return NULL;
}

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

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Banned for using AppleJuice when I'm not
« Reply #11 on: August 21, 2009, 10:25:42 PM »

That is fucking retarded in so many ways.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Banned for using AppleJuice when I'm not
« Reply #12 on: August 21, 2009, 10:25:58 PM »

Meaning no.
Logged

Olhado

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 26
Re: Banned for using AppleJuice when I'm not
« Reply #13 on: August 21, 2009, 10:36:54 PM »

Aren't you forgetting something in your comparison? Like that you haven't paid us a dime for our "product", huh?
I know that I haven't. I'm not demanding anything for you, I'm just alerting you to a problem that I have with your creation (if it's not a product ;)).

But anyway - if what you write is true, and if I understand it correctly, then DLP is indeed seriously retarded, and aMule is not a factor in the equation at all, it's my hash. In fact, the situation is so absurd that I might try to contact the people responsible for DLP, or at least the people responsible for the ScarAngel mod, and try to learn their side of the story. Because if DLP really bans 1/256th of all clients, then someone has to do something about it :o
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Banned for using AppleJuice when I'm not
« Reply #14 on: August 21, 2009, 10:50:49 PM »

I've posted about it in the ScarAngel thread. Let's see what Stulle says about the issue.
And I'd call it "flawed". Calling buggy software "retarded" is not an attitude to be used towards a fellow developer of a similar project.  ::)
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
Pages: [1] 2