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

Change default port number #6192

Closed
Wuzzy2 opened this issue Jul 30, 2017 · 9 comments
Closed

Change default port number #6192

Wuzzy2 opened this issue Jul 30, 2017 · 9 comments
Labels
Low priority Possible close Request / Suggestion The issue makes a suggestion for something that should be done but isn't a new feature.

Comments

@Wuzzy2
Copy link
Contributor

Wuzzy2 commented Jul 30, 2017

Minetest uses port 30000 as the default.

Problem 1: Port 30000 is not IANA registered for Minetest:

ndmps              30000       tcp    Secure Network Data          [Alioune_Thiam]                                       [Alioune_Thiam]                                           2013-02-05
                                      Management Protocol
                   30000       udp    Reserved

https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt

Problem 2: Port 30000 is also used as default by Freeminer and Voxelands.

I suggest to change this. We have 2 options:

  • Option 1: Change the default port to some port in the private area (49152 through 65535). Can be done instantly.
  • Option 2: After option 1 has been done. Formally register a port number at the IANA, and use that as a default after it has been approved. I'm not sure if “the Minetest protocol” is eligible for this, but why not trying? https://www.iana.org/form/ports-services

Option 2 should be only done after careful consideration for obvious reasons.

@ghost
Copy link

ghost commented Jul 31, 2017

Are you suggesting a long-held default setting be changed because of two projects forked from this one also use that same default settings?

Or is it the possibility, albiet nil, of minetest getting an assigned port number? Because it seems to me you just want to rename everything!

@ghost
Copy link

ghost commented Jul 31, 2017

Minetest is eligible. It can't use a port in the dynamic range (except in singleplayer) because the port has to be consistent between server restarts. Otherwise clients can't know what port to connect to, except for servers on the server list.

There is no need for option 1 unless Minetest 0.5.0 has to be released before the application is accepted. The two media type requests I sent for the OpenBlox project in 2015 only took two months to be accepted.

@sfan5
Copy link
Member

sfan5 commented Jul 31, 2017

Port 30000 is not IANA registered for Minetest:

Port 25565 is not registered for Minecraft.
How many people do you see giving a shit about that?

Port 30000 is also used as default by Freeminer and Voxelands.

10/10 logic, those forks came into existence after MT
Why don't they change their port numbers?

Change the default port to some port in the private area (49152 through 65535). Can be done instantly.

I'm sure everyone will love to have all their favorited servers, port forwards and firewall exceptions broken.

Overall 👎 👎

@sfan5 sfan5 added Low priority Possible close Request / Suggestion The issue makes a suggestion for something that should be done but isn't a new feature. labels Jul 31, 2017
@Fixer-007
Copy link
Contributor

udp 30000 is reserved, so no problems here. Voxelands and freeminer not a problem.

@Wuzzy2
Copy link
Contributor Author

Wuzzy2 commented Jul 31, 2017

So Minetest won't have an IANA registered port, ever? I just thought it would be nice to have.
It's not really important to me, by the way.

Port 25565 is not registered for Minecraft.

“because Minecraft” is one of the worst reasons to reject or accept anything.

I'm sure everyone will love to have all their favorited servers, port forwards and firewall exceptions broken.

0.5.0 is a breaking release, so …? But yeah, it definitely would be painful. :-(

Port 30000 is also used as default by Freeminer and Voxelands.

10/10 logic, those forks came into existence after MT
Why don't they change their port numbers?

OK, this was a stupid argument. I'll admit. It seems Freeminer is almost dead anyways, and there is not much activity in Voxelands. I guess I'll talk to darkrose then.

Minetest is eligible. It can't use a port in the dynamic range (except in singleplayer) because the port has to be consistent between server restarts. Otherwise clients can't know what port to connect to,
except for servers on the server list.

“Dynamic range” doesn't mean that the number changes every restart. I just suggested to pick any number in this range as the default, not to change the port number after every restart. This would be insane.

By the way: Is there any chance that Minetest somehow can claim port 30000 as its own IANA registered port? This would be awesome.
I don't know why UDP port 30000 is reserved.

@paramat
Copy link
Contributor

paramat commented Jul 31, 2017

👎 For same reasons.

@nerzhul
Copy link
Member

nerzhul commented Jul 31, 2017

👎 too we don't care

@paramat
Copy link
Contributor

paramat commented Jul 31, 2017

SmallJoker / Krock agrees to close http://irc.minetest.net/minetest-dev/2017-07-31#i_5029052

@paramat paramat closed this as completed Jul 31, 2017
@Wuzzy2
Copy link
Contributor Author

Wuzzy2 commented Aug 1, 2017

Haha, okay. It was worth a try, however. 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Low priority Possible close Request / Suggestion The issue makes a suggestion for something that should be done but isn't a new feature.
Projects
None yet
Development

No branches or pull requests

5 participants