Comment 6 for bug 264950

Revision history for this message
boing (malbach) wrote :

> What happens if the user had a port >49151 and upgrades to this version of Azureus? Does it fail miserably or pick some valid port and move on?
It fails, but not miserably :)
It shows a warning message and select another port (randomly ?)

> I spoke with the patch author -- after testing, it's verified that when you upgrade Azureus with a reserved port, it automatically picks another one.
It does very well.

But AFAIK 49152-65535 are not reserved ! It's even the inverse, in a way.
Abstract from RFC4340 - section 19.9:
"Port numbers are divided into three ranges. The Well Known Ports are
   those from 0 through 1023, the Registered Ports are those from 1024
   through 49151, and the Dynamic and/or Private Ports are those from
   49152 through 65535. Well Known and Registered Ports are intended
   for use by server applications that desire a default contact point on
   a system. On most systems, Well Known Ports can only be used by
   system (or root) processes or by programs executed by privileged
   users, while Registered Ports can be used by ordinary user processes
   or programs executed by ordinary users. Dynamic and/or Private Ports
   are intended for temporary use, including client-side ports, out-of-
   band negotiated ports, and application testing prior to registration
   of a dedicated port; they MUST NOT be registered."

It is well said : port 49152-65535 ARE FREE OF USE by the users, and even if the system choose the configured port for anything else, the logic you spoke about with the author should select another one.

> I think that the behavior described in this bug report is not a bug and doesn't need modification.
No, not a bug, but so annoying when using privates ports...

Even, still from the same section in the RFC:
"Well Known and Registered Ports SHOULD NOT be used without registration."

In some way BitTorrents are even illegals due to the port they use (6881 isn't registered) :)
And it may sound stupid, but it pretty annoys me to use a port that may be reserved for something else, and one day I plug something or install a soft in my comp and the port isn't free anymore...
And worse for me, I have ALL my net soft configured to use ports according to the router table (I chose ports 51xxx for box1, ports 52xxx for box2, and so on...)

But anyway, I won't change my router for a software, neither will I reconf all my net softwares... so I'm off with Azureus... weird, it was good :)