Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional types Stdlib::Port::Dynamic,Ephemeral,Registered,User} #1128

Merged
merged 1 commit into from
Sep 28, 2020

Commits on Sep 23, 2020

  1. Add additional types Stdlib::Port::Dynamic,Ephemeral,Registered,User}

    The IANA port registery and rfc6335 specify the following port ranges
    
       o  the System Ports, also known as the Well Known Ports, from 0-1023
          (assigned by IANA)
    
       o  the User Ports, also known as the Registered Ports, from 1024-
          49151 (assigned by IANA)
    
       o  the Dynamic Ports, also known as the Private or Ephemeral Ports,
          from 49152-65535 (never assigned)
    
    This PR adds the following types to capture this with the following typs
      Stdlib::Port::User
      Stdlib::Port::Registered (alias to Stdlib::Port::User)
      Stdlib::Port::Dynamic
      Stdlib::Port::Ephemeral (alias to Stdlib::Port::Dynamic)
    
      We can drop the aliases and just pick which ever name we prefer. My
      gut feeling is that most uses of the current Stdlib::Port::Unprivileged
      type would be better served by this newer Stdlib::Port::User type.
    
    https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
    b4ldr committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    e938abd View commit details
    Browse the repository at this point in the history