-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Append default port (51235) in [ips] and [ips_fixed] when no port is specified #3235
Conversation
Shouldn't this be the IANA registered port and no longer 51235? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if I want to enshrine 51235 as the default any more than it already is, as I believe that we should try to migrate to 2459 (check out the IANA registration!).
I guess for the fixed IPs that's true, since people had to manually specify the default, but I don't know of any servers that listen on 2459 atm, except for mine... so defaulting to it also seems wrong We need to think of a transition plan. An option might be a config setting that opens 2459 and 51235 to support both new style and legacy connections. |
Could work but seems redundant, listening on two ports for the same protocol / use case. Related to the discussion of #2931, perhaps a good solution would be to try both ports on the client side and select the first one that works? As you mentioned there it's not ideal but would provide an interim solution until the majority of the network switched over to the new port at which point we could simplify / just use new standardized port. |
Codecov Report
@@ Coverage Diff @@
## develop #3235 +/- ##
===========================================
- Coverage 70.22% 70.22% -0.01%
===========================================
Files 683 683
Lines 54621 54625 +4
===========================================
Hits 38360 38360
- Misses 16261 16265 +4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left one comment regarding const correctness. If there's a good rationale for rejecting that comment, I'm ok.
Ping @gregtatcam |
20981db
to
05c8c2a
Compare
Yes, the main motivation for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
62364d4
to
a203307
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nbougalis @gregtatcam I had an idea for more simply handling migration to the IANA port. Is there any real harm to sending requests to two ports? If not, ximinez@53d98f4 adds both ports to the request list if the port is undefined in the config....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, pending local testing.
80813bb
to
9c1328b
Compare
7ed9e73
to
6d9f656
Compare
FIXES: #2861