Re: ip_local_port_range

From: Albert D. Cahalan (acahalan@cs.uml.edu)
Date: Sat Apr 01 2000 - 02:57:28 EST

  • Next message: David S. Miller: "Re: ip_local_port_range"

    David S. Miller writes:
    >> From: "Albert D. Cahalan" <acahalan@cs.uml.edu>

    >> Why would we use fewer ports, especially when it leads to
    >> reduced performance? We aren't even in the legal range.
    >
    > Because it is a system resource and a protocol correctness
    > issue, TIME_WAIT state has a specific purpose and machines
    > with lower amounts of ram should not be using such a large
    > portion of the available port space.

    That addresses the size issue, but what about the range?
    According to the IANA (http://www.iana.org/numbers.html)
    port assignments are as follows:

      The Well Known Ports are those from 0 through 1023.
      The Registered Ports are those from 1024 through 49151.
      The Dynamic and/or Private Ports are those from 49152 through 65535.

    So a range of 51024 to 54999 would be OK to use.
    There are hundreds or thousands of services registered
    in the current Linux range.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Apr 01 2000 - 02:59:22 EST