aMule Bug Tracker - aMule
View Issue Details
0000736aMuleTransferpublic2005-12-16 12:292005-12-17 11:09
omni-vi 
Kry 
normaltrivialalways
closedopen 
2.0.3 
 
0000736: ID isn't computed correctly -
 - or at least it could be improved.

Hi
this is an odd problem but I think it's worth mentioning.

My Ip is 82.83.41.0
It seems strange that I've hot a 0 as last number but thats the way it is. Sure enough amule gives me a lowID, since it calculates 0 * 2^24=0. So the highest ID I can get is 16777215, which is 2 below the smallest HighID(16777217).
But all the ports are reachable, so really I should get a highID.
So I propose, amule should check whether any part of the ip-adress is zero, an then treat it as one(1).
Thanks for reading
Sebastian
No tags attached.
Issue History
2005-12-16 12:29omni-viNew Issue
2005-12-16 16:16fulgasNote Added: 0001689
2005-12-16 16:16fulgasNote Edited: 0001689
2005-12-16 18:04omni-viNote Added: 0001690
2005-12-16 22:27XaignarNote Added: 0001691
2005-12-17 11:08KryStatusnew => assigned
2005-12-17 11:08KryAssigned To => Kry
2005-12-17 11:09KryStatusassigned => closed
2005-12-17 11:09KryNote Added: 0001692

Notes
(0001689)
fulgas   
2005-12-16 16:16   
The server could always be busy or have a limit to high id so it's given you an lowid

edited on: 12-16-05 16:16
(0001690)
omni-vi   
2005-12-16 18:04   
I tried about 15 or 20 different servers over several hours. All gave me a lowID. I tried to the "port-is-reachable"-tool and it said everything was fine.
Then I reset my internet connection, got a different ip (without a 0), and got a highID.
(0001691)
Xaignar   
2005-12-16 22:27   
IIRC, this is a design issue with the ed2k network. Besides, it's not aMule that decides your ID, that's up to the server.
(0001692)
Kry   
2005-12-17 11:09   
Read some docs on ed2k protocol. 0-ended ips get ALWAYS a lowid, and you can blame edonkey for doing it that way in the first place.

Kad network fixes that issue, and you would have a proper id there. But it can't be fixed on ed2k.

If you send your id ended in .1, you will never get any packet - it's not your ip