Foro sobre Java SE > Java update 51
http://www.oracle.com/technetwork/java/javase/7u51-relnotes-2085002.html
"Change in Default Socket Permissions
The default socket permissions assigned to all code including untrusted code have been changed in this release. Previously, all code was able to bind any socket type to any port number greater than or equal to 1024. It is still possible to bind sockets to the ephemeral port range on each system. The exact range of ephemeral ports varies from one operating system to another, but it is typically in the high range (such as from 49152 to 65535). The new restriction is that binding sockets outside of the ephemeral range now requires an explicit permission in the system security policy.
Most applications using client tcp sockets and a security manager will not see any problem, as these typically bind to ephemeral ports anyway. Applications using datagram sockets or server tcp sockets (and a security manager) may encounter security exceptions where none were seen before. If this occurs, users should review whether the port number being requested is expected, and if this is the case, a socket permission grant can be added to the local security policy, to resolve the issue."
Guenas.
Uffff.
Me pregunto que tendrán de diferente los puertos mas bajos de los altos.
Bueno, entiendo que al menos quedaran los puertos mas bajos de 40000 para uso legal.
Gracias, un saludo
Guenas.
¿Alguien sabe si el supuesto bug de este update que no permite usar ciertos puertos sin tocar la policy es realmente un bug que solucionaran o una decisión voluntaria?
Lo digo porque no he instalado este update por este tema y si lo mantienen y no hay una solución que no pase por tocar los mismísimos a los usuarios, tendre que cambiar de lenguaje. Me jode porque amo Java, pero creo que si es voluntario se han pasado tres pueblos.
Un saludo