[SERVER-7808] mongos allows you to specify an invalid port number Created: 30/Nov/12 Updated: 11/Jul/16 Resolved: 27/Aug/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | 2.2.1 |
| Fix Version/s: | 2.5.3 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Chad Tindel | Assignee: | Kyle Erf |
| Resolution: | Done | Votes: | 1 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| 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. |
| Comments |
| Comment by auto [ 27/Aug/13 ] |
|
Author: {u'username': u'3rf', u'name': u'Kyle Erf', u'email': u'kyle.erf@10gen.com'}Message: Signed-off-by: Matt Kangas <matt.kangas@10gen.com> |