Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7808

mongos allows you to specify an invalid port number

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.5.3
    • Component/s: Networking
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      Mongos allows you to specify a port number above the maximum. For example, I accidentally started it on port 67017 and it started up without complaining. Of course, then you can't connect to it.

      The code should detect port numbers above 65535 and fail with an appropriate error message, ideally.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kyle.erf Kyle Erf
              Reporter:
              ctindel Chad Tindel
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: